Lines Matching refs:old_res_table
1725 struct nh_res_table *old_res_table = rtnl_dereference(oldg->res_table); in replace_nexthop_grp_res() local
1726 unsigned long prev_unbalanced_since = old_res_table->unbalanced_since; in replace_nexthop_grp_res()
1727 bool prev_has_uw = !list_empty(&old_res_table->uw_nh_entries); in replace_nexthop_grp_res()
1729 nh_res_table_cancel_upkeep(old_res_table); in replace_nexthop_grp_res()
1730 nh_res_table_migrate_buckets(old_res_table, newg); in replace_nexthop_grp_res()
1731 nh_res_group_rebalance(newg, old_res_table); in replace_nexthop_grp_res()
1732 if (prev_has_uw && !list_empty(&old_res_table->uw_nh_entries)) in replace_nexthop_grp_res()
1733 old_res_table->unbalanced_since = prev_unbalanced_since; in replace_nexthop_grp_res()
1734 nh_res_table_upkeep(old_res_table, true, false); in replace_nexthop_grp_res()
1961 struct nh_res_table *old_res_table; in replace_nexthop_grp() local
1985 old_res_table = rtnl_dereference(oldg->res_table); in replace_nexthop_grp()
1992 old_res_table->num_nh_buckets) { in replace_nexthop_grp()
2008 old_res_table->idle_timer = cfg->nh_grp_res_idle_timer; in replace_nexthop_grp()
2010 old_res_table->unbalanced_timer = in replace_nexthop_grp()
2016 rcu_assign_pointer(newg->res_table, old_res_table); in replace_nexthop_grp()
2017 rcu_assign_pointer(newg->spare->res_table, old_res_table); in replace_nexthop_grp()