Lines Matching refs:hfs_logical_block_size
149 hfsmp->hfs_logBlockSize = BestBlockSizeFit(vcb->blockSize, MAXBSIZE, hfsmp->hfs_logical_block_size);
152 hfsmp->hfs_alt_id_sector = HFS_ALT_SECTOR(hfsmp->hfs_logical_block_size,
333 if ((disksize & (hfsmp->hfs_logical_block_size - 1)) ||
334 (embeddedOffset & (hfsmp->hfs_logical_block_size - 1)) ||
335 (blockSize < hfsmp->hfs_logical_block_size)) {
348 hfsmp->hfs_physical_block_size = hfsmp->hfs_logical_block_size;
395 hfsmp->hfs_logBlockSize = BestBlockSizeFit(vcb->blockSize, MAXBSIZE, hfsmp->hfs_logical_block_size);
403 hfsmp->hfs_logical_block_size);
405 if (spare_sectors > (daddr64_t)(blockSize / hfsmp->hfs_logical_block_size)) {
408 hfsmp->hfs_alt_id_sector = (hfsmp->hfsPlusIOPosOffset / hfsmp->hfs_logical_block_size) +
409 HFS_ALT_SECTOR(hfsmp->hfs_logical_block_size,
1785 uint32_t blksize = hfsmp->hfs_logical_block_size;
1833 hfsmp->hfs_logical_block_size);
1982 sectors_per_fsblock = SWAP_BE32(vhp->blockSize) / hfsmp->hfs_logical_block_size;
1984 (daddr64_t)(vcb->hfsPlusIOPosOffset / hfsmp->hfs_logical_block_size +
2048 hfsmp->hfs_logical_block_size);
2069 hfsmp->hfs_logical_block_size,
2098 hfsmp->hfs_logical_block_size,