Home
last modified time | relevance | path

Searched refs:bpbFATs (Results 1 – 5 of 5) sorted by relevance

/third_party/FreeBSD/sbin/fsck_msdosfs/
Dboot.c95 boot->bpbFATs = block[16]; in readboot()
96 if (boot->bpbFATs == 0) { in readboot()
97 pfatal("Invalid number of FATs: %u", boot->bpbFATs); in readboot()
253 if (boot->FATsecs < 1 || boot->FATsecs > UINT32_MAX / boot->bpbFATs) { in readboot()
255 boot->bpbFATs, (size_t)boot->FATsecs); in readboot()
261 boot->bpbResSectors + boot->bpbFATs * boot->FATsecs; in readboot()
Ddosfs.h49 u_int bpbFATs; /* number of bpbFATs */ member
Dfat.c1221 for (i = 1; i < boot->bpbFATs; i++) { in writefat()
1228 for (i = fat->is_mmapped ? 1 : 0; i < boot->bpbFATs; i++) { in writefat()
Ddir.c482 off = boot->bpbResSectors + boot->bpbFATs * in check_subdirectory()
590 off = boot->bpbResSectors + boot->bpbFATs * in readDosDirSection()
/third_party/FreeBSD/sbin/newfs_msdos/
Dmkfs_msdos.c117 u_int8_t bpbFATs; /* number of FATs */ member
161 u_int bpbFATs; /* number of FATs */ member
414 bpb.bpbFATs = o.num_FAT; in mkfs_msdos()
452 if (!bpb.bpbFATs) in mkfs_msdos()
453 bpb.bpbFATs = 2; in mkfs_msdos()
459 bpb.bpbFATs + in mkfs_msdos()
469 bpb.bpbFATs + in mkfs_msdos()
538 bpb.bpbBytesPerSec * NPB) * bpb.bpbFATs + in mkfs_msdos()
552 if (x1 + (u_int64_t)x * bpb.bpbFATs > bpb.bpbHugeSectors) { in mkfs_msdos()
556 x1 += x * bpb.bpbFATs; in mkfs_msdos()
[all …]