Home
last modified time | relevance | path

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

1234

/Linux-v5.15/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.c104 find_intervals_intersection_sorted(struct rb_root_cached *root, in find_intervals_intersection_sorted()
122 struct rb_root_cached *root, in usnic_uiom_get_intervals_diff()
179 int usnic_uiom_insert_interval(struct rb_root_cached *root, unsigned long start, in usnic_uiom_insert_interval()
250 void usnic_uiom_remove_interval(struct rb_root_cached *root, in usnic_uiom_remove_interval()
/Linux-v5.15/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.h63 void symbols__delete(struct rb_root_cached *symbols);
191 void __symbols__insert(struct rb_root_cached *symbols, struct symbol *sym,
193 void symbols__insert(struct rb_root_cached *symbols, struct symbol *sym);
194 void symbols__fixup_duplicate(struct rb_root_cached *symbols);
195 void symbols__fixup_end(struct rb_root_cached *symbols);
Dhist.c363 struct rb_root_cached *root_in; in hists__delete_entry()
364 struct rb_root_cached *root_out; in hists__delete_entry()
1459 struct rb_root_cached *root, in hierarchy_insert_entry()
1531 struct rb_root_cached *root, in hists__hierarchy_insert_entry()
1578 struct rb_root_cached *root, in hists__collapse_insert_entry()
1628 struct rb_root_cached *hists__get_rotate_entries_in(struct hists *hists) in hists__get_rotate_entries_in()
1630 struct rb_root_cached *root; in hists__get_rotate_entries_in()
1653 struct rb_root_cached *root; in hists__collapse_resort()
1764 static void hierarchy_insert_output_entry(struct rb_root_cached *root, in hierarchy_insert_output_entry()
1797 struct rb_root_cached *root_in, in hists__hierarchy_output_resort()
[all …]
Ddso.h152 struct rb_root_cached symbols;
153 struct rb_root_cached symbol_names;
154 struct rb_root_cached inlined_nodes;
155 struct rb_root_cached srclines;
Dsrcline.c614 void srcline__tree_insert(struct rb_root_cached *tree, u64 addr, char *srcline) in srcline__tree_insert()
644 char *srcline__tree_find(struct rb_root_cached *tree, u64 addr) in srcline__tree_find()
663 void srcline__tree_delete(struct rb_root_cached *tree) in srcline__tree_delete()
705 void inlines__tree_insert(struct rb_root_cached *tree, in inlines__tree_insert()
728 struct inline_node *inlines__tree_find(struct rb_root_cached *tree, u64 addr) in inlines__tree_find()
747 void inlines__tree_delete(struct rb_root_cached *tree) in inlines__tree_delete()
Dsymbol.c186 void symbols__fixup_duplicate(struct rb_root_cached *symbols) in symbols__fixup_duplicate()
220 void symbols__fixup_end(struct rb_root_cached *symbols) in symbols__fixup_end()
300 void symbols__delete(struct rb_root_cached *symbols) in symbols__delete()
313 void __symbols__insert(struct rb_root_cached *symbols, in __symbols__insert()
347 void symbols__insert(struct rb_root_cached *symbols, struct symbol *sym) in symbols__insert()
352 static struct symbol *symbols__find(struct rb_root_cached *symbols, u64 ip) in symbols__find()
375 static struct symbol *symbols__first(struct rb_root_cached *symbols) in symbols__first()
385 static struct symbol *symbols__last(struct rb_root_cached *symbols) in symbols__last()
405 static void symbols__insert_by_name(struct rb_root_cached *symbols, struct symbol *sym) in symbols__insert_by_name()
428 static void symbols__sort_by_name(struct rb_root_cached *symbols, in symbols__sort_by_name()
[all …]
Dhist.h86 struct rb_root_cached entries_in_array[2];
87 struct rb_root_cached *entries_in;
88 struct rb_root_cached entries;
89 struct rb_root_cached entries_collapsed;
254 struct rb_root_cached *hists__get_rotate_entries_in(struct hists *hists);
Drblist.h23 struct rb_root_cached entries;
/Linux-v5.15/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_types.h26 struct rb_root_cached { struct
32 #define RB_ROOT_CACHED (struct rb_root_cached) { {NULL, }, NULL } argument
Dinterval_tree_generic.h39 struct rb_root_cached *root) \
66 struct rb_root_cached *root) \
119 ITPREFIX ## _iter_first(struct rb_root_cached *root, \
Drbtree.h109 struct rb_root_cached *root, in rb_insert_color_cached()
119 rb_erase_cached(struct rb_node *node, struct rb_root_cached *root) in rb_erase_cached()
133 struct rb_root_cached *root) in rb_replace_node_cached()
165 rb_add_cached(struct rb_node *node, struct rb_root_cached *tree, in rb_add_cached()
Dtimerqueue.h15 struct rb_root_cached rb_root;
/Linux-v5.15/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.15/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()
178 rb_add_cached(struct rb_node *node, struct rb_root_cached *tree, in rb_add_cached()
/Linux-v5.15/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.15/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.15/fs/btrfs/
Ddelayed-inode.h53 struct rb_root_cached ins_root;
54 struct rb_root_cached del_root;
/Linux-v5.15/Documentation/core-api/
Drbtree.rst201 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 *,
/Linux-v5.15/include/drm/
Ddrm_mm.h209 struct rb_root_cached interval_tree;
210 struct rb_root_cached holes_size;
/Linux-v5.15/fs/f2fs/
Dextent_cache.c30 static struct rb_entry *__lookup_rb_tree_slow(struct rb_root_cached *root, in __lookup_rb_tree_slow()
49 struct rb_entry *f2fs_lookup_rb_tree(struct rb_root_cached *root, in f2fs_lookup_rb_tree()
62 struct rb_root_cached *root, in f2fs_lookup_rb_tree_ext()
85 struct rb_root_cached *root, in f2fs_lookup_rb_tree_for_insert()
118 struct rb_entry *f2fs_lookup_rb_tree_ret(struct rb_root_cached *root, in f2fs_lookup_rb_tree_ret()
192 struct rb_root_cached *root, bool check_key) in f2fs_check_rb_tree_consistence()

1234