Home
last modified time | relevance | path

Searched refs:rb_null (Results 1 – 3 of 3) sorted by relevance

/device/linaro/hikey/hifi/xaf/hifi-dpf/core/
Dxf-mem.c96 for (p_idx = rb_root(tree); p_idx != rb_null(tree); p_idx = rb_right(tree, p_idx)) in xf_mm_find_by_size()
106 if (p_idx == rb_null(tree)) in xf_mm_find_by_size()
110 for (t_idx = rb_left(tree, p_idx); t_idx != rb_null(tree); ) in xf_mm_find_by_size()
141 for (p_idx = rb_root(tree), l_idx = r_idx = NULL; p_idx != rb_null(tree); ) in xf_mm_find_by_addr()
174 for (p_idx = rb_root(tree); p_idx != rb_null(tree); p_idx = t_idx) in xf_mm_insert_size()
180 if ((t_idx = rb_right(tree, p_idx)) == rb_null(tree)) in xf_mm_insert_size()
190 if ((t_idx = rb_left(tree, p_idx)) == rb_null(tree)) in xf_mm_insert_size()
210 for (p_idx = rb_root(tree); p_idx != rb_null(tree); p_idx = t_idx) in xf_mm_insert_addr()
216 if ((t_idx = rb_right(tree, p_idx)) == rb_null(tree)) in xf_mm_insert_addr()
226 if ((t_idx = rb_left(tree, p_idx)) == rb_null(tree)) in xf_mm_insert_addr()
Dxf-sched.c60 for (p_idx = rb_root(tree); p_idx != rb_null(tree); p_idx = t_idx) in xf_sched_put()
68 if ((t_idx = rb_left(tree, p_idx)) == rb_null(tree)) in xf_sched_put()
80 if ((t_idx = rb_right(tree, p_idx)) == rb_null(tree)) in xf_sched_put()
99 BUG(rb_cache(tree) == rb_null(tree), _x("Invalid scheduler state")); in xf_sched_put()
112 if ((n_idx = rb_cache(tree)) == rb_null(tree)) in xf_sched_get()
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/lib/
Drbtree.h94 static inline rb_idx_t rb_null(rb_tree_t *tree) in rb_null() function