Lines Matching refs:addr_per_block
100 blk_t addr_per_block; in block_dind_bmap() local
102 addr_per_block = (blk_t) fs->blocksize >> 2; in block_dind_bmap()
105 blocks_alloc, nr / addr_per_block, &b); in block_dind_bmap()
109 nr % addr_per_block, ret_blk); in block_dind_bmap()
120 blk_t addr_per_block; in block_tind_bmap() local
122 addr_per_block = (blk_t) fs->blocksize >> 2; in block_tind_bmap()
125 blocks_alloc, nr / addr_per_block, &b); in block_tind_bmap()
129 nr % addr_per_block, ret_blk); in block_tind_bmap()
284 blk64_t addr_per_block, max_map_block; in ext2fs_file_block_offset_too_big() local
293 addr_per_block = fs->blocksize >> 2; in ext2fs_file_block_offset_too_big()
294 max_map_block = addr_per_block; in ext2fs_file_block_offset_too_big()
295 max_map_block += addr_per_block * addr_per_block; in ext2fs_file_block_offset_too_big()
296 max_map_block += addr_per_block * addr_per_block * addr_per_block; in ext2fs_file_block_offset_too_big()
308 blk_t addr_per_block; in ext2fs_bmap2() local
334 addr_per_block = (blk_t) fs->blocksize >> 2; in ext2fs_bmap2()
392 if (block < addr_per_block) { in ext2fs_bmap2()
419 block -= addr_per_block; in ext2fs_bmap2()
420 if (block < addr_per_block * addr_per_block) { in ext2fs_bmap2()
447 block -= addr_per_block * addr_per_block; in ext2fs_bmap2()