Lines Matching refs:mod
55 int mod = 0; in checkfilesys() local
98 mod |= readfat(dosfs, &boot, &fat); in checkfilesys()
99 if (mod & FSFATAL) { in checkfilesys()
107 mod |= resetDosDirSection(fat); in checkfilesys()
109 if (mod & FSFATAL) in checkfilesys()
113 mod |= handleDirTree(fat); in checkfilesys()
114 if (mod & FSFATAL) in checkfilesys()
120 mod |= checklost(fat); in checkfilesys()
121 if (mod & FSFATAL) in checkfilesys()
125 if (mod & FSFATMOD) { in checkfilesys()
127 mod |= writefat(fat); in checkfilesys()
128 if (mod & FSFATAL) in checkfilesys()
131 mod |= FSERROR; in checkfilesys()
163 if (mod && (mod & FSERROR) == 0) { in checkfilesys()
164 if (mod & FSDIRTY) { in checkfilesys()
166 mod &= ~FSDIRTY; in checkfilesys()
168 if (mod & FSDIRTY) { in checkfilesys()
170 mod |= cleardirty(fat); in checkfilesys()
173 mod |= FSERROR; /* file system not clean */ in checkfilesys()
178 if (mod & (FSFATAL | FSERROR)) in checkfilesys()
189 if (mod & (FSFATMOD|FSDIRMOD)) in checkfilesys()