Lines Matching refs:mod
65 int mod = 0; in checkfilesys() local
115 mod |= readfat(dosfs, &boot, boot.ValidFat >= 0 ? boot.ValidFat : 0, &fat); in checkfilesys()
116 if (mod & FSFATAL) { in checkfilesys()
126 mod |= readfat(dosfs, &boot, i, ¤tFat); in checkfilesys()
128 if (mod & FSFATAL) { in checkfilesys()
133 mod |= comparefat(&boot, fat, currentFat, i); in checkfilesys()
135 if (mod & FSFATAL) { in checkfilesys()
144 mod |= checkfat(&boot, fat); in checkfilesys()
145 if (mod & FSFATAL) { in checkfilesys()
154 mod |= resetDosDirSection(&boot, fat); in checkfilesys()
156 if (mod & FSFATAL) { in checkfilesys()
162 mod |= handleDirTree(dosfs, &boot, fat); in checkfilesys()
163 if (mod & FSFATAL) in checkfilesys()
169 mod |= checklost(dosfs, &boot, fat); in checkfilesys()
170 if (mod & FSFATAL) in checkfilesys()
174 if (mod & FSFATMOD) { in checkfilesys()
176 mod |= writefat(dosfs, &boot, fat, mod & FSFIXFAT); in checkfilesys()
177 if (mod & FSFATAL) { in checkfilesys()
182 mod |= FSERROR; in checkfilesys()
195 if (mod && (mod & FSERROR) == 0) { in checkfilesys()
196 if (mod & FSDIRTY) { in checkfilesys()
198 mod &= ~FSDIRTY; in checkfilesys()
200 if (mod & FSDIRTY) { in checkfilesys()
202 mod |= writefat(dosfs, &boot, fat, 1); in checkfilesys()
205 mod |= FSERROR; /* file system not clean */ in checkfilesys()
210 if (mod & (FSFATAL | FSERROR)) in checkfilesys()
221 if (mod & (FSFATMOD|FSDIRMOD)) { in checkfilesys()