Lines Matching refs:cmp
224 int (*cmp)(const struct rb_node *new, const struct rb_node *exist)) in rb_find_add_cached()
233 c = cmp(node, parent); in rb_find_add_cached()
261 int (*cmp)(struct rb_node *, const struct rb_node *)) in rb_find_add()
269 c = cmp(node, parent); in rb_find_add()
297 int (*cmp)(struct rb_node *, const struct rb_node *)) in rb_find_add_rcu()
305 c = cmp(node, parent); in rb_find_add_rcu()
330 int (*cmp)(const void *key, const struct rb_node *)) in rb_find()
335 int c = cmp(key, node); in rb_find()
361 int (*cmp)(const void *key, const struct rb_node *)) in rb_find_rcu()
366 int c = cmp(key, node); in rb_find_rcu()
389 int (*cmp)(const void *key, const struct rb_node *)) in rb_find_first()
395 int c = cmp(key, node); in rb_find_first()
419 int (*cmp)(const void *key, const struct rb_node *)) in rb_next_match()
422 if (node && cmp(key, node)) in rb_next_match()
434 #define rb_for_each(node, key, tree, cmp) \ argument
435 for ((node) = rb_find_first((key), (tree), (cmp)); \
436 (node); (node) = rb_next_match((key), (node), (cmp)))