Searched refs:do_cmp (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/lib/ |
D | sort.c | 156 static int do_cmp(const void *a, const void *b, cmp_r_func_t cmp, const void *priv) in do_cmp() function 249 shift = do_cmp(base + size, base + 2 * size, cmp_func, priv) <= 0; in sort_r() 270 b = do_cmp(base + c, base + d, cmp_func, priv) > 0 ? c : d; in sort_r() 275 while (b != a && do_cmp(base + a, base + b, cmp_func, priv) >= 0) in sort_r() 286 if (n == size * 2 && do_cmp(base, base + size, cmp_func, priv) > 0) in sort_r()
|
/linux-6.12.1/fs/bcachefs/ |
D | eytzinger.c | 144 static int do_cmp(const void *a, const void *b, cmp_r_func_t cmp, const void *priv) in do_cmp() function 155 return do_cmp(base + inorder_to_eytzinger0(l, n) * size, in eytzinger0_do_cmp()
|