Home
last modified time | relevance | path

Searched refs:rb_right (Results 1 – 25 of 29) sorted by relevance

12

/tools/lib/
Drbtree.c115 tmp = gparent->rb_right; in __rb_insert()
139 tmp = parent->rb_right; in __rb_insert()
155 WRITE_ONCE(parent->rb_right, tmp); in __rb_insert()
163 tmp = node->rb_right; in __rb_insert()
177 WRITE_ONCE(parent->rb_right, gparent); in __rb_insert()
198 tmp = node->rb_right; in __rb_insert()
200 WRITE_ONCE(node->rb_right, parent); in __rb_insert()
211 WRITE_ONCE(gparent->rb_right, tmp); /* == parent->rb_left */ in __rb_insert()
240 sibling = parent->rb_right; in ____rb_erase_color()
253 WRITE_ONCE(parent->rb_right, tmp1); in ____rb_erase_color()
[all …]
/tools/include/linux/
Dinterval_tree_generic.h54 link = &parent->ITRB.rb_right; \
107 if (node->ITRB.rb_right) { \
108 node = rb_entry(node->ITRB.rb_right, \
154 struct rb_node *rb = node->ITRB.rb_right, *prev; \
178 rb = node->ITRB.rb_right; \
Drbtree.h25 struct rb_node *rb_right; member
70 node->rb_left = node->rb_right = NULL; in rb_link_node()
190 link = &parent->rb_right; in rb_add_cached()
217 link = &parent->rb_right; in rb_add()
248 link = &parent->rb_right; in rb_find_add()
278 node = node->rb_right; in rb_find()
309 node = node->rb_right; in rb_find_first()
Drbtree_augmented.h133 if (node->RBFIELD.rb_right) { \
134 child = rb_entry(node->RBFIELD.rb_right, RBSTRUCT, RBFIELD); \
178 WRITE_ONCE(parent->rb_right, new); in __rb_change_child()
190 struct rb_node *child = node->rb_right; in __rb_erase_augmented()
234 child2 = successor->rb_right; in __rb_erase_augmented()
257 child2 = successor->rb_right; in __rb_erase_augmented()
259 WRITE_ONCE(successor->rb_right, child); in __rb_erase_augmented()
/tools/perf/util/
Dblock-range.c42 p = &parent->rb_right; in block_range__find()
55 p = &node->rb_right; in rb_link_left_of_node()
62 struct rb_node **p = &node->rb_right; in rb_link_right_of_node()
91 p = &parent->rb_right; in block_range__create()
Drblist.c28 p = &(*p)->rb_right; in rblist__add_node()
70 p = &(*p)->rb_right; in __rblist__findnew()
Dmem2node.c31 p = &(*p)->rb_right; in phys_entry__insert()
131 p = &(*p)->rb_right; in mem2node__node()
Denv.c46 p = &(*p)->rb_right; in __perf_env__insert_bpf_prog_info()
72 n = n->rb_right; in perf_env__find_bpf_prog_info()
108 p = &(*p)->rb_right; in __perf_env__insert_btf()
143 n = n->rb_right; in __perf_env__find_btf()
Dcall-path.c103 p = &(*p)->rb_right; in call_path__findnew()
Dcomm.c84 p = &(*p)->rb_right; in __comm_str__findnew()
Drb_resort.h85 p = &(*p)->rb_right; \
Dsrcline.c939 p = &(*p)->rb_right; in srcline__tree_insert()
958 n = n->rb_right; in srcline__tree_find()
1023 p = &(*p)->rb_right; in inlines__tree_insert()
1042 n = n->rb_right; in inlines__tree_find()
Dmaps.c56 p = &(*p)->rb_right; in __maps__insert()
302 next = next->rb_right; in maps__fixup_overlappings()
444 p = p->rb_right; in maps__find()
Dhist.c650 p = &(*p)->rb_right; in hists__findnew_entry()
1506 p = &parent->rb_right; in hierarchy_insert_entry()
1642 p = &(*p)->rb_right; in hists__collapse_insert_entry()
1805 p = &parent->rb_right; in hierarchy_insert_output_entry()
1905 p = &(*p)->rb_right; in __hists__insert_output_entry()
2216 p = &(*p)->rb_right; in resort_filtered_entry()
2404 p = &(*p)->rb_right; in hists__add_dummy_entry()
2452 p = &parent->rb_right; in add_dummy_hierarchy_entry()
2488 n = n->rb_right; in hists__find_entry()
2516 n = n->rb_right; in hists__find_hierarchy_entry()
Ddsos.c169 p = &parent->rb_right; in __dsos__findnew_link_by_longname_id()
Dcallchain.c400 p = &(*p)->rb_right; in rb_insert_callchain()
407 p = &(*p)->rb_right; in rb_insert_callchain()
859 pp = &p->rb_right; in split_add_child()
906 p = &parent->rb_right; in append_chain_children()
Dcgroup.c528 p = &(*p)->rb_right; in __cgroup__findnew()
Dsymbol.c344 p = &(*p)->rb_right; in __symbols__insert()
372 n = n->rb_right; in symbols__find()
999 p = &(*p)->rb_right; in add_module()
1033 n = n->rb_right; in find_module()
Ddso.c870 p = &(*p)->rb_right; in __dso_cache__find()
898 p = &(*p)->rb_right; in dso_cache__insert()
/tools/perf/
Dbuiltin-kmem.c99 node = &(*node)->rb_right; in insert_alloc_stat()
144 node = &(*node)->rb_right; in insert_caller_stat()
239 node = node->rb_right; in search_alloc_stat()
478 node = &parent->rb_right; in __page_stat__findnew_page()
533 node = &parent->rb_right; in __page_stat__findnew_alloc()
588 node = &parent->rb_right; in __page_stat__findnew_caller()
1293 new = &((*new)->rb_right); in sort_slab_insert()
1340 new = &parent->rb_right; in sort_page_insert()
Dbuiltin-lock.c99 node = node->rb_right; in thread_stat_find()
118 rb = &(*rb)->rb_right; in thread_stat_insert()
432 rb = &(*rb)->rb_right; in combine_lock_stats()
456 rb = &(*rb)->rb_right; in insert_to_result()
Dbuiltin-kwork.c280 node = node->rb_right; in work_search()
306 new = &((*new)->rb_right); in work_insert()
/tools/bpf/resolve_btfids/
Dmain.c189 p = p->rb_right; in btf_id__find()
211 p = &(*p)->rb_right; in btf_id__add()
/tools/testing/selftests/kvm/lib/
Dkvm_util.c587 node = node->rb_right; in userspace_mem_region_find()
844 cur = &(*cur)->rb_right; in vm_userspace_mem_region_gpa_insert()
869 cur = &(*cur)->rb_right; in vm_userspace_mem_region_hva_insert()
1524 node = node->rb_right; in addr_hva2gpa()
/tools/perf/ui/browsers/
Dannotate.c264 p = &(*p)->rb_right; in disasm_rb_tree__insert()

12