Searched refs:old_tree (Results 1 – 1 of 1) sorted by relevance
969 struct mlxsw_sp_lpm_tree *old_tree = fib->lpm_tree; in mlxsw_sp_vr_lpm_tree_replace() local977 mlxsw_sp_lpm_tree_put(mlxsw_sp, old_tree); in mlxsw_sp_vr_lpm_tree_replace()982 fib->lpm_tree = old_tree; in mlxsw_sp_vr_lpm_tree_replace()992 struct mlxsw_sp_lpm_tree *old_tree; in mlxsw_sp_vrs_lpm_tree_replace() local997 old_tree = mlxsw_sp->router->lpm.proto_trees[proto]; in mlxsw_sp_vrs_lpm_tree_replace()998 old_id = old_tree->id; in mlxsw_sp_vrs_lpm_tree_replace()1011 memcpy(new_tree->prefix_ref_count, old_tree->prefix_ref_count, in mlxsw_sp_vrs_lpm_tree_replace()1014 mlxsw_sp_lpm_tree_put(mlxsw_sp, old_tree); in mlxsw_sp_vrs_lpm_tree_replace()1024 old_tree); in mlxsw_sp_vrs_lpm_tree_replace()