Home
last modified time | relevance | path

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

/third_party/FreeBSD/sbin/fsck_msdosfs/
H A Dboot.c93 boot->bpbFATs = block[16]; in readboot()
94 if (boot->bpbFATs == 0) { in readboot()
95 pfatal("Invalid number of FATs: %u", boot->bpbFATs); in readboot()
251 if (boot->FATsecs < 1 || boot->FATsecs > UINT32_MAX / boot->bpbFATs) { in readboot()
253 boot->bpbFATs, (size_t)boot->FATsecs); in readboot()
259 boot->bpbResSectors + boot->bpbFATs * boot->FATsecs; in readboot()
H A Ddosfs.h48 u_int bpbFATs; /* number of bpbFATs */ member
H A Ddir.c480 off = boot->bpbResSectors + boot->bpbFATs * in check_subdirectory()
588 off = boot->bpbResSectors + boot->bpbFATs * in readDosDirSection()
H A Dfat.c1219 for (i = 1; i < boot->bpbFATs; i++) { in writefat()
1226 for (i = fat->is_mmapped ? 1 : 0; i < boot->bpbFATs; i++) { in writefat()
/third_party/FreeBSD/sbin/newfs_msdos/
H A Dmkfs_msdos.c112 u_int8_t bpbFATs; /* number of FATs */ member
156 u_int bpbFATs; /* number of FATs */ member
409 bpb.bpbFATs = o.num_FAT; in mkfs_msdos()
447 if (!bpb.bpbFATs) in mkfs_msdos()
448 bpb.bpbFATs = 2; in mkfs_msdos()
454 bpb.bpbFATs + in mkfs_msdos()
464 bpb.bpbFATs + in mkfs_msdos()
511 * bpbFATs reserved blocks. If bpbSecPerClust changes, it will in mkfs_msdos()
533 bpb.bpbBytesPerSec * NPB) * bpb.bpbFATs + in mkfs_msdos()
547 if (x1 + (u_int64_t)x * bpb.bpbFATs > bp in mkfs_msdos()
[all...]

Completed in 5 milliseconds