/openbmc/linux/include/linux/ |
H A D | interval_tree_generic.h | 41 struct rb_node **link = &root->rb_root.rb_node, *rb_parent = NULL; \ 47 rb_parent = *link; \ 48 parent = rb_entry(rb_parent, ITSTRUCT, ITRB); \ 60 rb_link_node(&node->ITRB, rb_parent, link); \ 173 rb = rb_parent(&node->ITRB); \
|
H A D | rbtree.h | 26 #define rb_parent(r) ((struct rb_node *)((r)->__rb_parent_color & ~3)) macro
|
H A D | rbtree_augmented.h | 109 rb = rb_parent(&node->RBFIELD); \
|
/openbmc/linux/tools/include/linux/ |
H A D | interval_tree_generic.h | 41 struct rb_node **link = &root->rb_root.rb_node, *rb_parent = NULL; \ 47 rb_parent = *link; \ 48 parent = rb_entry(rb_parent, ITSTRUCT, ITRB); \ 60 rb_link_node(&node->ITRB, rb_parent, link); \ 173 rb = rb_parent(&node->ITRB); \
|
H A D | rbtree.h | 34 #define rb_parent(r) ((struct rb_node *)((r)->__rb_parent_color & ~3)) macro
|
H A D | rbtree_augmented.h | 85 rb = rb_parent(&node->RBFIELD); \
|
/openbmc/linux/scripts/gdb/linux/ |
H A D | rbtree.py | 45 def rb_parent(node): function 69 parent = rb_parent(node) 72 parent = rb_parent(node) 92 parent = rb_parent(node) 95 parent = rb_parent(node)
|
/openbmc/linux/lib/ |
H A D | rbtree_test.c | 88 struct rb_node **new = &root->rb_root.rb_node, *rb_parent = NULL; in RB_DECLARE_CALLBACKS_MAX() local 94 rb_parent = *new; in RB_DECLARE_CALLBACKS_MAX() 95 parent = rb_entry(rb_parent, struct test_node, rb); in RB_DECLARE_CALLBACKS_MAX() 105 rb_link_node(&node->rb, rb_parent, new); in RB_DECLARE_CALLBACKS_MAX() 112 struct rb_node **new = &root->rb_root.rb_node, *rb_parent = NULL; in insert_augmented_cached() local 119 rb_parent = *new; in insert_augmented_cached() 120 parent = rb_entry(rb_parent, struct test_node, rb); in insert_augmented_cached() 132 rb_link_node(&node->rb, rb_parent, new); in insert_augmented_cached() 166 for (count = 0; rb; rb = rb_parent(rb)) in black_path_count() 201 (!rb_parent(rb) || is_red(rb_parent(rb)))); in check()
|
H A D | rbtree.c | 78 struct rb_node *parent = rb_parent(old); in __rb_rotate_set_parents() 134 parent = rb_parent(node); in __rb_insert() 190 parent = rb_parent(node); in __rb_insert() 286 parent = rb_parent(node); in ____rb_erase_color() 376 parent = rb_parent(node); in ____rb_erase_color() 517 while ((parent = rb_parent(node)) && node == parent->rb_right) in rb_next() 546 while ((parent = rb_parent(node)) && node == parent->rb_left) in rb_prev() 556 struct rb_node *parent = rb_parent(victim); in rb_replace_node() 573 struct rb_node *parent = rb_parent(victim); in rb_replace_node_rcu() 609 parent = rb_parent(node); in rb_next_postorder()
|
/openbmc/u-boot/lib/ |
H A D | rbtree.c | 56 struct rb_node *parent = rb_parent(old); in __rb_rotate_set_parents() 103 parent = rb_parent(node); in __rb_insert() 156 parent = rb_parent(node); in __rb_insert() 250 parent = rb_parent(node); in ____rb_erase_color() 322 parent = rb_parent(node); in ____rb_erase_color() 459 while ((parent = rb_parent(node)) && node == parent->rb_right) in rb_next() 488 while ((parent = rb_parent(node)) && node == parent->rb_left) in rb_prev() 498 struct rb_node *parent = rb_parent(victim); in rb_replace_node() 529 parent = rb_parent(node); in rb_next_postorder()
|
/openbmc/linux/tools/lib/ |
H A D | rbtree.c | 78 struct rb_node *parent = rb_parent(old); in __rb_rotate_set_parents() 134 parent = rb_parent(node); in __rb_insert() 190 parent = rb_parent(node); in __rb_insert() 286 parent = rb_parent(node); in ____rb_erase_color() 376 parent = rb_parent(node); in ____rb_erase_color() 511 while ((parent = rb_parent(node)) && node == parent->rb_right) in rb_next() 539 while ((parent = rb_parent(node)) && node == parent->rb_left) in rb_prev() 548 struct rb_node *parent = rb_parent(victim); in rb_replace_node() 578 parent = rb_parent(node); in rb_next_postorder()
|
/openbmc/qemu/util/ |
H A D | interval-tree.c | 80 static inline RBNode *rb_parent(const RBNode *n) in rb_parent() function 248 parent = rb_parent(node); in rb_insert_augmented() 305 parent = rb_parent(node); in rb_insert_augmented() 405 parent = rb_parent(node); in rb_erase_color() 494 parent = rb_parent(node); in rb_erase_color() 683 rb = rb_parent(&node->rb); in interval_tree_propagate() 713 RBNode **link = &root->rb_root.rb_node, *rb_parent = NULL; in interval_tree_insert() local 719 rb_parent = *link; in interval_tree_insert() 720 parent = rb_to_itree(rb_parent); in interval_tree_insert() 734 rb_link_node(&node->rb, rb_parent, link); in interval_tree_insert() [all …]
|
/openbmc/linux/Documentation/translations/zh_CN/core-api/ |
H A D | rbtree.rst | 335 rb = rb_parent(&node->rb); 367 struct rb_node **link = &root->rb_node, *rb_parent = NULL; 372 rb_parent = *link; 373 parent = rb_entry(rb_parent, struct interval_tree_node, rb); 383 rb_link_node(&node->rb, rb_parent, link);
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_mm.c | 182 rb = rb_parent(rb); in drm_mm_interval_tree_add_node() 247 struct rb_node **link = &root->rb_node, *rb_parent = NULL; in RB_DECLARE_CALLBACKS_MAX() local 252 rb_parent = *link; in RB_DECLARE_CALLBACKS_MAX() 253 parent = rb_entry(rb_parent, struct drm_mm_node, rb_hole_addr); in RB_DECLARE_CALLBACKS_MAX() 262 rb_link_node(&node->rb_hole_addr, rb_parent, link); in RB_DECLARE_CALLBACKS_MAX() 404 while ((parent = rb_parent(node)) && node == parent->first) \
|
/openbmc/u-boot/include/linux/ |
H A D | rbtree.h | 36 #define rb_parent(r) ((struct rb_node *)((r)->__rb_parent_color & ~3)) macro
|
H A D | rbtree_augmented.h | 51 rb = rb_parent(&node->rbfield); \
|
/openbmc/linux/Documentation/core-api/ |
H A D | rbtree.rst | 373 rb = rb_parent(&node->rb); 405 struct rb_node **link = &root->rb_node, *rb_parent = NULL; 410 rb_parent = *link; 411 parent = rb_entry(rb_parent, struct interval_tree_node, rb); 421 rb_link_node(&node->rb, rb_parent, link);
|
/openbmc/linux/block/ |
H A D | bfq-wf2q.c | 456 parent = rb_parent(node); in bfq_update_active_tree() 549 deepest = rb_parent(node); in bfq_find_deepest() 558 else if (rb_parent(deepest) != node) in bfq_find_deepest() 559 deepest = rb_parent(deepest); in bfq_find_deepest()
|
/openbmc/linux/mm/ |
H A D | kmemleak.c | 636 struct rb_node **link, *rb_parent; in __create_object() local 696 rb_parent = NULL; in __create_object() 698 rb_parent = *link; in __create_object() 699 parent = rb_entry(rb_parent, struct kmemleak_object, rb_node); in __create_object() 717 rb_link_node(&object->rb_node, rb_parent, link); in __create_object()
|
/openbmc/linux/fs/jffs2/ |
H A D | nodelist.h | 349 #define frag_parent(frag) rb_entry(rb_parent(&(frag)->rb), struct jffs2_node_frag, rb) 356 #define tn_parent(tn) rb_entry(rb_parent(&(tn)->rb), struct jffs2_tmp_dnode_info, rb)
|
H A D | readinode.c | 404 struct rb_node *parent = rb_parent(node); in eat_last()
|
/openbmc/u-boot/drivers/mtd/ubi/ |
H A D | attach.c | 1144 this = rb_parent(this); in destroy_av() 1195 rb = rb_parent(rb); in destroy_ai()
|
H A D | wl.c | 1425 rb = rb_parent(rb);
|
/openbmc/linux/drivers/mtd/ubi/ |
H A D | attach.c | 1290 this = rb_parent(this); in destroy_av() 1348 rb = rb_parent(rb); in destroy_ai()
|
/openbmc/linux/net/tipc/ |
H A D | name_table.c | 197 while ((p = rb_parent(n)) && n == p->rb_right) in service_range_match_next()
|