Searched refs:block_len (Results 1 – 3 of 3) sorted by relevance
169 struct block_allocation *alloc, u32 *block_len) in inode_attach_direct_blocks() argument171 int len = min(*block_len, EXT4_NDIR_BLOCKS); in inode_attach_direct_blocks()183 *block_len -= len; in inode_attach_direct_blocks()192 struct block_allocation *alloc, u32 *block_len) in inode_attach_indirect_blocks() argument194 int len = min(*block_len, aux_info.blocks_per_ind); in inode_attach_indirect_blocks()215 *block_len -= len; in inode_attach_indirect_blocks()224 struct block_allocation *alloc, u32 *block_len) in inode_attach_dindirect_blocks() argument226 int len = min(*block_len, aux_info.blocks_per_dind); in inode_attach_dindirect_blocks()247 *block_len -= len; in inode_attach_dindirect_blocks()256 struct block_allocation *alloc, u32 *block_len) in inode_attach_tindirect_blocks() argument[all …]
78 u32 block_len = DIV_ROUND_UP(len, info.block_size); in do_inode_allocate_extents() local79 struct block_allocation *alloc = allocate_blocks(block_len + 1); in do_inode_allocate_extents()86 error("Failed to allocate %d blocks\n", block_len + 1); in do_inode_allocate_extents()163 block_len += 1; in do_inode_allocate_extents()165 blocks = (u64)block_len * info.block_size / 512; in do_inode_allocate_extents()
194 unsigned int block_len; in merge_bb() local209 block_len = a->len / bbl->block_size; /* rounds down */ in merge_bb()210 if (a->block + block_len != b->block) { in merge_bb()