Home
last modified time | relevance | path

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

/device/linaro/hikey/hifi/xaf/hifi-dpf/core/util/
Drbtree.c225 rb_idx_t u_idx, g_idx, t_idx, cl_idx, cr_idx; in __rb_insert_balance() local
300 cl_idx = RB_LEFT(tree, n_idx), cr_idx = RB_RIGHT(tree, n_idx); in __rb_insert_balance()
304 RB_SET_P_L_C(tree, g_idx, n_idx, cr_idx, RB_RED); in __rb_insert_balance()
305 RB_SET_P(tree, cr_idx, g_idx); in __rb_insert_balance()
319 cl_idx = RB_LEFT(tree, n_idx), cr_idx = RB_RIGHT(tree, n_idx); in __rb_insert_balance()
321 RB_SET_P_L(tree, p_idx, n_idx, cr_idx); in __rb_insert_balance()
322 RB_SET_P(tree, cr_idx, p_idx); in __rb_insert_balance()
335 cr_idx = RB_RIGHT(tree, p_idx); in __rb_insert_balance()
336 RB_SET_P_L_C(tree, g_idx, p_idx, cr_idx, RB_RED); in __rb_insert_balance()
337 RB_SET_P(tree, cr_idx, g_idx); in __rb_insert_balance()
[all …]