Searched refs:RB_PARENT (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/contrib/bhyve/sys/ |
H A D | tree.h | 320 #define RB_PARENT(elm, field) (elm)->field.rbe_parent macro 326 RB_PARENT(elm, field) = parent; \ 343 RB_PARENT(RB_LEFT(tmp, field), field) = (elm); \ 346 if ((RB_PARENT(tmp, field) = RB_PARENT(elm, field)) != NULL) { \ 347 if ((elm) == RB_LEFT(RB_PARENT(elm, field), field)) \ 348 RB_LEFT(RB_PARENT(elm, field), field) = (tmp); \ 350 RB_RIGHT(RB_PARENT(elm, field), field) = (tmp); \ 354 RB_PARENT(elm, field) = (tmp); \ 356 if ((RB_PARENT(tmp, field))) \ 357 RB_AUGMENT(RB_PARENT(tmp, field)); \ [all …]
|