Lines Matching refs:a
20 int (*cmp)(void *priv, struct list_head *a, in merge() argument
22 struct list_head *a, struct list_head *b) in merge()
26 while (a && b) { in merge()
28 if ((*cmp)(priv, a, b) <= 0) { in merge()
29 tail->next = a; in merge()
30 a = a->next; in merge()
37 tail->next = a?:b; in merge()
49 int (*cmp)(void *priv, struct list_head *a, in merge_and_restore_back_links() argument
52 struct list_head *a, struct list_head *b) in merge_and_restore_back_links()
57 while (a && b) { in merge_and_restore_back_links()
59 if ((*cmp)(priv, a, b) <= 0) { in merge_and_restore_back_links()
60 tail->next = a; in merge_and_restore_back_links()
61 a->prev = tail; in merge_and_restore_back_links()
62 a = a->next; in merge_and_restore_back_links()
70 tail->next = a ? : b; in merge_and_restore_back_links()
105 int (*cmp)(void *priv, struct list_head *a, in list_sort() argument
201 static int __init cmp(void *priv, struct list_head *a, struct list_head *b) in cmp() argument
205 ela = container_of(a, struct debug_el, list); in cmp()