Lines Matching refs:oldg
1716 static void replace_nexthop_grp_res(struct nh_group *oldg,
1721 * specified. For NH removal, oldg and newg both reference the same
1723 * with oldg->res_table.
1725 struct nh_res_table *old_res_table = rtnl_dereference(oldg->res_table);
1962 struct nh_group *oldg, *newg;
1970 oldg = rtnl_dereference(old->nh_grp);
1973 if (newg->hash_threshold != oldg->hash_threshold) {
1985 old_res_table = rtnl_dereference(oldg->res_table);
2013 replace_nexthop_grp_res(oldg, newg);
2026 /* Make sure concurrent readers are not using 'oldg' anymore. */
2030 rcu_assign_pointer(oldg->res_table, tmp_table);
2031 rcu_assign_pointer(oldg->spare->res_table, tmp_table);
2034 for (i = 0; i < oldg->num_nh; i++)
2035 oldg->nh_entries[i].nh_parent = new;
2037 rcu_assign_pointer(new->nh_grp, oldg);