Home
last modified time | relevance | path

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

/system/extras/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)))
Dextent.c99 struct ext4_extent_header *hdr = in do_inode_allocate_extents()
100 (struct ext4_extent_header *)&inode->i_block[0]; in do_inode_allocate_extents()
109 struct ext4_extent_header *hdr = in do_inode_allocate_extents()
110 (struct ext4_extent_header *)&inode->i_block[0]; in do_inode_allocate_extents()
131 if (((int)(info.block_size - sizeof(struct ext4_extent_header) / in do_inode_allocate_extents()
138 hdr = (struct ext4_extent_header *)data; in do_inode_allocate_extents()
141 hdr->eh_max = (info.block_size - sizeof(struct ext4_extent_header)) / in do_inode_allocate_extents()
147 sizeof(struct ext4_extent_header)); in do_inode_allocate_extents()
Dext4fixup.c512 static int get_extent_ents(struct ext4_extent_header *ext_hdr, unsigned long long *block_list) in get_extent_ents()
538 static int get_extent_idx(int fd, struct ext4_extent_header *ext_hdr, unsigned long long *block_lis… in get_extent_idx()
542 struct ext4_extent_header *tmp_ext_hdr; in get_extent_idx()
559 tmp_ext_hdr = (struct ext4_extent_header *)block; in get_extent_idx()
573 struct ext4_extent_header *extent_hdr; in get_block_list_extents()
575 extent_hdr = (struct ext4_extent_header *)inode->i_block; in get_block_list_extents()
583 get_extent_ents((struct ext4_extent_header *)inode->i_block, block_list); in get_block_list_extents()
587 get_extent_idx(fd, (struct ext4_extent_header *)inode->i_block, block_list); in get_block_list_extents()