Lines Matching refs:old_res_table
1702 struct nh_res_table *old_res_table = rtnl_dereference(oldg->res_table); in replace_nexthop_grp_res() local
1703 unsigned long prev_unbalanced_since = old_res_table->unbalanced_since; in replace_nexthop_grp_res()
1704 bool prev_has_uw = !list_empty(&old_res_table->uw_nh_entries); in replace_nexthop_grp_res()
1706 nh_res_table_cancel_upkeep(old_res_table); in replace_nexthop_grp_res()
1707 nh_res_table_migrate_buckets(old_res_table, newg); in replace_nexthop_grp_res()
1708 nh_res_group_rebalance(newg, old_res_table); in replace_nexthop_grp_res()
1709 if (prev_has_uw && !list_empty(&old_res_table->uw_nh_entries)) in replace_nexthop_grp_res()
1710 old_res_table->unbalanced_since = prev_unbalanced_since; in replace_nexthop_grp_res()
1711 nh_res_table_upkeep(old_res_table, true, false); in replace_nexthop_grp_res()
1938 struct nh_res_table *old_res_table; in replace_nexthop_grp() local
1962 old_res_table = rtnl_dereference(oldg->res_table); in replace_nexthop_grp()
1969 old_res_table->num_nh_buckets) { in replace_nexthop_grp()
1985 old_res_table->idle_timer = cfg->nh_grp_res_idle_timer; in replace_nexthop_grp()
1987 old_res_table->unbalanced_timer = in replace_nexthop_grp()
1993 rcu_assign_pointer(newg->res_table, old_res_table); in replace_nexthop_grp()
1994 rcu_assign_pointer(newg->spare->res_table, old_res_table); in replace_nexthop_grp()