Home
last modified time | relevance | path

Searched refs:dst_cache (Results 1 – 9 of 9) sorted by relevance

/linux-4.4.14/net/ipv4/
Dip_tunnel.c86 __tunnel_dst_set(raw_cpu_ptr(t->dst_cache), dst, saddr); in tunnel_dst_set()
99 __tunnel_dst_set(per_cpu_ptr(t->dst_cache, i), NULL, 0); in ip_tunnel_dst_reset_all()
110 idst = raw_cpu_ptr(t->dst_cache); in tunnel_rtable_get()
983 free_percpu(tunnel->dst_cache); in ip_tunnel_dev_free()
1177 tunnel->dst_cache = alloc_percpu(struct ip_tunnel_dst); in ip_tunnel_init()
1178 if (!tunnel->dst_cache) { in ip_tunnel_init()
1185 free_percpu(tunnel->dst_cache); in ip_tunnel_init()
/linux-4.4.14/include/net/
Dip6_tunnel.h48 struct ip6_tnl_dst __percpu *dst_cache; /* cached dst */ member
Dip_tunnels.h111 struct ip_tunnel_dst __percpu *dst_cache; member
Dip_vs.h650 struct dst_entry *dst_cache; /* destination cache entry */ member
/linux-4.4.14/net/ipv6/
Dip6_tunnel.c153 idst = raw_cpu_ptr(t->dst_cache); in ip6_tnl_dst_get()
180 ip6_tnl_per_cpu_dst_set(per_cpu_ptr(t->dst_cache, i), NULL); in ip6_tnl_dst_reset()
186 ip6_tnl_per_cpu_dst_set(raw_cpu_ptr(t->dst_cache), dst); in ip6_tnl_dst_set()
193 if (!t->dst_cache) in ip6_tnl_dst_destroy()
197 free_percpu(t->dst_cache); in ip6_tnl_dst_destroy()
205 t->dst_cache = alloc_percpu(struct ip6_tnl_dst); in ip6_tnl_dst_init()
206 if (!t->dst_cache) in ip6_tnl_dst_init()
210 seqlock_init(&per_cpu_ptr(t->dst_cache, i)->lock); in ip6_tnl_dst_init()
Dsit.c1345 free_percpu(tunnel->dst_cache); in ipip6_dev_free()
1388 tunnel->dst_cache = alloc_percpu(struct ip_tunnel_dst); in ipip6_tunnel_init()
1389 if (!tunnel->dst_cache) { in ipip6_tunnel_init()
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_xmit.c83 dest_dst->dst_cache = dst; in __ip_vs_dst_set()
100 dst = dest_dst->dst_cache; in __ip_vs_dst_check()
273 rt = (struct rtable *) dest_dst->dst_cache; in __ip_vs_get_out_rt()
421 rt = (struct rt6_info *) dest_dst->dst_cache; in __ip_vs_get_out_rt_v6()
Dip_vs_ctl.c630 dst_release(dest_dst->dst_cache); in ip_vs_dest_dst_rcu_free()
1505 if (dest_dst && dest_dst->dst_cache->dev == dev) { in ip_vs_forget_dev()
Dip_vs_core.c1527 mtu = dst_mtu(dest_dst->dst_cache); in ip_vs_in_icmp()