Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.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.7.0/lib/utils/
Drb.c226 tree->max_depth = 1; in rb_insert()
234 struct rbnode *stack[tree->max_depth + 1]; in rb_insert()
250 if (stacksz > tree->max_depth) { in rb_insert()
251 tree->max_depth = stacksz; in rb_insert()
378 struct rbnode *stack[tree->max_depth + 1]; in rb_remove()
468 tree->max_depth = 0; in rb_remove()