Lines Matching defs:blkbits
160 const unsigned blkbits = inode->i_blkbits;
161 const unsigned blocks_per_page = PAGE_SIZE >> blkbits;
162 const unsigned blocksize = 1 << blkbits;
189 block_in_file = (sector_t)page->index << (PAGE_SHIFT - blkbits);
191 last_block_in_file = (i_size_read(inode) + blocksize - 1) >> blkbits;
199 nblocks = map_bh->b_size >> blkbits;
230 map_bh->b_size = (last_block-block_in_file) << blkbits;
262 nblocks = map_bh->b_size >> blkbits;
277 zero_user_segment(page, first_hole << blkbits, PAGE_SIZE);
302 if (!bdev_read_page(bdev, blocks[0] << (blkbits - 9),
306 args->bio = mpage_alloc(bdev, blocks[0] << (blkbits - 9),
314 length = first_hole << blkbits;
321 nblocks = map_bh->b_size >> blkbits;
487 const unsigned blkbits = inode->i_blkbits;
489 const unsigned blocks_per_page = PAGE_SIZE >> blkbits;
559 block_in_file = (sector_t)page->index << (PAGE_SHIFT - blkbits);
560 last_block = (i_size - 1) >> blkbits;
565 map_bh.b_size = 1 << blkbits;
616 if (!bdev_write_page(bdev, blocks[0] << (blkbits - 9),
620 bio = mpage_alloc(bdev, blocks[0] << (blkbits - 9),
635 length = first_unmapped << blkbits;
650 boundary_block, 1 << blkbits);