Lines Matching refs:fiemap_extent_list
136 struct fiemap_extent_list { struct
137 struct fiemap_extent_list *prev; argument
138 struct fiemap_extent_list *next; argument
146 struct fiemap_extent_list *start; /* start ext */ argument
147 struct fiemap_extent_list *end; /* end ext */
588 static int insert_extent_by_logical(struct fiemap_extent_list **ext_list_head, in insert_extent_by_logical()
589 struct fiemap_extent_list *ext) in insert_extent_by_logical()
591 struct fiemap_extent_list *ext_list_tmp = *ext_list_head; in insert_extent_by_logical()
646 static int insert_extent_by_physical(struct fiemap_extent_list **ext_list_head, in insert_extent_by_physical()
647 struct fiemap_extent_list *ext) in insert_extent_by_physical()
649 struct fiemap_extent_list *ext_list_tmp = *ext_list_head; in insert_extent_by_physical()
734 static int join_extents(struct fiemap_extent_list *ext_list_head, in join_extents()
738 struct fiemap_extent_list *ext_list_start = ext_list_head; in join_extents()
739 struct fiemap_extent_list *ext_list_tmp = ext_list_head->next; in join_extents()
789 static int get_file_extents(int fd, struct fiemap_extent_list **ext_list_head) in get_file_extents()
797 struct fiemap_extent_list *ext_list = NULL; in get_file_extents()
827 ext_list = malloc(sizeof(struct fiemap_extent_list)); in get_file_extents()
869 static int get_logical_count(struct fiemap_extent_list *logical_list_head) in get_logical_count()
872 struct fiemap_extent_list *ext_list_tmp = logical_list_head; in get_logical_count()
887 static int get_physical_count(struct fiemap_extent_list *physical_list_head) in get_physical_count()
890 struct fiemap_extent_list *ext_list_tmp = physical_list_head; in get_physical_count()
914 struct fiemap_extent_list **physical_list_head, in change_physical_to_logical()
915 struct fiemap_extent_list **logical_list_head) in change_physical_to_logical()
918 struct fiemap_extent_list *ext_list_tmp = *physical_list_head; in change_physical_to_logical()
919 struct fiemap_extent_list *ext_list_next = ext_list_tmp->next; in change_physical_to_logical()
953 static ext4_fsblk_t get_file_blocks(struct fiemap_extent_list *ext_list_head) in get_file_blocks()
956 struct fiemap_extent_list *ext_list_tmp = ext_list_head; in get_file_blocks()
971 static void free_ext(struct fiemap_extent_list *ext_list_head) in free_ext()
973 struct fiemap_extent_list *ext_list_tmp = NULL; in free_ext()
1055 struct fiemap_extent_list *physical_list_head = NULL; in file_statistic()
1056 struct fiemap_extent_list *logical_list_head = NULL; in file_statistic()
1175 struct fiemap_extent_list *ext_list_tmp = in file_statistic()
1309 const struct stat64 *buf, struct fiemap_extent_list *ext_list_head) in call_defrag()
1317 struct fiemap_extent_list *ext_list_tmp = NULL; in call_defrag()
1419 struct fiemap_extent_list *orig_list_physical = NULL; in file_defrag()
1420 struct fiemap_extent_list *orig_list_logical = NULL; in file_defrag()
1421 struct fiemap_extent_list *donor_list_physical = NULL; in file_defrag()
1422 struct fiemap_extent_list *donor_list_logical = NULL; in file_defrag()