Lines Matching refs:newi
296 struct nh_info *newi) in nh_notifier_res_bucket_info_init() argument
316 __nh_notifier_single_info_init(&info->nh_res_bucket->new_nh, newi); in nh_notifier_res_bucket_info_init()
328 struct nh_info *newi, in __call_nexthop_res_bucket_notifiers() argument
342 oldi, newi); in __call_nexthop_res_bucket_notifiers()
384 struct nh_info *newi = nh_res_dereference(new_nh->nh_info); in call_nexthop_res_bucket_notifiers() local
387 force, oldi, newi, extack); in call_nexthop_res_bucket_notifiers()
2063 struct nh_info *newi, in replace_nexthop_single_notify_res() argument
2078 oldi, newi, in replace_nexthop_single_notify_res()
2095 true, newi, oldi, in replace_nexthop_single_notify_res()
2105 struct nh_info *newi, in replace_nexthop_single_notify() argument
2117 old, oldi, newi, in replace_nexthop_single_notify()
2129 struct nh_info *oldi, *newi; in replace_nexthop_single() local
2148 newi = rtnl_dereference(new->nh_info); in replace_nexthop_single()
2150 newi->nh_parent = old; in replace_nexthop_single()
2159 rcu_assign_pointer(old->nh_info, newi); in replace_nexthop_single()
2166 err = replace_nexthop_single_notify(net, nhp, old, oldi, newi, in replace_nexthop_single()
2175 if (oldi->family == AF_INET && newi->family == AF_INET6) { in replace_nexthop_single()
2188 rcu_assign_pointer(new->nh_info, newi); in replace_nexthop_single()
2193 newi->nh_parent = new; in replace_nexthop_single()
2197 replace_nexthop_single_notify(net, nhp, old, newi, oldi, NULL); in replace_nexthop_single()