Searched refs:prefix_ref_count (Results 1 – 1 of 1) sorted by relevance
402 unsigned long prefix_ref_count[MLXSW_SP_PREFIX_COUNT]; member551 memset(&lpm_tree->prefix_ref_count, 0, in mlxsw_sp_lpm_tree_create()552 sizeof(lpm_tree->prefix_ref_count)); in mlxsw_sp_lpm_tree_create()904 memcpy(new_tree->prefix_ref_count, old_tree->prefix_ref_count, in mlxsw_sp_vrs_lpm_tree_replace()905 sizeof(new_tree->prefix_ref_count)); in mlxsw_sp_vrs_lpm_tree_replace()4743 if (lpm_tree->prefix_ref_count[fib_node->key.prefix_len] != 0) in mlxsw_sp_fib_lpm_tree_link()4758 lpm_tree->prefix_ref_count[fib_node->key.prefix_len]++; in mlxsw_sp_fib_lpm_tree_link()4774 if (--lpm_tree->prefix_ref_count[fib_node->key.prefix_len] != 0) in mlxsw_sp_fib_lpm_tree_unlink()