Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/bpf/prog_tests/
H A Drbtree.c7 #include "rbtree.skel.h"
20 struct rbtree *skel; in test_rbtree_add_nodes()
42 struct rbtree *skel; in test_rbtree_add_nodes_nested()
64 struct rbtree *skel; in test_rbtree_add_and_remove()
86 struct rbtree *skel; in test_rbtree_add_and_remove_array()
107 struct rbtree *skel; in test_rbtree_first_and_remove()
131 struct rbtree *skel; in test_rbtree_api_release_aliasing()
/linux/Documentation/translations/zh_CN/core-api/
H A Drbtree.rst4 :Original: Documentation/core-api/rbtree.rst
11 Linux中的红黑树(rbtree
47 Linux的红黑树实现在文件“lib/rbtree.c”中。要使用它,需要“#include <linux/rbtree.h>”。
219 实现增强型红黑树操作的C文件必须包含<linux/rbtree_augmented.h>而不是<linux/rbtree.h>。
H A Dindex.rst46 rbtree
/linux/drivers/android/binder/
H A Dfreeze.rs9 rbtree::{self, RBTreeNodeReservation},
189 if let rbtree::Entry::Occupied(ref dupe) = freeze_entry { in request_freeze_notif()
201 rbtree::Entry::Vacant(entry) => { in request_freeze_notif()
215 rbtree::Entry::Occupied(mut dupe) => { in request_freeze_notif()
H A Dprocess.rs26 rbtree::{self, RBTree, RBTreeNode, RBTreeNodeReservation},
704 rbtree::Entry::Vacant(entry) => { in get_current_thread()
708 rbtree::Entry::Occupied(_entry) => { in get_current_thread()
843 rbtree::Entry::Vacant(entry) => break (res, entry), in insert_or_update_handle()
844 rbtree::Entry::Occupied(_) => { in insert_or_update_handle()
/linux/rust/kernel/
H A Drbtree.rs5 //! C header: [`include/linux/rbtree.h`](srctree/include/linux/rbtree.h)
7 //! Reference: <https://docs.kernel.org/core-api/rbtree.html>
27 /// use kernel::{alloc::flags, rbtree::{RBTree, RBTreeNode, RBTreeNodeReservation}};
101 /// use kernel::{alloc::flags, rbtree::{RBTree, RBTreeNode}, sync::SpinLock};
118 /// use kernel::{alloc::flags, rbtree::{RBTree, RBTreeNodeReservation}};
378 rbtree: self, in raw_entry()
387 rbtree: raw_self, in raw_entry()
572 /// use kernel::{alloc::flags, rbtree::RBTree};
611 /// use kernel::{alloc::flags, rbtree
1301 rbtree: *mut RBTree<K, V>, global() field
1347 rbtree: &'a mut RBTree<K, V>, global() field
[all...]
H A Dlib.rs140 pub mod rbtree; module
/linux/Documentation/bpf/
H A Dgraph_ds_impl.rst6 structures (linked_list, rbtree), with particular focus on the verifier's
35 Two such data structures - linked_list and rbtree - have many verification
73 The "root" type for both linked_list and rbtree expects to be in a map_value
201 Any reference to a node that is in an rbtree _must_ be non-owning, since
203 that isn't in rbtree _must_ be owning. This results in a nice property:
247 a node which is not in an rbtree. Statement 5 will try to remove a node which
/linux/tools/bpf/resolve_btfids/
H A DBuild4 resolve_btfids-y += rbtree.o
/linux/scripts/gdb/linux/
H A Dproc.py21 from linux import rbtree
176 … for mnt in rbtree.rb_inorder_for_each_entry(namespace['mounts'], mount_ptr_type, "mnt_node"):
H A Dtimerlist.py10 from linux import rbtree
50 curr = rbtree.rb_next(curr)
/linux/tools/testing/selftests/bpf/progs/
H A Dexceptions_fail.c35 private(A) struct bpf_rb_root rbtree __contains(foo, node);
180 bpf_rbtree_add(&rbtree, &f->node, rbless); in reject_with_rbtree_add_throw()
/linux/scripts/gdb/
H A Dvmlinux-gdb.py37 import linux.rbtree
/linux/drivers/base/regmap/
H A DMakefile6 obj-$(CONFIG_REGMAP) += regcache-rbtree.o regcache-flat.o regcache-maple.o
H A Dregcache-rbtree.c176 DEFINE_SHOW_ATTRIBUTE(rbtree);
/linux/tools/perf/
H A DMANIFEST20 tools/lib/rbtree.c
/linux/tools/objtool/
H A DBuild35 $(OUTPUT)librbtree.o: ../lib/rbtree.c FORCE
/linux/Documentation/locking/
H A Drt-mutex-design.rst106 the task is blocked on. It also has rbtree node structures to
107 place the task in the waiters rbtree of a mutex as well as the
108 pi_waiters rbtree of a mutex owner task (described below).
200 mutex has a rbtree to store these waiters by priority. This tree is protected
208 To keep track of the PI chains, each process has its own PI rbtree. This is
218 This tree is stored in the task structure of a process as a rbtree called
408 should be at, but the rbtree nodes of the task's waiter have not been updated
474 to the mutex. The rbtree node of waiter are initialized to the processes
/linux/Documentation/timers/
H A Dhrtimers.rst95 file systems. The rbtree is solely used for time sorted ordering, while
97 queued timers, without having to walk the rbtree.
113 be set without having to touch the rbtree. This also makes the handling
/linux/Documentation/block/
H A Ddeadline-iosched.rst69 rbtree front sector lookup when the io scheduler merge function is called.
/linux/tools/perf/util/
H A DBuild44 perf-util-y += rbtree.o
402 $(OUTPUT)util/rbtree.o: ../lib/rbtree.c FORCE
/linux/tools/testing/selftests/hid/
H A DMakefile158 $(TOOLSDIR)/lib/rbtree.c \
/linux/lib/
H A DKconfig337 augmented rbtree.
341 Documentation/core-api/rbtree.rst
H A DMakefile15 # rbtree can be global and individual rotations don't correlate with inputs.
37 rbtree.o radix-tree.o timerqueue.o xarray.o \
/linux/drivers/android/binder/range_alloc/
H A Dtree.rs8 rbtree::{RBTree, RBTreeNode, RBTreeNodeReservation},

12