• Home
  • Raw
  • Download

Lines Matching refs:info

33 	if (DIV_ROUND_UP(backing_len, info.block_size) > EXT4_NDIR_BLOCKS)  in create_backing()
47 len = min(region_len * info.block_size, backing_len); in create_backing()
125 u32 *ind_block_data = calloc(info.block_size, 1); in fill_dindirect_block()
126 sparse_file_add_data(ext4_sparse_file, ind_block_data, info.block_size, in fill_dindirect_block()
155 u32 *dind_block_data = calloc(info.block_size, 1); in fill_tindirect_block()
156 sparse_file_add_data(ext4_sparse_file, dind_block_data, info.block_size, in fill_tindirect_block()
204 u32 *ind_block_data = calloc(info.block_size, 1); in inode_attach_indirect_blocks()
205 sparse_file_add_data(ext4_sparse_file, ind_block_data, info.block_size, in inode_attach_indirect_blocks()
236 u32 *dind_block_data = calloc(info.block_size, 1); in inode_attach_dindirect_blocks()
237 sparse_file_add_data(ext4_sparse_file, dind_block_data, info.block_size, in inode_attach_dindirect_blocks()
268 u32 *tind_block_data = calloc(info.block_size, 1); in inode_attach_tindirect_blocks()
269 sparse_file_add_data(ext4_sparse_file, tind_block_data, info.block_size, in inode_attach_tindirect_blocks()
408 u32 block_len = DIV_ROUND_UP(len, info.block_size); in inode_allocate_indirect()
424 inode->i_blocks_lo = (block_len + indirect_len) * info.block_size / 512; in inode_allocate_indirect()
434 u32 superblocks = block_len / info.bg_desc_reserve_blocks; in inode_attach_resize()
439 if (block_len % info.bg_desc_reserve_blocks) in inode_attach_resize()
441 info.bg_desc_reserve_blocks); in inode_attach_resize()
446 u32 *dind_block_data = calloc(info.block_size, 1); in inode_attach_resize()
449 sparse_file_add_data(ext4_sparse_file, dind_block_data, info.block_size, in inode_attach_resize()
452 u32 *ind_block_data = calloc(info.block_size, info.bg_desc_reserve_blocks); in inode_attach_resize()
456 info.block_size * info.bg_desc_reserve_blocks, in inode_attach_resize()
459 for (i = 0; i < info.bg_desc_reserve_blocks; i++) { in inode_attach_resize()
460 int r = (i - aux_info.bg_desc_blocks) % info.bg_desc_reserve_blocks; in inode_attach_resize()
462 r += info.bg_desc_reserve_blocks; in inode_attach_resize()
467 u32 b = j * info.bg_desc_reserve_blocks + r; in inode_attach_resize()
473 aux_info.blocks_per_ind * (info.bg_desc_reserve_blocks - 1) + in inode_attach_resize()
476 blocks = ((u64)block_len + 1) * info.block_size / 512; in inode_attach_resize()
477 size = (u64)last_block * info.block_size; in inode_attach_resize()
494 u32 block_len = DIV_ROUND_UP(len, info.block_size); in inode_allocate_data_indirect()