Home
last modified time | relevance | path

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

/device/linaro/hikey/hifi/xaf/hifi-dpf/core/
Dxf-mem.c138 rb_idx_t p_idx, l_idx, r_idx; in xf_mm_find_by_addr() local
141 for (p_idx = rb_root(tree), l_idx = r_idx = NULL; p_idx != rb_null(tree); ) in xf_mm_find_by_addr()
155 r_idx = p_idx; in xf_mm_find_by_addr()
164 n[1] = (r_idx ? container_of(r_idx, xf_mm_block_t, a_node) : NULL); in xf_mm_find_by_addr()
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/util/
Drbtree.c681 rb_idx_t p_idx, t_idx, m_idx, c_idx, l_idx, r_idx, k_idx; in rb_delete() local
742 r_idx = RB_RIGHT(tree, n_idx); in rb_delete()
757 RB_SET_P_L_R(tree, m_idx, p_idx, l_idx, r_idx); in rb_delete()
759 RB_SET_P(tree, r_idx, m_idx); in rb_delete()
766 RB_SET_P_R(tree, m_idx, p_idx, r_idx); in rb_delete()
767 RB_SET_P(tree, r_idx, m_idx); in rb_delete()
818 rb_idx_t p_idx, l_idx, r_idx; in rb_replace() local
821 p_idx = RB_PARENT(tree, n_idx), l_idx = RB_LEFT(tree, n_idx), r_idx = RB_RIGHT(tree, n_idx); in rb_replace()
824 RB_SET_P_L_R(tree, t_idx, p_idx, l_idx, r_idx); in rb_replace()
841 RB_SET_P(tree, l_idx, t_idx), RB_SET_P(tree, r_idx, t_idx); in rb_replace()