Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv6/
Droute.c1362 struct rt6_info *pcpu_rt; in ip6_rt_pcpu_alloc() local
1369 pcpu_rt = ip6_dst_alloc(dev_net(dev), dev, flags | DST_NOCOUNT); in ip6_rt_pcpu_alloc()
1371 if (!pcpu_rt) { in ip6_rt_pcpu_alloc()
1375 ip6_rt_copy_init(pcpu_rt, res); in ip6_rt_pcpu_alloc()
1376 pcpu_rt->rt6i_flags |= RTF_PCPU; in ip6_rt_pcpu_alloc()
1379 pcpu_rt->sernum = rt_genid_ipv6(dev_net(dev)); in ip6_rt_pcpu_alloc()
1381 return pcpu_rt; in ip6_rt_pcpu_alloc()
1392 struct rt6_info *pcpu_rt; in rt6_get_pcpu_route() local
1394 pcpu_rt = this_cpu_read(*res->nh->rt6i_pcpu); in rt6_get_pcpu_route()
1396 if (pcpu_rt && pcpu_rt->sernum && !rt6_is_valid(pcpu_rt)) { in rt6_get_pcpu_route()
[all …]
Dip6_fib.c970 struct rt6_info *pcpu_rt; in __fib6_drop_pcpu_from() local
973 pcpu_rt = *ppcpu_rt; in __fib6_drop_pcpu_from()
980 if (pcpu_rt && rcu_access_pointer(pcpu_rt->from) == match) { in __fib6_drop_pcpu_from()
983 from = xchg((__force struct fib6_info **)&pcpu_rt->from, NULL); in __fib6_drop_pcpu_from()