Lines Matching refs:rb
43 rbname ## _propagate(struct rb_node *rb, struct rb_node *stop) \
45 while (rb != stop) { \
46 rbstruct *node = rb_entry(rb, rbstruct, rbfield); \
51 rb = rb_parent(&node->rbfield); \
82 #define rb_color(rb) __rb_color((rb)->__rb_parent_color) argument
83 #define rb_is_red(rb) __rb_is_red((rb)->__rb_parent_color) argument
84 #define rb_is_black(rb) __rb_is_black((rb)->__rb_parent_color) argument
86 static inline void rb_set_parent(struct rb_node *rb, struct rb_node *p) in rb_set_parent() argument
88 rb->__rb_parent_color = rb_color(rb) | (unsigned long)p; in rb_set_parent()
91 static inline void rb_set_parent_color(struct rb_node *rb, in rb_set_parent_color() argument
94 rb->__rb_parent_color = (unsigned long)p | color; in rb_set_parent_color()