Lines Matching refs:mod
53 int mod = 0; in checkfilesys() local
96 mod |= readfat(dosfs, &boot, &fat); in checkfilesys()
97 if (mod & FSFATAL) { in checkfilesys()
105 mod |= resetDosDirSection(fat); in checkfilesys()
107 if (mod & FSFATAL) in checkfilesys()
111 mod |= handleDirTree(fat); in checkfilesys()
112 if (mod & FSFATAL) in checkfilesys()
118 mod |= checklost(fat); in checkfilesys()
119 if (mod & FSFATAL) in checkfilesys()
123 if (mod & FSFATMOD) { in checkfilesys()
125 mod |= writefat(fat); in checkfilesys()
126 if (mod & FSFATAL) in checkfilesys()
129 mod |= FSERROR; in checkfilesys()
161 if (mod && (mod & FSERROR) == 0) { in checkfilesys()
162 if (mod & FSDIRTY) { in checkfilesys()
164 mod &= ~FSDIRTY; in checkfilesys()
166 if (mod & FSDIRTY) { in checkfilesys()
168 mod |= cleardirty(fat); in checkfilesys()
171 mod |= FSERROR; /* file system not clean */ in checkfilesys()
176 if (mod & (FSFATAL | FSERROR)) in checkfilesys()
187 if (mod & (FSFATMOD|FSDIRMOD)) in checkfilesys()