Lines Matching refs:blkbits
178 const unsigned blkbits = inode->i_blkbits;
179 const unsigned blocks_per_page = PAGE_CACHE_SIZE >> blkbits;
180 const unsigned blocksize = 1 << blkbits;
196 block_in_file = (sector_t)page->index << (PAGE_CACHE_SHIFT - blkbits);
198 last_block_in_file = (i_size_read(inode) + blocksize - 1) >> blkbits;
206 nblocks = map_bh->b_size >> blkbits;
236 map_bh->b_size = (last_block-block_in_file) << blkbits;
268 nblocks = map_bh->b_size >> blkbits;
283 zero_user_segment(page, first_hole << blkbits, PAGE_CACHE_SIZE);
301 bio = mpage_alloc(bdev, blocks[0] << (blkbits - 9),
308 length = first_hole << blkbits;
315 nblocks = map_bh->b_size >> blkbits;
446 const unsigned blkbits = inode->i_blkbits;
448 const unsigned blocks_per_page = PAGE_CACHE_SIZE >> blkbits;
517 block_in_file = (sector_t)page->index << (PAGE_CACHE_SHIFT - blkbits);
518 last_block = (i_size - 1) >> blkbits;
523 map_bh.b_size = 1 << blkbits;
574 bio = mpage_alloc(bdev, blocks[0] << (blkbits - 9),
585 length = first_unmapped << blkbits;
623 boundary_block, 1 << blkbits);