Lines Matching refs:ext_group_head
704 static int insert_exts_group(struct fiemap_extent_group **ext_group_head, in insert_exts_group() argument
715 if (*ext_group_head == NULL) { in insert_exts_group()
716 (*ext_group_head) = exts_group; in insert_exts_group()
717 (*ext_group_head)->prev = *ext_group_head; in insert_exts_group()
718 (*ext_group_head)->next = *ext_group_head; in insert_exts_group()
722 ext_group_tmp = (*ext_group_head)->prev; in insert_exts_group()
735 struct fiemap_extent_group **ext_group_head) in join_extents() argument
761 if (insert_exts_group(ext_group_head, in join_extents()
993 static void free_exts_group(struct fiemap_extent_group *ext_group_head) in free_exts_group() argument
997 if (ext_group_head == NULL) in free_exts_group()
1000 while (ext_group_head->next != ext_group_head) { in free_exts_group()
1001 ext_group_tmp = ext_group_head; in free_exts_group()
1002 ext_group_head->prev->next = ext_group_head->next; in free_exts_group()
1003 ext_group_head->next->prev = ext_group_head->prev; in free_exts_group()
1004 ext_group_head = ext_group_head->next; in free_exts_group()
1007 free(ext_group_head); in free_exts_group()