Lines Matching refs:ext_group_head
703 static int insert_exts_group(struct fiemap_extent_group **ext_group_head, in insert_exts_group() argument
714 if (*ext_group_head == NULL) { in insert_exts_group()
715 (*ext_group_head) = exts_group; in insert_exts_group()
716 (*ext_group_head)->prev = *ext_group_head; in insert_exts_group()
717 (*ext_group_head)->next = *ext_group_head; in insert_exts_group()
721 ext_group_tmp = (*ext_group_head)->prev; in insert_exts_group()
734 struct fiemap_extent_group **ext_group_head) in join_extents() argument
760 if (insert_exts_group(ext_group_head, in join_extents()
992 static void free_exts_group(struct fiemap_extent_group *ext_group_head) in free_exts_group() argument
996 if (ext_group_head == NULL) in free_exts_group()
999 while (ext_group_head->next != ext_group_head) { in free_exts_group()
1000 ext_group_tmp = ext_group_head; in free_exts_group()
1001 ext_group_head->prev->next = ext_group_head->next; in free_exts_group()
1002 ext_group_head->next->prev = ext_group_head->prev; in free_exts_group()
1003 ext_group_head = ext_group_head->next; in free_exts_group()
1006 free(ext_group_head); in free_exts_group()