Home
last modified time | relevance | path

Searched refs:__rb_parent_color (Results 1 – 3 of 3) sorted by relevance

/tools/include/linux/
Drbtree_augmented.h108 #define rb_color(rb) __rb_color((rb)->__rb_parent_color)
109 #define rb_is_red(rb) __rb_is_red((rb)->__rb_parent_color)
110 #define rb_is_black(rb) __rb_is_black((rb)->__rb_parent_color)
114 rb->__rb_parent_color = rb_color(rb) | (unsigned long)p; in rb_set_parent()
120 rb->__rb_parent_color = (unsigned long)p | color; in rb_set_parent_color()
155 pc = node->__rb_parent_color; in __rb_erase_augmented()
159 child->__rb_parent_color = pc; in __rb_erase_augmented()
166 tmp->__rb_parent_color = pc = node->__rb_parent_color; in __rb_erase_augmented()
217 pc = node->__rb_parent_color; in __rb_erase_augmented()
221 successor->__rb_parent_color = pc; in __rb_erase_augmented()
[all …]
Drbtree.h36 unsigned long __rb_parent_color; member
47 #define rb_parent(r) ((struct rb_node *)((r)->__rb_parent_color & ~3))
56 ((node)->__rb_parent_color == (unsigned long)(node))
58 ((node)->__rb_parent_color = (unsigned long)(node))
82 node->__rb_parent_color = (unsigned long)parent; in rb_link_node()
/tools/lib/
Drbtree.c48 rb->__rb_parent_color |= RB_BLACK; in rb_set_black()
53 return (struct rb_node *)red->__rb_parent_color; in rb_red_parent()
66 new->__rb_parent_color = old->__rb_parent_color; in __rb_rotate_set_parents()