Searched refs:prefix_ref_count (Results 1 – 1 of 1) sorted by relevance
507 unsigned long prefix_ref_count[MLXSW_SP_PREFIX_COUNT]; member656 memset(&lpm_tree->prefix_ref_count, 0, in mlxsw_sp_lpm_tree_create()657 sizeof(lpm_tree->prefix_ref_count)); in mlxsw_sp_lpm_tree_create()1013 memcpy(new_tree->prefix_ref_count, old_tree->prefix_ref_count, in mlxsw_sp_vrs_lpm_tree_replace()1014 sizeof(new_tree->prefix_ref_count)); in mlxsw_sp_vrs_lpm_tree_replace()6626 if (lpm_tree->prefix_ref_count[fib_node->key.prefix_len] != 0) in mlxsw_sp_fib_lpm_tree_link()6641 lpm_tree->prefix_ref_count[fib_node->key.prefix_len]++; in mlxsw_sp_fib_lpm_tree_link()6657 if (--lpm_tree->prefix_ref_count[fib_node->key.prefix_len] != 0) in mlxsw_sp_fib_lpm_tree_unlink()