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

/system/extras/ext4_utils/
H A Dindirect.c169 struct block_allocation *alloc, u32 *block_len)
171 int len = min(*block_len, EXT4_NDIR_BLOCKS);
183 *block_len -= len;
192 struct block_allocation *alloc, u32 *block_len)
194 int len = min(*block_len, aux_info.blocks_per_ind);
215 *block_len -= len;
224 struct block_allocation *alloc, u32 *block_len)
226 int len = min(*block_len, aux_info.blocks_per_dind);
247 *block_len -= len;
256 struct block_allocation *alloc, u32 *block_len)
168 inode_attach_direct_blocks(struct ext4_inode *inode, struct block_allocation *alloc, u32 *block_len) argument
191 inode_attach_indirect_blocks(struct ext4_inode *inode, struct block_allocation *alloc, u32 *block_len) argument
223 inode_attach_dindirect_blocks(struct ext4_inode *inode, struct block_allocation *alloc, u32 *block_len) argument
255 inode_attach_tindirect_blocks(struct ext4_inode *inode, struct block_allocation *alloc, u32 *block_len) argument
348 do_inode_attach_indirect(struct ext4_inode *inode, struct block_allocation *alloc, u32 block_len) argument
389 do_inode_allocate_indirect( struct ext4_inode *inode, u32 block_len) argument
408 u32 block_len = DIV_ROUND_UP(len, info.block_size); local
433 u32 block_len = block_allocation_len(alloc); local
494 u32 block_len = DIV_ROUND_UP(len, info.block_size); local
[all...]
H A Dextent.c78 u32 block_len = DIV_ROUND_UP(len, info.block_size); local
79 struct block_allocation *alloc = allocate_blocks(block_len + 1);
86 error("Failed to allocate %d blocks\n", block_len + 1);
163 block_len += 1;
165 blocks = (u64)block_len * info.block_size / 512;
/system/core/libsparse/
H A Dbacked_block.c194 unsigned int block_len; local
209 block_len = a->len / bbl->block_size; /* rounds down */
210 if (a->block + block_len != b->block) {

Completed in 43 milliseconds