Home
last modified time | relevance | path

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

/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
688 if ((m_idx = RB_LEFT(tree, n_idx)) != RB_NULL(tree)) in rb_delete()
690 while ((t_idx = RB_RIGHT(tree, m_idx)) != RB_NULL(tree)) in rb_delete()
691 m_idx = t_idx; in rb_delete()
694 c_idx = RB_LEFT(tree, m_idx); in rb_delete()
696 else if ((m_idx = RB_RIGHT(tree, n_idx)) != RB_NULL(tree)) in rb_delete()
698 while ((t_idx = RB_LEFT(tree, m_idx)) != RB_NULL(tree)) in rb_delete()
699 m_idx = t_idx; in rb_delete()
702 c_idx = RB_RIGHT(tree, m_idx); in rb_delete()
707 RB_SET_ROOT(tree, m_idx); in rb_delete()
[all …]