Home
last modified time | relevance | path

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

/net/ipv6/
Droute.c1380 struct rt6_info *pcpu_rt; in ip6_rt_pcpu_alloc() local
1387 pcpu_rt = ip6_dst_alloc(dev_net(dev), dev, flags); in ip6_rt_pcpu_alloc()
1389 if (!pcpu_rt) { in ip6_rt_pcpu_alloc()
1393 ip6_rt_copy_init(pcpu_rt, res); in ip6_rt_pcpu_alloc()
1394 pcpu_rt->rt6i_flags |= RTF_PCPU; in ip6_rt_pcpu_alloc()
1397 pcpu_rt->sernum = rt_genid_ipv6(dev_net(dev)); in ip6_rt_pcpu_alloc()
1399 return pcpu_rt; in ip6_rt_pcpu_alloc()
1410 struct rt6_info *pcpu_rt; in rt6_get_pcpu_route() local
1412 pcpu_rt = this_cpu_read(*res->nh->rt6i_pcpu); in rt6_get_pcpu_route()
1414 if (pcpu_rt && pcpu_rt->sernum && !rt6_is_valid(pcpu_rt)) { in rt6_get_pcpu_route()
[all …]
Dip6_fib.c915 struct rt6_info *pcpu_rt; in __fib6_drop_pcpu_from() local
918 pcpu_rt = *ppcpu_rt; in __fib6_drop_pcpu_from()
925 if (pcpu_rt && rcu_access_pointer(pcpu_rt->from) == match) { in __fib6_drop_pcpu_from()
928 from = xchg((__force struct fib6_info **)&pcpu_rt->from, NULL); in __fib6_drop_pcpu_from()