Home
last modified time | relevance | path

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

/freebsd/sbin/newfs_msdos/
H A Dmkfs_msdos.c106 u_int8_t bpbSecPerClust; /* sectors per cluster */ member
150 u_int bpbSecPerClust; /* sectors per cluster */ member
336 if (bpb.bpbSecPerClust == 0) { /* set defaults */ in mkfs_msdos()
338 bpb.bpbSecPerClust = 1; in mkfs_msdos()
340 bpb.bpbSecPerClust = 8; in mkfs_msdos()
342 bpb.bpbSecPerClust = 16; in mkfs_msdos()
344 bpb.bpbSecPerClust = 32; in mkfs_msdos()
346 bpb.bpbSecPerClust = 64; /* otherwise 32k */ in mkfs_msdos()
395 bpb.bpbSecPerClust = o.block_size / bpb.bpbBytesPerSec; in mkfs_msdos()
403 bpb.bpbSecPerClust = o.sectors_per_cluster; in mkfs_msdos()
[all …]
/freebsd/sys/fs/msdosfs/
H A Dbpb.h27 uint8_t bpbSecPerClust; /* sectors per cluster */ member
45 uint8_t bpbSecPerClust; /* sectors per cluster */ member
63 uint8_t bpbSecPerClust; /* sectors per cluster */ member
105 int8_t bpbSecPerClust; /* sectors per cluster */ member
123 int8_t bpbSecPerClust; /* sectors per cluster */ member
141 uint8_t bpbSecPerClust; /* sectors per cluster */ member
H A Dmsdosfs_vfsops.c596 SecPerClust = b50->bpbSecPerClust; in mountmsdosfs()
/freebsd/sbin/fsck_msdosfs/
H A Dboot.c78 boot->bpbSecPerClust = block[13]; in readboot()
79 if (boot->bpbSecPerClust == 0 || !powerof2(boot->bpbSecPerClust)) { in readboot()
80 pfatal("Invalid cluster size: %u", boot->bpbSecPerClust); in readboot()
261 if (boot->FirstCluster + boot->bpbSecPerClust > boot->NumSectors) { in readboot()
272 (boot->NumSectors - boot->FirstCluster) / boot->bpbSecPerClust; in readboot()
328 boot->ClusterSize = boot->bpbBytesPerSec * boot->bpbSecPerClust; in readboot()
H A Ddir.c230 cluster_size = boot->bpbSecPerClust * boot->bpbBytesPerSec; in resetDosDirSection()
306 clsz = boot->bpbSecPerClust * boot->bpbBytesPerSec; in delete()
316 off = (startcl - CLUST_FIRST) * boot->bpbSecPerClust + boot->FirstCluster; in delete()
496 off = (cl - CLUST_FIRST) * boot->bpbSecPerClust + boot->FirstCluster; in check_subdirectory()
590 iosize = boot->bpbSecPerClust * boot->bpbBytesPerSec; in readDosDirSection()
608 off = (cl - CLUST_FIRST) * boot->bpbSecPerClust + boot->FirstCluster; in readDosDirSection()
H A Ddosfs.h46 u_int bpbSecPerClust; /* sectors per cluster */ member
/freebsd/usr.sbin/makefs/msdos/
H A Dmsdosfs_vfsops.c110 SecPerClust = b50->bpbSecPerClust; in m_msdosfs_mount()