Home
last modified time | relevance | path

Searched refs:pcpu_rt (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/net/ipv6/
Dip6_fib.c189 struct rt6_info *pcpu_rt; in fib6_info_destroy_rcu() local
192 pcpu_rt = *ppcpu_rt; in fib6_info_destroy_rcu()
193 if (pcpu_rt) { in fib6_info_destroy_rcu()
194 dst_dev_put(&pcpu_rt->dst); in fib6_info_destroy_rcu()
195 dst_release(&pcpu_rt->dst); in fib6_info_destroy_rcu()
885 struct rt6_info *pcpu_rt; in fib6_drop_pcpu_from() local
888 pcpu_rt = *ppcpu_rt; in fib6_drop_pcpu_from()
889 if (pcpu_rt) { in fib6_drop_pcpu_from()
892 from = rcu_dereference_protected(pcpu_rt->from, in fib6_drop_pcpu_from()
894 rcu_assign_pointer(pcpu_rt->from, NULL); in fib6_drop_pcpu_from()
Droute.c1222 struct rt6_info *pcpu_rt; in ip6_rt_pcpu_alloc() local
1229 pcpu_rt = ip6_dst_alloc(dev_net(dev), dev, flags); in ip6_rt_pcpu_alloc()
1231 if (!pcpu_rt) { in ip6_rt_pcpu_alloc()
1235 ip6_rt_copy_init(pcpu_rt, rt); in ip6_rt_pcpu_alloc()
1236 pcpu_rt->rt6i_flags |= RTF_PCPU; in ip6_rt_pcpu_alloc()
1237 return pcpu_rt; in ip6_rt_pcpu_alloc()
1243 struct rt6_info *pcpu_rt, **p; in rt6_get_pcpu_route() local
1246 pcpu_rt = *p; in rt6_get_pcpu_route()
1248 if (pcpu_rt) in rt6_get_pcpu_route()
1249 ip6_hold_safe(NULL, &pcpu_rt, false); in rt6_get_pcpu_route()
[all …]