Searched refs:RB_PARENT (Results 1 – 3 of 3) sorted by relevance
/external/openssh/openbsd-compat/ |
D | sys-tree.h | 317 #define RB_PARENT(elm, field) (elm)->field.rbe_parent macro 323 RB_PARENT(elm, field) = parent; \ 340 RB_PARENT(RB_LEFT(tmp, field), field) = (elm); \ 343 if ((RB_PARENT(tmp, field) = RB_PARENT(elm, field))) { \ 344 if ((elm) == RB_LEFT(RB_PARENT(elm, field), field)) \ 345 RB_LEFT(RB_PARENT(elm, field), field) = (tmp); \ 347 RB_RIGHT(RB_PARENT(elm, field), field) = (tmp); \ 351 RB_PARENT(elm, field) = (tmp); \ 353 if ((RB_PARENT(tmp, field))) \ 354 RB_AUGMENT(RB_PARENT(tmp, field)); \ [all …]
|
/external/qemu/ |
D | sys-tree.h | 326 #define RB_PARENT(elm, field) (elm)->field.rbe_parent macro 332 RB_PARENT(elm, field) = parent; \ 349 RB_PARENT(RB_LEFT(tmp, field), field) = (elm); \ 352 if ((RB_PARENT(tmp, field) = RB_PARENT(elm, field)) != NULL) { \ 353 if ((elm) == RB_LEFT(RB_PARENT(elm, field), field)) \ 354 RB_LEFT(RB_PARENT(elm, field), field) = (tmp); \ 356 RB_RIGHT(RB_PARENT(elm, field), field) = (tmp); \ 360 RB_PARENT(elm, field) = (tmp); \ 362 if ((RB_PARENT(tmp, field))) \ 363 RB_AUGMENT(RB_PARENT(tmp, field)); \ [all …]
|
/external/openssh/ |
D | monitor_mm.c | 236 if (RB_PARENT(prev, next) && in mm_free() 237 (prev == RB_RIGHT(RB_PARENT(prev, next), next))) in mm_free() 238 prev = RB_PARENT(prev, next); in mm_free() 240 while (RB_PARENT(prev, next) && in mm_free() 241 (prev == RB_LEFT(RB_PARENT(prev, next), next))) in mm_free() 242 prev = RB_PARENT(prev, next); in mm_free() 243 prev = RB_PARENT(prev, next); in mm_free()
|