Lines Matching refs:list_head
17 static struct list_head *merge(void *priv, in merge()
18 int (*cmp)(void *priv, struct list_head *a, in merge()
19 struct list_head *b), in merge()
20 struct list_head *a, struct list_head *b) in merge()
22 struct list_head head, *tail = &head; in merge()
47 int (*cmp)(void *priv, struct list_head *a, in merge_and_restore_back_links()
48 struct list_head *b), in merge_and_restore_back_links()
49 struct list_head *head, in merge_and_restore_back_links()
50 struct list_head *a, struct list_head *b) in merge_and_restore_back_links()
52 struct list_head *tail = head; in merge_and_restore_back_links()
102 void list_sort(void *priv, struct list_head *head, in list_sort()
103 int (*cmp)(void *priv, struct list_head *a, in list_sort()
104 struct list_head *b)) in list_sort()
106 struct list_head *part[MAX_LIST_LENGTH_BITS+1]; /* sorted partial lists in list_sort()
110 struct list_head *list; in list_sort()
121 struct list_head *cur = list; in list_sort()