Searched refs:old_tree (Results 1 – 1 of 1) sorted by relevance
971 struct mlxsw_sp_lpm_tree *old_tree = fib->lpm_tree; in mlxsw_sp_vr_lpm_tree_replace() local979 mlxsw_sp_lpm_tree_put(mlxsw_sp, old_tree); in mlxsw_sp_vr_lpm_tree_replace()984 fib->lpm_tree = old_tree; in mlxsw_sp_vr_lpm_tree_replace()994 struct mlxsw_sp_lpm_tree *old_tree; in mlxsw_sp_vrs_lpm_tree_replace() local999 old_tree = mlxsw_sp->router->lpm.proto_trees[proto]; in mlxsw_sp_vrs_lpm_tree_replace()1000 old_id = old_tree->id; in mlxsw_sp_vrs_lpm_tree_replace()1013 memcpy(new_tree->prefix_ref_count, old_tree->prefix_ref_count, in mlxsw_sp_vrs_lpm_tree_replace()1016 mlxsw_sp_lpm_tree_put(mlxsw_sp, old_tree); in mlxsw_sp_vrs_lpm_tree_replace()1026 old_tree); in mlxsw_sp_vrs_lpm_tree_replace()