Lines Matching refs:cmp
235 int (*cmp)(struct rb_node *, const struct rb_node *)) in rb_find_add()
243 c = cmp(node, parent); in rb_find_add()
268 int (*cmp)(const void *key, const struct rb_node *)) in rb_find()
273 int c = cmp(key, node); in rb_find()
296 int (*cmp)(const void *key, const struct rb_node *)) in rb_find_first()
302 int c = cmp(key, node); in rb_find_first()
326 int (*cmp)(const void *key, const struct rb_node *)) in rb_next_match()
329 if (node && cmp(key, node)) in rb_next_match()
341 #define rb_for_each(node, key, tree, cmp) \ argument
342 for ((node) = rb_find_first((key), (tree), (cmp)); \
343 (node); (node) = rb_next_match((key), (node), (cmp)))