Home
last modified time | relevance | path

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

/system/extras/ext4_utils/
Dext4fixup.c357 static int get_direct_blocks(struct ext4_inode *inode, unsigned long long *block_list, in get_direct_blocks() argument
366 block_list[i] = inode->i_block[i]; in get_direct_blocks()
380 unsigned long long *block_list, unsigned int *count) in get_indirect_blocks() argument
396 block_list[EXT4_NDIR_BLOCKS+i] = indirect_block[i]; in get_indirect_blocks()
406 static int get_block_list_indirect(int fd, struct ext4_inode *inode, unsigned long long *block_list) in get_block_list_indirect() argument
410 if (get_direct_blocks(inode, block_list, &count)) { in get_block_list_indirect()
411 get_indirect_blocks(fd, inode, block_list, &count); in get_block_list_indirect()
417 static int get_extent_ents(struct ext4_extent_header *ext_hdr, unsigned long long *block_list) in get_extent_ents() argument
435 block_list[extent->ee_block+j] = fs_block_num+j; in get_extent_ents()
443 …atic int get_extent_idx(int fd, struct ext4_extent_header *ext_hdr, unsigned long long *block_list) in get_extent_idx() argument
[all …]