Home
last modified time | relevance | path

Searched refs:block_len (Results 1 – 3 of 3) sorted by relevance

/system/extras/ext4_utils/
Dindirect.c169 struct block_allocation *alloc, u32 *block_len) in inode_attach_direct_blocks() argument
171 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() argument
194 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() argument
226 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 …]
Dextent.c78 u32 block_len = DIV_ROUND_UP(len, info.block_size); in do_inode_allocate_extents() local
79 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()
/system/core/libsparse/
Dbacked_block.c194 unsigned int block_len; in merge_bb() local
209 block_len = a->len / bbl->block_size; /* rounds down */ in merge_bb()
210 if (a->block + block_len != b->block) { in merge_bb()