Lines Matching refs:block_size
31 if (DIV_ROUND_UP(backing_len, info.block_size) > EXT4_NDIR_BLOCKS) in create_backing()
45 len = min(region_len * info.block_size, backing_len); in create_backing()
123 u32 *ind_block_data = calloc(info.block_size, 1); in fill_dindirect_block()
124 sparse_file_add_data(ext4_sparse_file, ind_block_data, info.block_size, in fill_dindirect_block()
153 u32 *dind_block_data = calloc(info.block_size, 1); in fill_tindirect_block()
154 sparse_file_add_data(ext4_sparse_file, dind_block_data, info.block_size, in fill_tindirect_block()
202 u32 *ind_block_data = calloc(info.block_size, 1); in inode_attach_indirect_blocks()
203 sparse_file_add_data(ext4_sparse_file, ind_block_data, info.block_size, in inode_attach_indirect_blocks()
234 u32 *dind_block_data = calloc(info.block_size, 1); in inode_attach_dindirect_blocks()
235 sparse_file_add_data(ext4_sparse_file, dind_block_data, info.block_size, in inode_attach_dindirect_blocks()
266 u32 *tind_block_data = calloc(info.block_size, 1); in inode_attach_tindirect_blocks()
267 sparse_file_add_data(ext4_sparse_file, tind_block_data, info.block_size, in inode_attach_tindirect_blocks()
406 u32 block_len = DIV_ROUND_UP(len, info.block_size); in inode_allocate_indirect()
422 inode->i_blocks_lo = (block_len + indirect_len) * info.block_size / 512; in inode_allocate_indirect()
444 u32 *dind_block_data = calloc(info.block_size, 1); in inode_attach_resize()
447 sparse_file_add_data(ext4_sparse_file, dind_block_data, info.block_size, in inode_attach_resize()
450 u32 *ind_block_data = calloc(info.block_size, info.bg_desc_reserve_blocks); in inode_attach_resize()
454 info.block_size * info.bg_desc_reserve_blocks, in inode_attach_resize()
474 blocks = ((u64)block_len + 1) * info.block_size / 512; in inode_attach_resize()
475 size = (u64)last_block * info.block_size; in inode_attach_resize()
492 u32 block_len = DIV_ROUND_UP(len, info.block_size); in inode_allocate_data_indirect()