Searched refs:__rb_parent_color (Results 1 – 3 of 3) sorted by relevance
82 #define rb_color(rb) __rb_color((rb)->__rb_parent_color)83 #define rb_is_red(rb) __rb_is_red((rb)->__rb_parent_color)84 #define rb_is_black(rb) __rb_is_black((rb)->__rb_parent_color)88 rb->__rb_parent_color = rb_color(rb) | (unsigned long)p; in rb_set_parent()94 rb->__rb_parent_color = (unsigned long)p | color; in rb_set_parent_color()129 pc = node->__rb_parent_color; in __rb_erase_augmented()133 child->__rb_parent_color = pc; in __rb_erase_augmented()140 tmp->__rb_parent_color = pc = node->__rb_parent_color; in __rb_erase_augmented()191 pc = node->__rb_parent_color; in __rb_erase_augmented()195 successor->__rb_parent_color = pc; in __rb_erase_augmented()[all …]
25 unsigned long __rb_parent_color; member36 #define rb_parent(r) ((struct rb_node *)((r)->__rb_parent_color & ~3))45 ((node)->__rb_parent_color == (unsigned long)(node))47 ((node)->__rb_parent_color = (unsigned long)(node))71 node->__rb_parent_color = (unsigned long)parent; in rb_link_node()
39 rb->__rb_parent_color |= RB_BLACK; in rb_set_black()44 return (struct rb_node *)red->__rb_parent_color; in rb_red_parent()57 new->__rb_parent_color = old->__rb_parent_color; in __rb_rotate_set_parents()