Lines Matching refs:oldg
1693 static void replace_nexthop_grp_res(struct nh_group *oldg, in replace_nexthop_grp_res() argument
1702 struct nh_res_table *old_res_table = rtnl_dereference(oldg->res_table); in replace_nexthop_grp_res()
1939 struct nh_group *oldg, *newg; in replace_nexthop_grp() local
1947 oldg = rtnl_dereference(old->nh_grp); in replace_nexthop_grp()
1950 if (newg->hash_threshold != oldg->hash_threshold) { in replace_nexthop_grp()
1962 old_res_table = rtnl_dereference(oldg->res_table); in replace_nexthop_grp()
1990 replace_nexthop_grp_res(oldg, newg); in replace_nexthop_grp()
2007 rcu_assign_pointer(oldg->res_table, tmp_table); in replace_nexthop_grp()
2008 rcu_assign_pointer(oldg->spare->res_table, tmp_table); in replace_nexthop_grp()
2011 for (i = 0; i < oldg->num_nh; i++) in replace_nexthop_grp()
2012 oldg->nh_entries[i].nh_parent = new; in replace_nexthop_grp()
2014 rcu_assign_pointer(new->nh_grp, oldg); in replace_nexthop_grp()