Lines Matching refs:node
93 typedef void (*rb_visit_t)(struct rbnode *node, void *cookie);
95 struct rbnode *z_rb_child(struct rbnode *node, uint8_t side);
96 int z_rb_is_black(struct rbnode *node);
98 void z_rb_walk(struct rbnode *node, rb_visit_t visit_fn, void *cookie);
105 void rb_insert(struct rbtree *tree, struct rbnode *node);
110 void rb_remove(struct rbtree *tree, struct rbnode *node);
137 bool rb_contains(struct rbtree *tree, struct rbnode *node);
162 #define _RB_FOREACH_INIT(tree, node) { \ argument
168 #define _RB_FOREACH_INIT(tree, node) { \ argument
199 #define RB_FOR_EACH(tree, node) \ argument
200 for (struct _rb_foreach __f = _RB_FOREACH_INIT(tree, node); \
201 (node = z_rb_foreach_next(tree, &__f)); \
214 #define RB_FOR_EACH_CONTAINER(tree, node, field) \ argument
215 for (struct _rb_foreach __f = _RB_FOREACH_INIT(tree, node); \
217 node = n ? CONTAINER_OF(n, __typeof__(*(node)), \