Lines Matching defs:boot
62 struct bootblock boot;
90 if (readboot(dosfs, &boot) == FSFATAL) {
96 if (skipclean && preen && checkdirty(dosfs, &boot)) {
103 if (((boot.FATsecs * boot.BytesPerSec) / 1024) > FAT_COMPARE_MAX_KB)
109 else if (boot.ValidFat < 0)
115 mod |= readfat(dosfs, &boot, boot.ValidFat >= 0 ? boot.ValidFat : 0, &fat);
122 if (!skip_fat_compare && boot.ValidFat < 0)
123 for (i = 1; i < (int)boot.FATs; i++) {
126 mod |= readfat(dosfs, &boot, i, ¤tFat);
133 mod |= comparefat(&boot, fat, currentFat, i);
144 mod |= checkfat(&boot, fat);
154 mod |= resetDosDirSection(&boot, fat);
162 mod |= handleDirTree(dosfs, &boot, fat);
169 mod |= checklost(dosfs, &boot, fat);
176 mod |= writefat(dosfs, &boot, fat, mod & FSFIXFAT);
185 if (boot.NumBad)
187 boot.NumFiles,
188 boot.NumFree * boot.ClusterSize / 1024, boot.NumFree,
189 boot.NumBad * boot.ClusterSize / 1024, boot.NumBad);
192 boot.NumFiles,
193 boot.NumFree * boot.ClusterSize / 1024, boot.NumFree);
202 mod |= writefat(dosfs, &boot, fat, 1);