Lines Matching refs:cmp
224 int (*cmp)(struct rb_node *, const struct rb_node *)) in rb_find_add()
232 c = cmp(node, parent); in rb_find_add()
257 int (*cmp)(const void *key, const struct rb_node *)) in rb_find()
262 int c = cmp(key, node); in rb_find()
285 int (*cmp)(const void *key, const struct rb_node *)) in rb_find_first()
291 int c = cmp(key, node); in rb_find_first()
315 int (*cmp)(const void *key, const struct rb_node *)) in rb_next_match()
318 if (node && cmp(key, node)) in rb_next_match()
330 #define rb_for_each(node, key, tree, cmp) \ argument
331 for ((node) = rb_find_first((key), (tree), (cmp)); \
332 (node); (node) = rb_next_match((key), (node), (cmp)))