Searched refs:priv (Results 1 – 1 of 1) sorted by relevance
/lib/ |
D | list_sort.c | 14 static struct list_head *merge(void *priv, in merge() argument 15 int (*cmp)(void *priv, struct list_head *a, in merge() argument 23 if ((*cmp)(priv, a, b) <= 0) { in merge() 43 static void merge_and_restore_back_links(void *priv, in merge_and_restore_back_links() argument 44 int (*cmp)(void *priv, struct list_head *a, in merge_and_restore_back_links() argument 53 if ((*cmp)(priv, a, b) <= 0) { in merge_and_restore_back_links() 73 (*cmp)(priv, tail->next, tail->next); in merge_and_restore_back_links() 97 void list_sort(void *priv, struct list_head *head, in list_sort() argument 98 int (*cmp)(void *priv, struct list_head *a, in list_sort() argument 121 cur = merge(priv, cmp, part[lev], cur); in list_sort() [all …]
|