Home
last modified time | relevance | path

Searched refs:RB_RED (Results 1 – 4 of 4) sorted by relevance

/openbsd/src/sys/kern/
Dsubr_tree.c74 RBE_COLOR(rbe) = RB_RED; in rbe_set()
81 RBE_COLOR(red) = RB_RED; in rbe_set_blackred()
172 RBE_COLOR(parent) == RB_RED) { in rbe_insert_color()
177 if (tmp != NULL && RBE_COLOR(tmp) == RB_RED) { in rbe_insert_color()
195 if (tmp != NULL && RBE_COLOR(tmp) == RB_RED) { in rbe_insert_color()
227 if (RBE_COLOR(tmp) == RB_RED) { in rbe_remove_color()
236 RBE_COLOR(tmp) = RB_RED; in rbe_remove_color()
248 RBE_COLOR(tmp) = RB_RED; in rbe_remove_color()
264 if (RBE_COLOR(tmp) == RB_RED) { in rbe_remove_color()
274 RBE_COLOR(tmp) = RB_RED; in rbe_remove_color()
[all …]
/openbsd/src/lib/libc/gen/
Dtree.c74 RBE_COLOR(rbe) = RB_RED; in rbe_set()
81 RBE_COLOR(red) = RB_RED; in rbe_set_blackred()
172 RBE_COLOR(parent) == RB_RED) { in rbe_insert_color()
177 if (tmp != NULL && RBE_COLOR(tmp) == RB_RED) { in rbe_insert_color()
195 if (tmp != NULL && RBE_COLOR(tmp) == RB_RED) { in rbe_insert_color()
227 if (RBE_COLOR(tmp) == RB_RED) { in rbe_remove_color()
236 RBE_COLOR(tmp) = RB_RED; in rbe_remove_color()
248 RBE_COLOR(tmp) = RB_RED; in rbe_remove_color()
264 if (RBE_COLOR(tmp) == RB_RED) { in rbe_remove_color()
274 RBE_COLOR(tmp) = RB_RED; in rbe_remove_color()
[all …]
/openbsd/src/sys/sys/
Dtree.h306 #define RB_RED 1 macro
325 RB_COLOR(elm, field) = RB_RED; \
330 RB_COLOR(red, field) = RB_RED; \
407 RB_COLOR(parent, field) == RB_RED) { \
411 if (tmp && RB_COLOR(tmp, field) == RB_RED) { \
427 if (tmp && RB_COLOR(tmp, field) == RB_RED) { \
454 if (RB_COLOR(tmp, field) == RB_RED) { \
463 RB_COLOR(tmp, field) = RB_RED; \
472 RB_COLOR(tmp, field) = RB_RED; \
486 if (RB_COLOR(tmp, field) == RB_RED) { \
[all …]
/openbsd/src/sys/dev/pci/drm/include/linux/
Drbtree.h62 #define rb_is_red(r) (rb_color(r) == RB_RED)
130 rb_set_color(node, RB_RED); in rb_link_node()