Home
last modified time | relevance | path

Searched refs:l_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()
147 l_idx = p_idx; in xf_mm_find_by_addr()
163 n[0] = (l_idx ? container_of(l_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
741 l_idx = RB_LEFT(tree, n_idx); in rb_delete()
757 RB_SET_P_L_R(tree, m_idx, p_idx, l_idx, r_idx); in rb_delete()
758 RB_SET_P(tree, l_idx, m_idx); in rb_delete()
764 if (m_idx == l_idx) in rb_delete()
771 RB_SET_P_L(tree, m_idx, p_idx, l_idx); in rb_delete()
772 RB_SET_P(tree, l_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()
[all …]