Home
last modified time | relevance | path

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

/linux-4.1.27/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()
957 free_percpu(tunnel->dst_cache); in ip_tunnel_dev_free()
1147 tunnel->dst_cache = alloc_percpu(struct ip_tunnel_dst); in ip_tunnel_init()
1148 if (!tunnel->dst_cache) { in ip_tunnel_init()
1155 free_percpu(tunnel->dst_cache); in ip_tunnel_init()
/linux-4.1.27/include/net/
Dip6_tunnel.h42 struct dst_entry *dst_cache; /* cached dst */ member
Dip_tunnels.h70 struct ip_tunnel_dst __percpu *dst_cache; member
Dip_vs.h685 struct dst_entry *dst_cache; /* destination cache entry */ member
/linux-4.1.27/net/ipv6/
Dip6_tunnel.c131 struct dst_entry *dst = t->dst_cache; in ip6_tnl_dst_check()
135 t->dst_cache = NULL; in ip6_tnl_dst_check()
146 dst_release(t->dst_cache); in ip6_tnl_dst_reset()
147 t->dst_cache = NULL; in ip6_tnl_dst_reset()
155 dst_release(t->dst_cache); in ip6_tnl_dst_store()
156 t->dst_cache = dst; in ip6_tnl_dst_store()
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.1.27/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()
272 rt = (struct rtable *) dest_dst->dst_cache; in __ip_vs_get_out_rt()
416 rt = (struct rt6_info *) dest_dst->dst_cache; in __ip_vs_get_out_rt_v6()
Dip_vs_ctl.c632 dst_release(dest_dst->dst_cache); in ip_vs_dest_dst_rcu_free()
1512 if (dest_dst && dest_dst->dst_cache->dev == dev) { in ip_vs_forget_dev()
Dip_vs_core.c1470 mtu = dst_mtu(dest_dst->dst_cache); in ip_vs_in_icmp()