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