Searched refs:bpbSecPerClust (Results 1 – 4 of 4) sorted by relevance
118 u_int8_t bpbSecPerClust; /* sectors per cluster */ member162 u_int bpbSecPerClust; /* sectors per cluster */ member336 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()397 bpb.bpbSecPerClust = o.block_size / bpb.bpbBytesPerSec; in mkfs_msdos()405 bpb.bpbSecPerClust = o.sectors_per_cluster; in mkfs_msdos()[all …]
69 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()
226 b2 = boot->bpbSecPerClust * boot->bpbBytesPerSec; in resetDosDirSection()320 int clsz = boot->bpbSecPerClust * boot->bpbBytesPerSec; in delete()330 off = startcl * boot->bpbSecPerClust + boot->ClusterOffset; in delete()475 last = boot->bpbSecPerClust * boot->bpbBytesPerSec; in readDosDirSection()476 off = cl * boot->bpbSecPerClust + boot->ClusterOffset; in readDosDirSection()
47 u_int bpbSecPerClust; /* sectors per cluster */ member