Lines Matching refs:old_res_table
1701 struct nh_res_table *old_res_table = rtnl_dereference(oldg->res_table); in replace_nexthop_grp_res() local
1702 unsigned long prev_unbalanced_since = old_res_table->unbalanced_since; in replace_nexthop_grp_res()
1703 bool prev_has_uw = !list_empty(&old_res_table->uw_nh_entries); in replace_nexthop_grp_res()
1705 nh_res_table_cancel_upkeep(old_res_table); in replace_nexthop_grp_res()
1706 nh_res_table_migrate_buckets(old_res_table, newg); in replace_nexthop_grp_res()
1707 nh_res_group_rebalance(newg, old_res_table); in replace_nexthop_grp_res()
1708 if (prev_has_uw && !list_empty(&old_res_table->uw_nh_entries)) in replace_nexthop_grp_res()
1709 old_res_table->unbalanced_since = prev_unbalanced_since; in replace_nexthop_grp_res()
1710 nh_res_table_upkeep(old_res_table, true, false); in replace_nexthop_grp_res()
1919 struct nh_res_table *old_res_table; in replace_nexthop_grp() local
1943 old_res_table = rtnl_dereference(oldg->res_table); in replace_nexthop_grp()
1950 old_res_table->num_nh_buckets) { in replace_nexthop_grp()
1966 old_res_table->idle_timer = cfg->nh_grp_res_idle_timer; in replace_nexthop_grp()
1968 old_res_table->unbalanced_timer = in replace_nexthop_grp()
1974 rcu_assign_pointer(newg->res_table, old_res_table); in replace_nexthop_grp()
1975 rcu_assign_pointer(newg->spare->res_table, old_res_table); in replace_nexthop_grp()