Lines Matching refs:list_head
447 static struct list_head *merge(void *priv, ListCmpFunc cmp, in merge()
448 struct list_head *a, struct list_head *b) in merge()
450 struct list_head *head, **tail = &head; in merge()
482 static void merge_final(void *priv, ListCmpFunc cmp, struct list_head *head, in merge_final()
483 struct list_head *a, struct list_head *b) in merge_final()
485 struct list_head *tail = head; in merge_final()
531 void list_sort(void *priv, struct list_head *head, ListCmpFunc cmp) in list_sort()
533 struct list_head *list = head->next, *pending = NULL; in list_sort()
562 struct list_head **tail = &pending; in list_sort()
569 struct list_head *a = *tail, *b = a->prev; in list_sort()
589 struct list_head *next = pending->prev; in list_sort()