Searched refs:gparent (Results 1 – 2 of 2) sorted by relevance
/haiku/src/libs/compat/openbsd_wlan/ |
H A D | subr_tree.c | 169 struct rb_entry *parent, *gparent, *tmp; in rbe_insert_color() local 173 gparent = RBE_PARENT(parent); in rbe_insert_color() 175 if (parent == RBE_LEFT(gparent)) { in rbe_insert_color() 176 tmp = RBE_RIGHT(gparent); in rbe_insert_color() 179 rbe_set_blackred(parent, gparent); in rbe_insert_color() 180 rbe = gparent; in rbe_insert_color() 191 rbe_set_blackred(parent, gparent); in rbe_insert_color() 192 rbe_rotate_right(t, rbt, gparent); in rbe_insert_color() 194 tmp = RBE_LEFT(gparent); in rbe_insert_color() 197 rbe_set_blackred(parent, gparent); in rbe_insert_color() [all …]
|
/haiku/src/libs/compat/openbsd_wlan/sys/ |
H A D | tree.h | 405 struct type *parent, *gparent, *tmp; \ 408 gparent = RB_PARENT(parent, field); \ 409 if (parent == RB_LEFT(gparent, field)) { \ 410 tmp = RB_RIGHT(gparent, field); \ 413 RB_SET_BLACKRED(parent, gparent, field);\ 414 elm = gparent; \ 423 RB_SET_BLACKRED(parent, gparent, field); \ 424 RB_ROTATE_RIGHT(head, gparent, tmp, field); \ 426 tmp = RB_LEFT(gparent, field); \ 429 RB_SET_BLACKRED(parent, gparent, field);\ [all …]
|