Home
last modified time | relevance | path

Searched refs:rb_root_cached (Results 1 – 25 of 69) sorted by relevance

123

/Linux-v5.4/drivers/infiniband/hw/usnic/
Dusnic_uiom_interval_tree.h51 struct rb_root_cached *root);
54 struct rb_root_cached *root);
56 usnic_uiom_interval_tree_iter_first(struct rb_root_cached *root,
66 int usnic_uiom_insert_interval(struct rb_root_cached *root,
74 void usnic_uiom_remove_interval(struct rb_root_cached *root,
84 struct rb_root_cached *root,
Dusnic_uiom_interval_tree.c103 find_intervals_intersection_sorted(struct rb_root_cached *root, in find_intervals_intersection_sorted()
121 struct rb_root_cached *root, in usnic_uiom_get_intervals_diff()
178 int usnic_uiom_insert_interval(struct rb_root_cached *root, unsigned long start, in usnic_uiom_insert_interval()
249 void usnic_uiom_remove_interval(struct rb_root_cached *root, in usnic_uiom_remove_interval()
/Linux-v5.4/tools/perf/util/
Dsrcline.h22 void srcline__tree_insert(struct rb_root_cached *tree, u64 addr, char *srcline);
24 char *srcline__tree_find(struct rb_root_cached *tree, u64 addr);
26 void srcline__tree_delete(struct rb_root_cached *tree);
49 void inlines__tree_insert(struct rb_root_cached *tree,
52 struct inline_node *inlines__tree_find(struct rb_root_cached *tree, u64 addr);
54 void inlines__tree_delete(struct rb_root_cached *tree);
Dsymbol.h61 void symbols__delete(struct rb_root_cached *symbols);
194 void __symbols__insert(struct rb_root_cached *symbols, struct symbol *sym,
196 void symbols__insert(struct rb_root_cached *symbols, struct symbol *sym);
197 void symbols__fixup_duplicate(struct rb_root_cached *symbols);
198 void symbols__fixup_end(struct rb_root_cached *symbols);
Ddso.h139 struct rb_root_cached symbols;
140 struct rb_root_cached symbol_names;
141 struct rb_root_cached inlined_nodes;
142 struct rb_root_cached srclines;
Dhist.c336 struct rb_root_cached *root_in; in hists__delete_entry()
337 struct rb_root_cached *root_out; in hists__delete_entry()
1395 struct rb_root_cached *root, in hierarchy_insert_entry()
1467 struct rb_root_cached *root, in hists__hierarchy_insert_entry()
1514 struct rb_root_cached *root, in hists__collapse_insert_entry()
1564 struct rb_root_cached *hists__get_rotate_entries_in(struct hists *hists) in hists__get_rotate_entries_in()
1566 struct rb_root_cached *root; in hists__get_rotate_entries_in()
1589 struct rb_root_cached *root; in hists__collapse_resort()
1700 static void hierarchy_insert_output_entry(struct rb_root_cached *root, in hierarchy_insert_output_entry()
1733 struct rb_root_cached *root_in, in hists__hierarchy_output_resort()
[all …]
Dsrcline.c600 void srcline__tree_insert(struct rb_root_cached *tree, u64 addr, char *srcline) in srcline__tree_insert()
630 char *srcline__tree_find(struct rb_root_cached *tree, u64 addr) in srcline__tree_find()
649 void srcline__tree_delete(struct rb_root_cached *tree) in srcline__tree_delete()
691 void inlines__tree_insert(struct rb_root_cached *tree, in inlines__tree_insert()
714 struct inline_node *inlines__tree_find(struct rb_root_cached *tree, u64 addr) in inlines__tree_find()
733 void inlines__tree_delete(struct rb_root_cached *tree) in inlines__tree_delete()
Dsymbol.c185 void symbols__fixup_duplicate(struct rb_root_cached *symbols) in symbols__fixup_duplicate()
219 void symbols__fixup_end(struct rb_root_cached *symbols) in symbols__fixup_end()
304 void symbols__delete(struct rb_root_cached *symbols) in symbols__delete()
317 void __symbols__insert(struct rb_root_cached *symbols, in __symbols__insert()
351 void symbols__insert(struct rb_root_cached *symbols, struct symbol *sym) in symbols__insert()
356 static struct symbol *symbols__find(struct rb_root_cached *symbols, u64 ip) in symbols__find()
379 static struct symbol *symbols__first(struct rb_root_cached *symbols) in symbols__first()
389 static struct symbol *symbols__last(struct rb_root_cached *symbols) in symbols__last()
409 static void symbols__insert_by_name(struct rb_root_cached *symbols, struct symbol *sym) in symbols__insert_by_name()
432 static void symbols__sort_by_name(struct rb_root_cached *symbols, in symbols__sort_by_name()
[all …]
Dhist.h79 struct rb_root_cached entries_in_array[2];
80 struct rb_root_cached *entries_in;
81 struct rb_root_cached entries;
82 struct rb_root_cached entries_collapsed;
246 struct rb_root_cached *hists__get_rotate_entries_in(struct hists *hists);
Drblist.h23 struct rb_root_cached entries;
Dsort.h150 struct rb_root_cached hroot_in;
151 struct rb_root_cached hroot_out;
/Linux-v5.4/include/linux/
Dinterval_tree.h16 struct rb_root_cached *root);
20 struct rb_root_cached *root);
23 interval_tree_iter_first(struct rb_root_cached *root,
Drbtree.h125 struct rb_root_cached { struct
130 #define RB_ROOT_CACHED (struct rb_root_cached) { {NULL, }, NULL } argument
136 struct rb_root_cached *root, in rb_insert_color_cached()
145 struct rb_root_cached *root) in rb_erase_cached()
154 struct rb_root_cached *root) in rb_replace_node_cached()
Dinterval_tree_generic.h39 struct rb_root_cached *root) \
66 struct rb_root_cached *root) \
119 ITPREFIX ## _iter_first(struct rb_root_cached *root, \
Dtimerqueue.h15 struct rb_root_cached rb_root;
/Linux-v5.4/tools/include/linux/
Drbtree.h119 struct rb_root_cached { struct
124 #define RB_ROOT_CACHED (struct rb_root_cached) { {NULL, }, NULL } argument
130 struct rb_root_cached *root, in rb_insert_color_cached()
139 struct rb_root_cached *root) in rb_erase_cached()
148 struct rb_root_cached *root) in rb_replace_node_cached()
/Linux-v5.4/mm/
Dinterval_tree.c30 struct rb_root_cached *root) in vma_interval_tree_insert_after()
76 struct rb_root_cached *root) in INTERVAL_TREE_DEFINE()
86 struct rb_root_cached *root) in anon_vma_interval_tree_remove()
92 anon_vma_interval_tree_iter_first(struct rb_root_cached *root, in anon_vma_interval_tree_iter_first()
/Linux-v5.4/lib/
Drbtree_test.c27 static struct rb_root_cached root = RB_ROOT_CACHED;
32 static void insert(struct test_node *node, struct rb_root_cached *root) in insert()
49 static void insert_cached(struct test_node *node, struct rb_root_cached *root) in insert_cached()
69 static inline void erase(struct test_node *node, struct rb_root_cached *root) in erase()
74 static inline void erase_cached(struct test_node *node, struct rb_root_cached *root) in erase_cached()
86 struct rb_root_cached *root) in RB_DECLARE_CALLBACKS_MAX()
110 struct rb_root_cached *root) in insert_augmented_cached()
138 static void erase_augmented(struct test_node *node, struct rb_root_cached *root) in erase_augmented()
144 struct rb_root_cached *root) in erase_augmented_cached()
Dinterval_tree_test.c23 static struct rb_root_cached root = RB_ROOT_CACHED;
30 search(struct rb_root_cached *root, unsigned long start, unsigned long last) in search()
/Linux-v5.4/include/rdma/
Dib_umem_odp.h128 struct rb_root_cached umem_tree;
154 int rbt_ib_umem_for_each_in_range(struct rb_root_cached *root,
164 rbt_ib_umem_lookup(struct rb_root_cached *root, u64 addr, u64 length) in rbt_ib_umem_lookup()
/Linux-v5.4/fs/btrfs/
Ddelayed-inode.h53 struct rb_root_cached ins_root;
54 struct rb_root_cached del_root;
Ddelayed-ref.h82 struct rb_root_cached ref_tree;
140 struct rb_root_cached href_root;
/Linux-v5.4/tools/perf/tests/
Dhists_output.c95 struct rb_root_cached *root_in; in del_hist_entries()
96 struct rb_root_cached *root_out; in del_hist_entries()
130 struct rb_root_cached *root; in test1()
232 struct rb_root_cached *root; in test2()
288 struct rb_root_cached *root; in test3()
362 struct rb_root_cached *root; in test4()
464 struct rb_root_cached *root; in test5()
Dhists_common.c166 struct rb_root_cached *root; in print_hists_in()
196 struct rb_root_cached *root; in print_hists_out()
/Linux-v5.4/Documentation/
Drbtree.txt201 order for their own logic. To this end, users can use 'struct rb_root_cached'
209 struct rb_root_cached mytree = RB_ROOT_CACHED;
212 leftmost node. This allows rb_root_cached to exist wherever rb_root does,
216 struct rb_node *rb_first_cached(struct rb_root_cached *tree);
217 void rb_insert_color_cached(struct rb_node *, struct rb_root_cached *, bool);
218 void rb_erase_cached(struct rb_node *node, struct rb_root_cached *);
223 void rb_insert_augmented_cached(struct rb_node *node, struct rb_root_cached *,
225 void rb_erase_augmented_cached(struct rb_node *, struct rb_root_cached *,

123