Searched refs:RB_PARENT (Results 1 – 2 of 2) sorted by relevance
/external/openssh/openbsd-compat/ |
D | sys-tree.h | 322 #define RB_PARENT(elm, field) (elm)->field.rbe_parent macro 328 RB_PARENT(elm, field) = parent; \ 345 RB_PARENT(RB_LEFT(tmp, field), field) = (elm); \ 348 if ((RB_PARENT(tmp, field) = RB_PARENT(elm, field))) { \ 349 if ((elm) == RB_LEFT(RB_PARENT(elm, field), field)) \ 350 RB_LEFT(RB_PARENT(elm, field), field) = (tmp); \ 352 RB_RIGHT(RB_PARENT(elm, field), field) = (tmp); \ 356 RB_PARENT(elm, field) = (tmp); \ 358 if ((RB_PARENT(tmp, field))) \ 359 RB_AUGMENT(RB_PARENT(tmp, field)); \ [all …]
|
/external/openssh/ |
D | monitor_mm.c | 241 if (RB_PARENT(prev, next) && in mm_free() 242 (prev == RB_RIGHT(RB_PARENT(prev, next), next))) in mm_free() 243 prev = RB_PARENT(prev, next); in mm_free() 245 while (RB_PARENT(prev, next) && in mm_free() 246 (prev == RB_LEFT(RB_PARENT(prev, next), next))) in mm_free() 247 prev = RB_PARENT(prev, next); in mm_free() 248 prev = RB_PARENT(prev, next); in mm_free()
|