Lines Matching refs:blocksize
162 u32 blocksize; in hfsplus_read_wrapper() local
166 blocksize = sb_min_blocksize(sb, HFSPLUS_SECTOR_SIZE); in hfsplus_read_wrapper()
167 if (!blocksize) in hfsplus_read_wrapper()
226 blocksize = be32_to_cpu(sbi->s_vhdr->blocksize); in hfsplus_read_wrapper()
231 if (blocksize < HFSPLUS_SECTOR_SIZE || ((blocksize - 1) & blocksize)) in hfsplus_read_wrapper()
233 sbi->alloc_blksz = blocksize; in hfsplus_read_wrapper()
234 sbi->alloc_blksz_shift = ilog2(blocksize); in hfsplus_read_wrapper()
235 blocksize = min_t(u32, sbi->alloc_blksz, PAGE_SIZE); in hfsplus_read_wrapper()
240 while (part_start & ((blocksize >> HFSPLUS_SECTOR_SHIFT) - 1)) in hfsplus_read_wrapper()
241 blocksize >>= 1; in hfsplus_read_wrapper()
243 if (sb_set_blocksize(sb, blocksize) != blocksize) { in hfsplus_read_wrapper()
244 pr_err("unable to set blocksize to %u!\n", blocksize); in hfsplus_read_wrapper()