Home
last modified time | relevance | path

Searched refs:max_depth (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/include/zephyr/sys/
Drb.h97 int max_depth; member
187 alloca((tree)->max_depth * sizeof(struct rbnode *)), \
188 .is_left = (uint8_t *)alloca((tree)->max_depth * sizeof(uint8_t)),\
/Zephyr-Core-3.5.0/lib/os/
Drb.c224 tree->max_depth = 1; in rb_insert()
232 struct rbnode *stack[tree->max_depth + 1]; in rb_insert()
247 if (stacksz > tree->max_depth) { in rb_insert()
248 tree->max_depth = stacksz; in rb_insert()
373 struct rbnode *stack[tree->max_depth + 1]; in rb_remove()
461 tree->max_depth = 0; in rb_remove()