Searched refs:dst_cache (Results 1 – 9 of 9) sorted by relevance
86 __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()
42 struct dst_entry *dst_cache; /* cached dst */ member
70 struct ip_tunnel_dst __percpu *dst_cache; member
685 struct dst_entry *dst_cache; /* destination cache entry */ member
131 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()
1345 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()
83 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()
632 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()
1470 mtu = dst_mtu(dest_dst->dst_cache); in ip_vs_in_icmp()