Lines Matching defs:boot
48 struct bootblock boot;
75 mod = readboot(dosfs, &boot);
83 if (boot.ValidFat < 0)
89 mod |= readfat(dosfs, &boot, boot.ValidFat >= 0 ? boot.ValidFat : 0, &fat);
95 if (boot.ValidFat < 0)
96 for (i = 1; i < boot.FATs; i++) {
99 mod |= readfat(dosfs, &boot, i, ¤tFat);
104 mod |= comparefat(&boot, fat, currentFat, i);
113 mod |= checkfat(&boot, fat);
121 mod |= resetDosDirSection(&boot, fat);
127 mod |= handleDirTree(dosfs, &boot, fat);
134 mod |= checklost(dosfs, &boot, fat);
141 mod |= writefat(dosfs, &boot, fat, mod & FSFIXFAT);
148 if (boot.NumBad)
150 boot.NumFiles,
151 boot.NumFree * boot.ClusterSize / 1024, boot.NumFree,
152 boot.NumBad * boot.ClusterSize / 1024, boot.NumBad);
155 boot.NumFiles,
156 boot.NumFree * boot.ClusterSize / 1024, boot.NumFree);
165 mod |= writefat(dosfs, &boot, fat, 1);