Searched refs:rbtree (Results  1 – 14 of 14) sorted by relevance
| /Zephyr-latest/include/zephyr/sys/ | 
| D | rb.h | 91 struct rbtree {  struct117 struct rbnode *z_rb_get_minmax(struct rbtree *tree, uint8_t side);  argument
 122 void rb_insert(struct rbtree *tree, struct rbnode *node);
 127 void rb_remove(struct rbtree *tree, struct rbnode *node);
 132 static inline struct rbnode *rb_get_min(struct rbtree *tree)  in rb_get_min()
 140 static inline struct rbnode *rb_get_max(struct rbtree *tree)  in rb_get_max()
 154 bool rb_contains(struct rbtree *tree, struct rbnode *node);
 165 static inline void rb_walk(struct rbtree *tree, rb_visit_t visit_fn,  in rb_walk()
 193 struct rbnode *z_rb_foreach_next(struct rbtree *tree, struct _rb_foreach *f);
 
 | 
| D | p4wq.h | 77 	struct rbtree queue;
 | 
| /Zephyr-latest/tests/benchmarks/data_structure_perf/rbtree_perf/src/ | 
| D | rbtree_perf.c | 22 static struct rbtree test_rbtree;77 	struct rbtree test_tree_l;  in ZTEST()
 107 static void init_tree(struct rbtree *tree, int size)  in init_tree()
 
 | 
| /Zephyr-latest/doc/kernel/data_structures/ | 
| D | rbtree.rst | 13 The :c:struct:`rbtree` tracking struct for a rbtree may be initialized19 within an rbtree must be provided as a predicate function by the user.
 21 ``lessthan_fn`` field of the :c:struct:`rbtree` struct before any tree
 28 As with the slist and dlist containers, nodes within an rbtree are
 46 rbtree.  The first, :c:func:`rb_walk`, is a simple callback implementation
 69 As described, the Zephyr rbtree implementation is a conventional
 85 .. figure:: rbtree.png
 87     :alt: rbtree example
 90     A maximally unbalanced rbtree with a black height of two.  No more
 102 The :c:struct:`rbnode` struct for a Zephyr rbtree contains only two
 [all …]
 
 | 
| D | index.rst | 37   rbtree.rst
 | 
| /Zephyr-latest/tests/unit/rbtree/ | 
| D | CMakeLists.txt | 7 project(rbtree)  project
 | 
| D | main.c | 16 static struct rbtree test_rbtree;189 void checked_insert(struct rbtree *tree, struct rbnode *node)  in checked_insert()
 
 | 
| /Zephyr-latest/tests/benchmarks/data_structure_perf/rbtree_perf/ | 
| D | CMakeLists.txt | 5 project(rbtree)  project
 | 
| /Zephyr-latest/lib/utils/ | 
| D | rb.c | 79 static int find_and_stack(struct rbtree *tree, struct rbnode *node,  in find_and_stack()102 struct rbnode *z_rb_get_minmax(struct rbtree *tree, uint8_t side)  in z_rb_get_minmax()
 219 void rb_insert(struct rbtree *tree, struct rbnode *node)  in rb_insert()
 372 void rb_remove(struct rbtree *tree, struct rbnode *node)  in rb_remove()
 524 bool rb_contains(struct rbtree *tree, struct rbnode *node)  in rb_contains()
 564 struct rbnode *z_rb_foreach_next(struct rbtree *tree, struct _rb_foreach *f)  in z_rb_foreach_next()
 
 | 
| /Zephyr-latest/include/zephyr/ | 
| D | kernel_structs.h | 110 	struct rbtree tree;
 | 
| /Zephyr-latest/kernel/ | 
| D | Kconfig | 334 	  are not otherwise using the rbtree somewhere) requires an383 	  SCHED_SCALABLE) if the rbtree is not used elsewhere in the
 
 | 
| /Zephyr-latest/doc/releases/ | 
| D | release-notes-1.12.rst | 615 * :github:`7264` - [Coverity CID :185391] Incorrect expression in /tests/lib/rbtree/src/main.c654 * :github:`7511` - [Coverity CID :185391] Incorrect expression in /tests/lib/rbtree/src/main.c
 
 | 
| D | release-notes-2.6.rst | 1048    * Testcases of data structure include stack, queue, ringbuffer and rbtree.1665 * :github:`33239` - lib/rbtree: Remove dead case in rb_remove()
 
 | 
| D | release-notes-2.4.rst | 1345 * :github:`26619` - tests/unit/rbtree fails
 |