Lines Matching defs:priv
13 static struct flist_head *merge(void *priv,
14 int (*cmp)(void *priv, struct flist_head *a,
22 if ((*cmp)(priv, a, b) <= 0) {
42 static void merge_and_restore_back_links(void *priv,
43 int (*cmp)(void *priv, struct flist_head *a,
52 if ((*cmp)(priv, a, b) <= 0) {
72 (*cmp)(priv, tail->next, tail->next);
84 * @priv: private data, opaque to list_sort(), passed to @cmp
96 void flist_sort(void *priv, struct flist_head *head,
97 int (*cmp)(void *priv, struct flist_head *a,
120 cur = merge(priv, cmp, part[lev], cur);
137 list = merge(priv, cmp, part[lev], list);
139 merge_and_restore_back_links(priv, cmp, head, part[max_lev], list);