Home
last modified time | relevance | path

Searched refs:oldg (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/net/ipv4/
H A Dnexthop.c1716 static void replace_nexthop_grp_res(struct nh_group *oldg, in replace_nexthop_grp_res() argument
1721 * specified. For NH removal, oldg and newg both reference the same in replace_nexthop_grp_res()
1723 * with oldg->res_table. in replace_nexthop_grp_res()
1725 struct nh_res_table *old_res_table = rtnl_dereference(oldg->res_table); in replace_nexthop_grp_res()
1962 struct nh_group *oldg, *newg; in replace_nexthop_grp() local
1970 oldg = rtnl_dereference(old->nh_grp); in replace_nexthop_grp()
1973 if (newg->hash_threshold != oldg->hash_threshold) { in replace_nexthop_grp()
1985 old_res_table = rtnl_dereference(oldg->res_table); in replace_nexthop_grp()
2013 replace_nexthop_grp_res(oldg, newg); in replace_nexthop_grp()
2026 /* Make sure concurrent readers are not using 'oldg' anymor in replace_nexthop_grp()
[all...]
/kernel/linux/linux-5.10/net/ipv4/
H A Dnexthop.c964 struct nh_group *oldg, *newg; in replace_nexthop_grp() local
972 oldg = rtnl_dereference(old->nh_grp); in replace_nexthop_grp()
981 for (i = 0; i < oldg->num_nh; i++) in replace_nexthop_grp()
982 oldg->nh_entries[i].nh_parent = new; in replace_nexthop_grp()
984 rcu_assign_pointer(new->nh_grp, oldg); in replace_nexthop_grp()

Completed in 8 milliseconds