Searched refs:bpbSecPerClust (Results 1 – 4 of 4) sorted by relevance
119 u_int8_t bpbSecPerClust; /* sectors per cluster */ member163 u_int bpbSecPerClust; /* sectors per cluster */ member347 if (bpb.bpbSecPerClust == 0) { /* set defaults */ in mkfs_msdos()349 bpb.bpbSecPerClust = 1; in mkfs_msdos()351 bpb.bpbSecPerClust = 8; in mkfs_msdos()353 bpb.bpbSecPerClust = 16; in mkfs_msdos()355 bpb.bpbSecPerClust = 32; in mkfs_msdos()357 bpb.bpbSecPerClust = 64; /* otherwise 32k */ in mkfs_msdos()406 bpb.bpbSecPerClust = o.block_size / bpb.bpbBytesPerSec; in mkfs_msdos()414 bpb.bpbSecPerClust = o.sectors_per_cluster; in mkfs_msdos()[all …]
80 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()
232 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()
47 u_int bpbSecPerClust; /* sectors per cluster */ member