Lines Matching refs:ext_group_head
701 static int insert_exts_group(struct fiemap_extent_group **ext_group_head, in insert_exts_group() argument
712 if (*ext_group_head == NULL) { in insert_exts_group()
713 (*ext_group_head) = exts_group; in insert_exts_group()
714 (*ext_group_head)->prev = *ext_group_head; in insert_exts_group()
715 (*ext_group_head)->next = *ext_group_head; in insert_exts_group()
719 ext_group_tmp = (*ext_group_head)->prev; in insert_exts_group()
732 struct fiemap_extent_group **ext_group_head) in join_extents() argument
758 if (insert_exts_group(ext_group_head, in join_extents()
990 static void free_exts_group(struct fiemap_extent_group *ext_group_head) in free_exts_group() argument
994 if (ext_group_head == NULL) in free_exts_group()
997 while (ext_group_head->next != ext_group_head) { in free_exts_group()
998 ext_group_tmp = ext_group_head; in free_exts_group()
999 ext_group_head->prev->next = ext_group_head->next; in free_exts_group()
1000 ext_group_head->next->prev = ext_group_head->prev; in free_exts_group()
1001 ext_group_head = ext_group_head->next; in free_exts_group()
1004 free(ext_group_head); in free_exts_group()