Lines Matching refs:rb_node
35 struct rb_node { struct
37 struct rb_node *rb_right; argument
38 struct rb_node *rb_left; argument
43 struct rb_node *rb_node; member
47 #define rb_parent(r) ((struct rb_node *)((r)->__rb_parent_color & ~3))
52 #define RB_EMPTY_ROOT(root) ((root)->rb_node == NULL)
61 extern void rb_insert_color(struct rb_node *, struct rb_root *);
62 extern void rb_erase(struct rb_node *, struct rb_root *);
66 extern struct rb_node *rb_next(const struct rb_node *);
67 extern struct rb_node *rb_prev(const struct rb_node *);
68 extern struct rb_node *rb_first(const struct rb_root *);
69 extern struct rb_node *rb_last(const struct rb_root *);
72 extern struct rb_node *rb_first_postorder(const struct rb_root *);
73 extern struct rb_node *rb_next_postorder(const struct rb_node *);
76 extern void rb_replace_node(struct rb_node *victim, struct rb_node *new,
79 static inline void rb_link_node(struct rb_node *node, struct rb_node *parent, in rb_link_node()
80 struct rb_node **rb_link) in rb_link_node()
99 static inline void rb_erase_init(struct rb_node *n, struct rb_root *root) in rb_erase_init()