Home
last modified time | relevance | path

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

/system/extras/ext4_utils/
Dindirect.c31 if (DIV_ROUND_UP(backing_len, info.block_size) > EXT4_NDIR_BLOCKS) in create_backing()
32 critical_error("indirect backing larger than %d blocks", EXT4_NDIR_BLOCKS); in create_backing()
169 int len = min(*block_len, EXT4_NDIR_BLOCKS); in inode_attach_direct_blocks()
283 if (len <= EXT4_NDIR_BLOCKS) in reserve_all_indirect_blocks()
286 len -= EXT4_NDIR_BLOCKS; in reserve_all_indirect_blocks()
287 advance_blocks(alloc, EXT4_NDIR_BLOCKS); in reserve_all_indirect_blocks()
317 if (len <= EXT4_NDIR_BLOCKS) in indirect_blocks_needed()
320 len -= EXT4_NDIR_BLOCKS; in indirect_blocks_needed()
470 u32 last_block = EXT4_NDIR_BLOCKS + aux_info.blocks_per_ind + in inode_attach_resize()
Dext4fixup.c360 while ((i < (inode->i_blocks_lo / sectors_per_block)) && (i < EXT4_NDIR_BLOCKS)) { in get_direct_blocks()
367 if ((inode->i_blocks_lo / sectors_per_block) > EXT4_NDIR_BLOCKS) { in get_direct_blocks()
388 read_block(fd, inode->i_block[EXT4_NDIR_BLOCKS], indirect_block); in get_indirect_blocks()
390 for(i = 0; i < (inode->i_blocks_lo / sectors_per_block - EXT4_NDIR_BLOCKS); i++) { in get_indirect_blocks()
391 block_list[EXT4_NDIR_BLOCKS+i] = indirect_block[i]; in get_indirect_blocks()
564 if (num_blocks > (info.block_size / 4 + EXT4_NDIR_BLOCKS)) { in recurse_dir()
Dext4.h137 #define EXT4_NDIR_BLOCKS 12 macro
138 #define EXT4_IND_BLOCK EXT4_NDIR_BLOCKS