Home
last modified time | relevance | path

Searched refs:bpbSecPerClust (Results 1 – 7 of 7) sorted by relevance

/freebsd-12.1/sbin/newfs_msdos/
H A Dmkfs_msdos.c323 bpb.bpbSecPerClust = 1; in mkfs_msdos()
325 bpb.bpbSecPerClust = 8; in mkfs_msdos()
327 bpb.bpbSecPerClust = 16; in mkfs_msdos()
329 bpb.bpbSecPerClust = 32; in mkfs_msdos()
446 (bpb.bpbSecPerClust ? 16 : 12) / BPN, in mkfs_msdos()
452 (bpb.bpbSecPerClust ? bpb.bpbSecPerClust : in mkfs_msdos()
461 (bpb.bpbSecPerClust ? bpb.bpbSecPerClust : in mkfs_msdos()
496 set_spc = (bpb.bpbSecPerClust == 0); in mkfs_msdos()
531 bpb.bpbSecPerClust <<= 1) in mkfs_msdos()
559 bpb.bpbSecPerClust; in mkfs_msdos()
[all …]
/freebsd-12.1/sys/fs/msdosfs/
H A Dbpb.h28 uint8_t bpbSecPerClust; /* sectors per cluster */ member
46 uint8_t bpbSecPerClust; /* sectors per cluster */ member
64 uint8_t bpbSecPerClust; /* sectors per cluster */ member
106 int8_t bpbSecPerClust; /* sectors per cluster */ member
124 int8_t bpbSecPerClust; /* sectors per cluster */ member
142 uint8_t bpbSecPerClust; /* sectors per cluster */ member
H A Dmsdosfs_vfsops.c469 SecPerClust = b50->bpbSecPerClust; in mountmsdosfs()
/freebsd-12.1/sbin/fsck_msdosfs/
H A Dboot.c69 boot->bpbSecPerClust = block[13]; in readboot()
121 if ((boot->bpbFSInfo == 0) || (boot->bpbSecPerClust == 0)) { in readboot()
206 if (boot->bpbSecPerClust == 0) { in readboot()
207 pfatal("Invalid cluster size: %u", boot->bpbSecPerClust); in readboot()
218 CLUST_FIRST * boot->bpbSecPerClust; in readboot()
220 boot->bpbSecPerClust; in readboot()
251 boot->ClusterSize = boot->bpbBytesPerSec * boot->bpbSecPerClust; in readboot()
H A Ddir.c230 b2 = boot->bpbSecPerClust * boot->bpbBytesPerSec; in resetDosDirSection()
309 int clsz = boot->bpbSecPerClust * boot->bpbBytesPerSec; in delete()
319 off = startcl * boot->bpbSecPerClust + boot->ClusterOffset; in delete()
470 last = boot->bpbSecPerClust * boot->bpbBytesPerSec; in readDosDirSection()
471 off = cl * boot->bpbSecPerClust + boot->ClusterOffset; in readDosDirSection()
H A Ddosfs.h47 u_int bpbSecPerClust; /* sectors per cluster */ member
/freebsd-12.1/usr.sbin/makefs/msdos/
H A Dmsdosfs_vfsops.c117 SecPerClust = b50->bpbSecPerClust; in msdosfs_mount()