Lines Matching refs:list_head
13 static struct list_head *merge(void *priv, list_cmp_func_t cmp, in merge()
14 struct list_head *a, struct list_head *b) in merge()
16 struct list_head *head, **tail = &head; in merge()
49 static void merge_final(void *priv, list_cmp_func_t cmp, struct list_head *head, in merge_final()
50 struct list_head *a, struct list_head *b) in merge_final()
52 struct list_head *tail = head; in merge_final()
189 void list_sort(void *priv, struct list_head *head, list_cmp_func_t cmp) in list_sort()
191 struct list_head *list = head->next, *pending = NULL; in list_sort()
220 struct list_head **tail = &pending; in list_sort()
227 struct list_head *a = *tail, *b = a->prev; in list_sort()
247 struct list_head *next = pending->prev; in list_sort()