Home
last modified time | relevance | path

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

/system/extras/ext4_utils/include/ext4_utils/
Dext4_extents.h46 struct ext4_extent_header { struct
61 struct ext4_extent_header *p_hdr; argument
78 …NT(__hdr__) ((struct ext4_extent *) (((char *) (__hdr__)) + sizeof(struct ext4_extent_header)))
79 …_hdr__) ((struct ext4_extent_idx *) (((char *) (__hdr__)) + sizeof(struct ext4_extent_header)))
/system/extras/ext4_utils/
Dextent.c119 struct ext4_extent_header *hdr = in do_inode_allocate_extents()
120 (struct ext4_extent_header *)&inode->i_block[0]; in do_inode_allocate_extents()
129 struct ext4_extent_header *hdr = in do_inode_allocate_extents()
130 (struct ext4_extent_header *)&inode->i_block[0]; in do_inode_allocate_extents()
151 if (((int)(info.block_size - sizeof(struct ext4_extent_header) / in do_inode_allocate_extents()
158 hdr = (struct ext4_extent_header *)data; in do_inode_allocate_extents()
161 hdr->eh_max = (info.block_size - sizeof(struct ext4_extent_header)) / in do_inode_allocate_extents()
167 sizeof(struct ext4_extent_header)); in do_inode_allocate_extents()
Dext4fixup.c417 static int get_extent_ents(struct ext4_extent_header *ext_hdr, unsigned long long *block_list) in get_extent_ents()
443 static int get_extent_idx(int fd, struct ext4_extent_header *ext_hdr, unsigned long long *block_lis… in get_extent_idx()
447 struct ext4_extent_header *tmp_ext_hdr; in get_extent_idx()
464 tmp_ext_hdr = (struct ext4_extent_header *)block; in get_extent_idx()
478 struct ext4_extent_header *extent_hdr; in get_block_list_extents()
480 extent_hdr = (struct ext4_extent_header *)inode->i_block; in get_block_list_extents()
488 get_extent_ents((struct ext4_extent_header *)inode->i_block, block_list); in get_block_list_extents()
492 get_extent_idx(fd, (struct ext4_extent_header *)inode->i_block, block_list); in get_block_list_extents()