HomeSort by: relevance | last modified time | path
    Searched refs:FATsecs (Results 1 - 4 of 4) sorted by relevancy

  /src/sbin/fsck_msdos/
boot.c 104 boot->FATsecs = boot->FATsmall;
116 boot->FATsecs = block[36] + (block[37] << 8)
218 if (boot->FATsecs == 0) {
219 pfatal("Invalid number of FAT sectors: %u\n", boot->FATsecs);
226 + boot->FATs * boot->FATsecs;
269 boot->NumFatEntries = (boot->FATsecs * boot->BytesPerSec) / 4;
272 boot->NumFatEntries = (boot->FATsecs * boot->BytesPerSec) / 2;
275 boot->NumFatEntries = (boot->FATsecs * boot->BytesPerSec * 2) / 3;
281 boot->NumClusters, boot->FATsecs);
dosfs.h 71 u_int32_t FATsecs; /* how many sectors are in FAT */
fat.c 88 *buffer = malloc(len = boot->FATsecs * boot->BytesPerSec);
94 off = boot->ResSectors + no * boot->FATsecs;
102 if ((size_t)read(fs, *buffer, boot->FATsecs * boot->BytesPerSec)
103 != boot->FATsecs * boot->BytesPerSec) {
486 buffer = malloc(fatsz = boot->FATsecs * boot->BytesPerSec);
571 off = boot->ResSectors + i * boot->FATsecs;
dir.c 491 off = boot->ResSectors + boot->FATs * boot->FATsecs;

Completed in 14 milliseconds