Home
last modified time | relevance | path

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

/freebsd-13.1/sbin/newfs_msdos/
H A Dmkfs_msdos.c341 bpb.bpbSecPerClust = 1; in mkfs_msdos()
343 bpb.bpbSecPerClust = 8; in mkfs_msdos()
345 bpb.bpbSecPerClust = 16; in mkfs_msdos()
347 bpb.bpbSecPerClust = 32; in mkfs_msdos()
459 (bpb.bpbSecPerClust ? 16 : 12) / BPN, in mkfs_msdos()
465 (bpb.bpbSecPerClust ? bpb.bpbSecPerClust : in mkfs_msdos()
474 (bpb.bpbSecPerClust ? bpb.bpbSecPerClust : in mkfs_msdos()
509 set_spc = (bpb.bpbSecPerClust == 0); in mkfs_msdos()
544 bpb.bpbSecPerClust <<= 1) in mkfs_msdos()
572 bpb.bpbSecPerClust; in mkfs_msdos()
[all …]
/freebsd-13.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.c508 SecPerClust = b50->bpbSecPerClust; in mountmsdosfs()
/freebsd-13.1/sbin/fsck_msdosfs/
H A Dboot.c80 boot->bpbSecPerClust = block[13]; in readboot()
81 if (boot->bpbSecPerClust == 0 || !powerof2(boot->bpbSecPerClust)) { in readboot()
82 pfatal("Invalid cluster size: %u", boot->bpbSecPerClust); in readboot()
263 if (boot->FirstCluster + boot->bpbSecPerClust > boot->NumSectors) { in readboot()
274 (boot->NumSectors - boot->FirstCluster) / boot->bpbSecPerClust; in readboot()
330 boot->ClusterSize = boot->bpbBytesPerSec * boot->bpbSecPerClust; in readboot()
H A Ddir.c232 cluster_size = boot->bpbSecPerClust * boot->bpbBytesPerSec; in resetDosDirSection()
308 clsz = boot->bpbSecPerClust * boot->bpbBytesPerSec; in delete()
318 off = (startcl - CLUST_FIRST) * boot->bpbSecPerClust + boot->FirstCluster; in delete()
485 off = (cl - CLUST_FIRST) * boot->bpbSecPerClust + boot->FirstCluster; in check_subdirectory()
579 iosize = boot->bpbSecPerClust * boot->bpbBytesPerSec; in readDosDirSection()
597 off = (cl - CLUST_FIRST) * boot->bpbSecPerClust + boot->FirstCluster; in readDosDirSection()
H A Ddosfs.h47 u_int bpbSecPerClust; /* sectors per cluster */ member
/freebsd-13.1/usr.sbin/makefs/msdos/
H A Dmsdosfs_vfsops.c118 SecPerClust = b50->bpbSecPerClust; in msdosfs_mount()