Lines Matching refs:a
23 int (*cmp)(void *priv, struct list_head *a, in merge() argument
25 struct list_head *a, struct list_head *b) in merge()
29 while (a && b) { in merge()
31 if ((*cmp)(priv, a, b) <= 0) { in merge()
32 tail->next = a; in merge()
33 a = a->next; in merge()
40 tail->next = a?:b; in merge()
52 int (*cmp)(void *priv, struct list_head *a, in merge_and_restore_back_links() argument
55 struct list_head *a, struct list_head *b) in merge_and_restore_back_links()
59 while (a && b) { in merge_and_restore_back_links()
61 if ((*cmp)(priv, a, b) <= 0) { in merge_and_restore_back_links()
62 tail->next = a; in merge_and_restore_back_links()
63 a->prev = tail; in merge_and_restore_back_links()
64 a = a->next; in merge_and_restore_back_links()
72 tail->next = a ? : b; in merge_and_restore_back_links()
106 int (*cmp)(void *priv, struct list_head *a, in list_sort() argument
205 static int __init cmp(void *priv, struct list_head *a, struct list_head *b) in cmp() argument
209 ela = container_of(a, struct debug_el, list); in cmp()