Home
last modified time | relevance | path

Searched refs:rb_root (Results 1 – 25 of 312) sorted by relevance

12345678910>>...13

/linux/tools/include/linux/
A Drbtree.h30 struct rb_root { struct
36 #define RB_ROOT (struct rb_root) { NULL, } argument
56 extern struct rb_node *rb_last(const struct rb_root *);
64 struct rb_root *root);
120 struct rb_root rb_root; member
135 rb_insert_color(node, &root->rb_root); in rb_insert_color_cached()
143 rb_erase(node, &root->rb_root); in rb_erase_cached()
152 rb_replace_node(victim, new, &root->rb_root); in rb_replace_node_cached()
181 struct rb_node **link = &tree->rb_root.rb_node; in rb_add_cached()
206 rb_add(struct rb_node *node, struct rb_root *tree, in rb_add()
[all …]
A Drbtree_augmented.h35 extern void __rb_insert_augmented(struct rb_node *node, struct rb_root *root,
49 rb_insert_augmented(struct rb_node *node, struct rb_root *root, in rb_insert_augmented()
62 rb_insert_augmented(node, &root->rb_root, augment); in rb_insert_augmented_cached()
172 struct rb_node *parent, struct rb_root *root) in __rb_change_child()
183 extern void __rb_erase_color(struct rb_node *parent, struct rb_root *root,
187 __rb_erase_augmented(struct rb_node *node, struct rb_root *root, in __rb_erase_augmented()
291 rb_erase_augmented(struct rb_node *node, struct rb_root *root, in rb_erase_augmented()
305 rb_erase_augmented(node, &root->rb_root, augment); in rb_erase_augmented_cached()
/linux/include/linux/
A Drbtree.h40 extern void rb_erase(struct rb_node *, struct rb_root *);
46 extern struct rb_node *rb_first(const struct rb_root *);
47 extern struct rb_node *rb_last(const struct rb_root *);
55 struct rb_root *root);
57 struct rb_root *root);
114 rb_insert_color(node, &root->rb_root); in rb_insert_color_cached()
126 rb_erase(node, &root->rb_root); in rb_erase_cached()
137 rb_replace_node(victim, new, &root->rb_root); in rb_replace_node_cached()
168 struct rb_node **link = &tree->rb_root.rb_node; in rb_add_cached()
195 rb_add(struct rb_node *node, struct rb_root *tree, in rb_add()
[all …]
A Drbtree_types.h12 struct rb_root { struct
27 struct rb_root rb_root; member
31 #define RB_ROOT (struct rb_root) { NULL, }
A Drbtree_augmented.h33 extern void __rb_insert_augmented(struct rb_node *node, struct rb_root *root,
47 rb_insert_augmented(struct rb_node *node, struct rb_root *root, in rb_insert_augmented()
60 rb_insert_augmented(node, &root->rb_root, augment); in rb_insert_augmented_cached()
170 struct rb_node *parent, struct rb_root *root) in __rb_change_child()
183 struct rb_node *parent, struct rb_root *root) in __rb_change_child_rcu()
194 extern void __rb_erase_color(struct rb_node *parent, struct rb_root *root,
198 __rb_erase_augmented(struct rb_node *node, struct rb_root *root, in __rb_erase_augmented()
300 rb_erase_augmented(struct rb_node *node, struct rb_root *root, in rb_erase_augmented()
314 rb_erase_augmented(node, &root->rb_root, augment); in rb_erase_augmented_cached()
A Dtimerqueue.h15 struct rb_root_cached rb_root; member
36 struct rb_node *leftmost = rb_first_cached(&head->rb_root); in timerqueue_getnext()
58 head->rb_root = RB_ROOT_CACHED; in timerqueue_init_head()
/linux/arch/powerpc/kernel/
A Deeh_cache.c50 struct rb_root rb_root; member
56 struct rb_node *n = pci_io_addr_cache_root.rb_root.rb_node; in __eeh_addr_cache_get_device()
103 n = rb_first(&cache->rb_root); in eeh_addr_cache_print()
121 struct rb_node **p = &pci_io_addr_cache_root.rb_root.rb_node; in eeh_addr_cache_insert()
155 rb_insert_color(&piar->rb_node, &pci_io_addr_cache_root.rb_root); in eeh_addr_cache_insert()
218 n = rb_first(&pci_io_addr_cache_root.rb_root); in __eeh_addr_cache_rmv_dev()
226 rb_erase(n, &pci_io_addr_cache_root.rb_root); in __eeh_addr_cache_rmv_dev()
270 for (n = rb_first(&pci_io_addr_cache_root.rb_root); n; n = rb_next(n)) { in eeh_addr_cache_show()
/linux/lib/
A Drbtree_test.c34 struct rb_node **new = &root->rb_root.rb_node, *parent = NULL; in insert()
46 rb_insert_color(&node->rb, &root->rb_root); in insert()
51 struct rb_node **new = &root->rb_root.rb_node, *parent = NULL; in insert_cached()
71 rb_erase(&node->rb, &root->rb_root); in erase()
88 struct rb_node **new = &root->rb_root.rb_node, *rb_parent = NULL; in RB_DECLARE_CALLBACKS_MAX()
112 struct rb_node **new = &root->rb_root.rb_node, *rb_parent = NULL; in insert_augmented_cached()
140 rb_erase_augmented(&node->rb, &root->rb_root, &augment_callbacks); in erase_augmented()
175 rbtree_postorder_for_each_entry_safe(cur, n, &root.rb_root, rb) in check_postorder_foreach()
197 for (rb = rb_first(&root.rb_root); rb; rb = rb_next(rb)) { in check()
223 for (rb = rb_first(&root.rb_root); rb; rb = rb_next(rb)) { in check_augmented()
[all …]
A Drbtree.c76 struct rb_root *root, int color) in __rb_rotate_set_parents()
85 __rb_insert(struct rb_node *node, struct rb_root *root, in __rb_insert()
227 ____rb_erase_color(struct rb_node *parent, struct rb_root *root, in ____rb_erase_color()
410 void __rb_erase_color(struct rb_node *parent, struct rb_root *root, in __rb_erase_color()
434 void rb_insert_color(struct rb_node *node, struct rb_root *root) in rb_insert_color()
440 void rb_erase(struct rb_node *node, struct rb_root *root) in rb_erase()
466 struct rb_node *rb_first(const struct rb_root *root) in rb_first()
479 struct rb_node *rb_last(const struct rb_root *root) in rb_last()
554 struct rb_root *root) in rb_replace_node()
571 struct rb_root *root) in rb_replace_node_rcu()
[all …]
A Dtimerqueue.c40 return rb_add_cached(&node->node, &head->rb_root, __timerqueue_less); in timerqueue_add()
57 rb_erase_cached(&node->node, &head->rb_root); in timerqueue_del()
60 return !RB_EMPTY_ROOT(&head->rb_root.rb_root); in timerqueue_del()
/linux/include/linux/ceph/
A Dosdmap.h182 struct rb_root pg_temp;
183 struct rb_root primary_temp;
186 struct rb_root pg_upmap; /* PG := raw set */
187 struct rb_root pg_upmap_items; /* from -> to within raw set */
191 struct rb_root pg_pools;
326 int ceph_parse_crush_location(char *crush_location, struct rb_root *locs);
327 int ceph_compare_crush_locs(struct rb_root *locs1, struct rb_root *locs2);
328 void ceph_clear_crush_locs(struct rb_root *locs);
331 struct rb_root *locs);
A Dosd_client.h40 struct rb_root o_requests;
41 struct rb_root o_linger_requests;
42 struct rb_root o_backoff_mappings;
43 struct rb_root o_backoffs_by_id;
304 struct rb_root backoffs;
350 struct rb_root osds; /* osds */
357 struct rb_root linger_requests; /* lingering requests */
358 struct rb_root map_checks;
359 struct rb_root linger_map_checks;
/linux/tools/lib/
A Drbtree.c76 struct rb_root *root, int color) in __rb_rotate_set_parents()
85 __rb_insert(struct rb_node *node, struct rb_root *root, in __rb_insert()
227 ____rb_erase_color(struct rb_node *parent, struct rb_root *root, in ____rb_erase_color()
410 void __rb_erase_color(struct rb_node *parent, struct rb_root *root, in __rb_erase_color()
433 void rb_insert_color(struct rb_node *node, struct rb_root *root) in rb_insert_color()
438 void rb_erase(struct rb_node *node, struct rb_root *root) in rb_erase()
453 void __rb_insert_augmented(struct rb_node *node, struct rb_root *root, in __rb_insert_augmented()
462 struct rb_node *rb_first(const struct rb_root *root) in rb_first()
474 struct rb_node *rb_last(const struct rb_root *root) in rb_last()
546 struct rb_root *root) in rb_replace_node()
[all …]
/linux/drivers/block/drbd/
A Ddrbd_interval.h29 extern bool drbd_insert_interval(struct rb_root *, struct drbd_interval *);
30 extern bool drbd_contains_interval(struct rb_root *, sector_t,
32 extern void drbd_remove_interval(struct rb_root *, struct drbd_interval *);
33 extern struct drbd_interval *drbd_find_overlap(struct rb_root *, sector_t,
A Ddrbd_interval.c25 drbd_insert_interval(struct rb_root *root, struct drbd_interval *this) in drbd_insert_interval()
69 drbd_contains_interval(struct rb_root *root, sector_t sector, in drbd_contains_interval()
96 drbd_remove_interval(struct rb_root *root, struct drbd_interval *this) in drbd_remove_interval()
114 drbd_find_overlap(struct rb_root *root, sector_t sector, unsigned int size) in drbd_find_overlap()
/linux/net/6lowpan/
A Dnhc.c15 static struct rb_root rb_root = RB_ROOT; variable
21 struct rb_node **new = &rb_root.rb_node, *parent = NULL; in lowpan_nhc_insert()
51 rb_insert_color(&nhc->node, &rb_root); in lowpan_nhc_insert()
58 rb_erase(&nhc->node, &rb_root); in lowpan_nhc_remove()
63 struct rb_node *node = rb_root.rb_node; in lowpan_nhc_by_nhcid()
/linux/tools/perf/util/
A Drb_resort.h72 struct rb_root entries; \
92 struct rb_root *entries) \
103 static struct __name##_sorted *__name##_sorted__new(struct rb_root *entries, \
143 DECLARE_RESORT_RB(__name)(&__ilist->rblist.entries.rb_root, \
148 DECLARE_RESORT_RB(__name)(&__machine->threads[hash_bucket].entries.rb_root, \
A Dcallchain.c413 __sort_chain_flat(struct rb_root *rb_root, struct callchain_node *node, in __sort_chain_flat() argument
424 __sort_chain_flat(rb_root, child, min_hit); in __sort_chain_flat()
436 sort_chain_flat(struct rb_root *rb_root, struct callchain_root *root, in sort_chain_flat() argument
439 *rb_root = RB_ROOT; in sort_chain_flat()
449 node->rb_root = RB_ROOT; in __sort_chain_graph_abs()
464 sort_chain_graph_abs(struct rb_root *rb_root, struct callchain_root *chain_root, in sort_chain_graph_abs() argument
468 rb_root->rb_node = chain_root->node.rb_root.rb_node; in sort_chain_graph_abs()
478 node->rb_root = RB_ROOT; in __sort_chain_graph_rel()
494 sort_chain_graph_rel(struct rb_root *rb_root, struct callchain_root *chain_root, in sort_chain_graph_rel() argument
498 rb_root->rb_node = chain_root->node.rb_root.rb_node; in sort_chain_graph_rel()
[all …]
/linux/net/ipv4/
A Dinetpeer.c59 bp->rb_root = RB_ROOT; in inet_peer_base_init()
102 pp = &base->rb_root.rb_node; in lookup()
168 rb_erase(&p->rb_node, &base->rb_root); in inet_peer_gc()
224 rb_insert_color(&p->rb_node, &base->rb_root); in inet_getpeer()
291 struct rb_node *p = rb_first(&base->rb_root); in inetpeer_invalidate_tree()
297 rb_erase(&peer->rb_node, &base->rb_root); in inetpeer_invalidate_tree()
/linux/drivers/mtd/ubi/
A Dwl.h6 static struct ubi_wl_entry *find_anchor_wl_entry(struct rb_root *root);
17 struct rb_root *root);
24 struct rb_root *root) { in may_reserve_for_fm()
/linux/include/linux/crush/
A Dcrush.h305 struct rb_root type_names;
308 struct rb_root names;
311 struct rb_root choose_args;
356 void clear_crush_names(struct rb_root *root);
/linux/tools/bpf/resolve_btfids/
A Dmain.c106 struct rb_root sets;
107 struct rb_root structs;
108 struct rb_root unions;
109 struct rb_root typedefs;
110 struct rb_root funcs;
152 static struct btf_id *btf_id__find(struct rb_root *root, const char *name) in btf_id__find()
172 btf_id__add(struct rb_root *root, char *name, bool unique) in btf_id__add()
252 static struct btf_id *add_symbol(struct rb_root *root, char *name, size_t size) in add_symbol()
515 struct rb_root *root; in symbols_resolve()
597 static int __symbols_patch(struct object *obj, struct rb_root *root) in __symbols_patch()
/linux/fs/nfs/blocklayout/
A Dextent_tree.c19 ext_tree_first(struct rb_root *root) in ext_tree_first()
46 __ext_tree_search(struct rb_root *root, sector_t start) in __ext_tree_search()
95 ext_try_to_merge_left(struct rb_root *root, struct pnfs_block_extent *be) in ext_try_to_merge_left()
111 ext_try_to_merge_right(struct rb_root *root, struct pnfs_block_extent *be) in ext_try_to_merge_right()
136 __ext_tree_insert(struct rb_root *root, in __ext_tree_insert()
177 __ext_tree_remove(struct rb_root *root, in __ext_tree_remove()
258 struct rb_root *root; in ext_tree_insert()
322 __ext_tree_lookup(struct rb_root *root, sector_t isect, in __ext_tree_lookup()
380 ext_tree_split(struct rb_root *root, struct pnfs_block_extent *be, in ext_tree_split()
408 struct rb_root *root = &bl->bl_ext_rw; in ext_tree_mark_written()
[all …]
/linux/include/net/netns/
A Dnexthop.h12 struct rb_root rb_root; /* tree of nexthops by id */ member
/linux/block/
A Dbfq-iosched.h49 struct rb_root active;
51 struct rb_root idle;
159 struct rb_root *tree;
261 struct rb_root *pos_root;
264 struct rb_root sort_list;
941 struct rb_root rq_pos_tree;
954 struct rb_root rq_pos_tree;

Completed in 56 milliseconds

12345678910>>...13