Symbol: dst_cache
drivers/net/bareudp.c
332
(struct dst_cache *)&info->dst_cache : NULL);
drivers/net/bareudp.c
402
(struct dst_cache *) &info->dst_cache : NULL);
drivers/net/bareudp.c
521
use_cache ? &info->dst_cache : NULL);
drivers/net/bareudp.c
535
use_cache ? &info->dst_cache : NULL);
drivers/net/geneve.c
1321
(struct dst_cache *)&info->dst_cache : NULL);
drivers/net/geneve.c
1432
(struct dst_cache *)&info->dst_cache : NULL);
drivers/net/geneve.c
1573
use_cache ? &info->dst_cache : NULL);
drivers/net/geneve.c
1599
use_cache ? &info->dst_cache : NULL);
drivers/net/geneve.c
1873
dst_cache_reset(&geneve->cfg.info.dst_cache);
drivers/net/geneve.c
2236
dst_cache_reset(&cfg.info.dst_cache);
drivers/net/geneve.c
389
err = dst_cache_init(&geneve->cfg.info.dst_cache, GFP_KERNEL);
drivers/net/geneve.c
402
dst_cache_destroy(&geneve->cfg.info.dst_cache);
drivers/net/ovpn/netlink.c
305
dst_cache_reset(&peer->dst_cache);
drivers/net/ovpn/peer.c
116
ret = dst_cache_init(&peer->dst_cache, GFP_KERNEL);
drivers/net/ovpn/peer.c
274
dst_cache_reset(&peer->dst_cache);
drivers/net/ovpn/peer.c
343
dst_cache_destroy(&peer->dst_cache);
drivers/net/ovpn/peer.h
99
struct dst_cache dst_cache;
drivers/net/ovpn/udp.c
146
struct dst_cache *cache, struct sock *sk,
drivers/net/ovpn/udp.c
221
struct dst_cache *cache, struct sock *sk,
drivers/net/ovpn/udp.c
297
static int ovpn_udp_output(struct ovpn_peer *peer, struct dst_cache *cache,
drivers/net/ovpn/udp.c
352
ret = ovpn_udp_output(peer, &peer->dst_cache, sk, skb);
drivers/net/vxlan/vxlan_core.c
2347
struct dst_cache *dst_cache;
drivers/net/vxlan/vxlan_core.c
2408
dst_cache = &rdst->dst_cache;
drivers/net/vxlan/vxlan_core.c
2451
dst_cache = &info->dst_cache;
drivers/net/vxlan/vxlan_core.c
2483
tos, use_cache ? dst_cache : NULL);
drivers/net/vxlan/vxlan_core.c
2568
use_cache ? dst_cache : NULL);
drivers/net/vxlan/vxlan_core.c
3248
&info->dst_cache);
drivers/net/vxlan/vxlan_core.c
3264
&info->dst_cache);
drivers/net/vxlan/vxlan_core.c
563
dst_cache_reset(&rd->dst_cache);
drivers/net/vxlan/vxlan_core.c
590
dst_cache_init(&rd->dst_cache, GFP_ATOMIC | __GFP_NOWARN);
drivers/net/vxlan/vxlan_core.c
901
dst_cache_destroy(&rd->dst_cache);
drivers/net/vxlan/vxlan_core.c
922
dst_cache_destroy(&rd->dst_cache);
drivers/net/vxlan/vxlan_core.c
964
dst_cache_destroy(&rd->dst_cache);
drivers/net/vxlan/vxlan_mdb.c
690
dst_cache_destroy(&rd->dst_cache);
drivers/net/vxlan/vxlan_mdb.c
704
err = dst_cache_init(&rd->dst_cache, GFP_KERNEL);
drivers/net/wireguard/peer.h
45
struct dst_cache endpoint_cache;
drivers/net/wireguard/socket.c
21
struct endpoint *endpoint, u8 ds, struct dst_cache *cache)
drivers/net/wireguard/socket.c
98
struct endpoint *endpoint, u8 ds, struct dst_cache *cache)
include/net/dst_cache.h
107
void dst_cache_destroy(struct dst_cache *dst_cache);
include/net/dst_cache.h
24
struct dst_entry *dst_cache_get(struct dst_cache *dst_cache);
include/net/dst_cache.h
33
struct rtable *dst_cache_get_ip4(struct dst_cache *dst_cache, __be32 *saddr);
include/net/dst_cache.h
43
void dst_cache_set_ip4(struct dst_cache *dst_cache, struct dst_entry *dst,
include/net/dst_cache.h
56
void dst_cache_set_ip6(struct dst_cache *dst_cache, struct dst_entry *dst,
include/net/dst_cache.h
66
struct dst_entry *dst_cache_get_ip6(struct dst_cache *dst_cache,
include/net/dst_cache.h
77
static inline void dst_cache_reset(struct dst_cache *dst_cache)
include/net/dst_cache.h
79
WRITE_ONCE(dst_cache->reset_ts, jiffies);
include/net/dst_cache.h
91
void dst_cache_reset_now(struct dst_cache *dst_cache);
include/net/dst_cache.h
98
int dst_cache_init(struct dst_cache *dst_cache, gfp_t gfp);
include/net/dst_metadata.h
171
if (new_md->u.tun_info.dst_cache.cache) {
include/net/dst_metadata.h
174
ret = dst_cache_init(&new_md->u.tun_info.dst_cache, GFP_ATOMIC);
include/net/ip6_tunnel.h
53
struct dst_cache dst_cache; /* cached dst */
include/net/ip_tunnels.h
116
struct dst_cache dst_cache;
include/net/ip_tunnels.h
177
struct dst_cache dst_cache;
include/net/ip_vs.h
708
struct dst_entry *dst_cache; /* destination cache entry */
include/net/netfilter/nf_flow_table.h
159
struct dst_entry *dst_cache;
include/net/udp_tunnel.h
188
struct dst_cache *dst_cache);
include/net/udp_tunnel.h
196
struct dst_cache *dst_cache);
include/net/vxlan.h
209
struct dst_cache dst_cache;
net/core/dst.c
174
dst_cache_reset_now(&md_dst->u.tun_info.dst_cache);
net/core/dst.c
312
dst_cache_destroy(&md_dst->u.tun_info.dst_cache);
net/core/dst.c
348
dst_cache_destroy(&one_md_dst->u.tun_info.dst_cache);
net/core/dst_cache.c
103
void dst_cache_set_ip4(struct dst_cache *dst_cache, struct dst_entry *dst,
net/core/dst_cache.c
108
if (!dst_cache->cache)
net/core/dst_cache.c
111
local_lock_nested_bh(&dst_cache->cache->bh_lock);
net/core/dst_cache.c
112
idst = this_cpu_ptr(dst_cache->cache);
net/core/dst_cache.c
115
local_unlock_nested_bh(&dst_cache->cache->bh_lock);
net/core/dst_cache.c
120
void dst_cache_set_ip6(struct dst_cache *dst_cache, struct dst_entry *dst,
net/core/dst_cache.c
125
if (!dst_cache->cache)
net/core/dst_cache.c
128
local_lock_nested_bh(&dst_cache->cache->bh_lock);
net/core/dst_cache.c
130
idst = this_cpu_ptr(dst_cache->cache);
net/core/dst_cache.c
134
local_unlock_nested_bh(&dst_cache->cache->bh_lock);
net/core/dst_cache.c
138
struct dst_entry *dst_cache_get_ip6(struct dst_cache *dst_cache,
net/core/dst_cache.c
144
if (!dst_cache->cache)
net/core/dst_cache.c
147
local_lock_nested_bh(&dst_cache->cache->bh_lock);
net/core/dst_cache.c
149
idst = this_cpu_ptr(dst_cache->cache);
net/core/dst_cache.c
150
dst = dst_cache_per_cpu_get(dst_cache, idst);
net/core/dst_cache.c
152
local_unlock_nested_bh(&dst_cache->cache->bh_lock);
net/core/dst_cache.c
157
local_unlock_nested_bh(&dst_cache->cache->bh_lock);
net/core/dst_cache.c
163
int dst_cache_init(struct dst_cache *dst_cache, gfp_t gfp)
net/core/dst_cache.c
167
dst_cache->cache = alloc_percpu_gfp(struct dst_cache_pcpu,
net/core/dst_cache.c
169
if (!dst_cache->cache)
net/core/dst_cache.c
172
local_lock_init(&per_cpu_ptr(dst_cache->cache, i)->bh_lock);
net/core/dst_cache.c
174
dst_cache_reset(dst_cache);
net/core/dst_cache.c
179
void dst_cache_destroy(struct dst_cache *dst_cache)
net/core/dst_cache.c
183
if (!dst_cache->cache)
net/core/dst_cache.c
187
dst_release(per_cpu_ptr(dst_cache->cache, i)->dst);
net/core/dst_cache.c
189
free_percpu(dst_cache->cache);
net/core/dst_cache.c
193
void dst_cache_reset_now(struct dst_cache *dst_cache)
net/core/dst_cache.c
197
if (!dst_cache->cache)
net/core/dst_cache.c
200
dst_cache_reset(dst_cache);
net/core/dst_cache.c
202
struct dst_cache_pcpu *idst = per_cpu_ptr(dst_cache->cache, i);
net/core/dst_cache.c
28
static void dst_cache_per_cpu_dst_set(struct dst_cache_pcpu *dst_cache,
net/core/dst_cache.c
32
dst_release(dst_cache->dst);
net/core/dst_cache.c
36
dst_cache->cookie = cookie;
net/core/dst_cache.c
37
dst_cache->dst = dst;
net/core/dst_cache.c
40
static struct dst_entry *dst_cache_per_cpu_get(struct dst_cache *dst_cache,
net/core/dst_cache.c
54
READ_ONCE(dst_cache->reset_ts)) ||
net/core/dst_cache.c
67
struct dst_entry *dst_cache_get(struct dst_cache *dst_cache)
net/core/dst_cache.c
71
if (!dst_cache->cache)
net/core/dst_cache.c
74
local_lock_nested_bh(&dst_cache->cache->bh_lock);
net/core/dst_cache.c
75
dst = dst_cache_per_cpu_get(dst_cache, this_cpu_ptr(dst_cache->cache));
net/core/dst_cache.c
76
local_unlock_nested_bh(&dst_cache->cache->bh_lock);
net/core/dst_cache.c
81
struct rtable *dst_cache_get_ip4(struct dst_cache *dst_cache, __be32 *saddr)
net/core/dst_cache.c
86
if (!dst_cache->cache)
net/core/dst_cache.c
89
local_lock_nested_bh(&dst_cache->cache->bh_lock);
net/core/dst_cache.c
90
idst = this_cpu_ptr(dst_cache->cache);
net/core/dst_cache.c
91
dst = dst_cache_per_cpu_get(dst_cache, idst);
net/core/dst_cache.c
93
local_unlock_nested_bh(&dst_cache->cache->bh_lock);
net/core/dst_cache.c
98
local_unlock_nested_bh(&dst_cache->cache->bh_lock);
net/ipv4/ip_tunnel.c
1089
dst_cache_destroy(&tunnel->dst_cache);
net/ipv4/ip_tunnel.c
1294
err = dst_cache_init(&tunnel->dst_cache, GFP_KERNEL);
net/ipv4/ip_tunnel.c
1300
dst_cache_destroy(&tunnel->dst_cache);
net/ipv4/ip_tunnel.c
1326
dst_cache_reset(&tunnel->dst_cache);
net/ipv4/ip_tunnel.c
309
dst_cache_reset(&tunnel->dst_cache);
net/ipv4/ip_tunnel.c
612
rt = dst_cache_get_ip4(&tun_info->dst_cache, &fl4.saddr);
net/ipv4/ip_tunnel.c
620
dst_cache_set_ip4(&tun_info->dst_cache, &rt->dst,
net/ipv4/ip_tunnel.c
773
rt = dst_cache_get_ip4(&tun_info->dst_cache,
net/ipv4/ip_tunnel.c
776
rt = connected ? dst_cache_get_ip4(&tunnel->dst_cache,
net/ipv4/ip_tunnel.c
788
dst_cache_set_ip4(&tun_info->dst_cache, &rt->dst,
net/ipv4/ip_tunnel.c
791
dst_cache_set_ip4(&tunnel->dst_cache, &rt->dst,
net/ipv4/ip_tunnel.c
890
dst_cache_reset(&t->dst_cache);
net/ipv4/ip_tunnel_core.c
710
err = dst_cache_init(&tun_info->dst_cache, GFP_KERNEL);
net/ipv4/ip_tunnel_core.c
756
dst_cache_destroy(&tun_info->dst_cache);
net/ipv4/udp_tunnel_core.c
236
struct dst_cache *dst_cache)
net/ipv4/udp_tunnel_core.c
242
if (dst_cache) {
net/ipv4/udp_tunnel_core.c
243
rt = dst_cache_get_ip4(dst_cache, saddr);
net/ipv4/udp_tunnel_core.c
271
if (dst_cache)
net/ipv4/udp_tunnel_core.c
272
dst_cache_set_ip4(dst_cache, &rt->dst, fl4.saddr);
net/ipv6/ila/ila_lwt.c
21
struct dst_cache dst_cache;
net/ipv6/ila/ila_lwt.c
231
ret = dst_cache_init(&ilwt->dst_cache, GFP_ATOMIC);
net/ipv6/ila/ila_lwt.c
266
dst_cache_destroy(&ila_lwt_lwtunnel(lwt)->dst_cache);
net/ipv6/ila/ila_lwt.c
62
dst = dst_cache_get(&ilwt->dst_cache);
net/ipv6/ila/ila_lwt.c
94
dst_cache_set_ip6(&ilwt->dst_cache, dst, &fl6.saddr);
net/ipv6/ioam6_iptunnel.c
39
struct dst_cache cache;
net/ipv6/ip6_gre.c
1207
dst_cache_reset(&t->dst_cache);
net/ipv6/ip6_gre.c
1425
dst_cache_destroy(&t->dst_cache);
net/ipv6/ip6_gre.c
1483
ret = dst_cache_init(&tunnel->dst_cache, GFP_KERNEL);
net/ipv6/ip6_gre.c
1508
dst_cache_destroy(&tunnel->dst_cache);
net/ipv6/ip6_gre.c
1856
ret = dst_cache_init(&tunnel->dst_cache, GFP_KERNEL);
net/ipv6/ip6_gre.c
1879
dst_cache_destroy(&tunnel->dst_cache);
net/ipv6/ip6_gre.c
369
dst_cache_reset(&t->dst_cache);
net/ipv6/ip6_gre.c
382
dst_cache_reset(&t->dst_cache);
net/ipv6/ip6_tunnel.c
1160
dst = dst_cache_get(&t->dst_cache);
net/ipv6/ip6_tunnel.c
1247
dst_cache_set_ip6(&t->dst_cache, ndst, &fl6->saddr);
net/ipv6/ip6_tunnel.c
1553
dst_cache_reset(&t->dst_cache);
net/ipv6/ip6_tunnel.c
1924
ret = dst_cache_init(&t->dst_cache, GFP_KERNEL);
net/ipv6/ip6_tunnel.c
1948
dst_cache_destroy(&t->dst_cache);
net/ipv6/ip6_tunnel.c
251
dst_cache_destroy(&t->dst_cache);
net/ipv6/ip6_tunnel.c
383
dst_cache_reset(&t->dst_cache);
net/ipv6/ip6_udp_tunnel.c
143
struct dst_cache *dst_cache)
net/ipv6/ip6_udp_tunnel.c
149
if (dst_cache) {
net/ipv6/ip6_udp_tunnel.c
150
dst = dst_cache_get_ip6(dst_cache, saddr);
net/ipv6/ip6_udp_tunnel.c
177
if (dst_cache)
net/ipv6/ip6_udp_tunnel.c
178
dst_cache_set_ip6(dst_cache, dst, &fl6.saddr);
net/ipv6/ip6_vti.c
717
dst_cache_reset(&t->dst_cache);
net/ipv6/rpl_iptunnel.c
20
struct dst_cache cache;
net/ipv6/seg6_iptunnel.c
51
struct dst_cache cache_input;
net/ipv6/seg6_iptunnel.c
52
struct dst_cache cache_output;
net/ipv6/sit.c
1155
dst_cache_reset(&t->dst_cache);
net/ipv6/sit.c
1186
dst_cache_reset(&t->dst_cache);
net/ipv6/sit.c
1406
dst_cache_destroy(&tunnel->dst_cache);
net/ipv6/sit.c
1449
err = dst_cache_init(&tunnel->dst_cache, GFP_KERNEL);
net/ipv6/sit.c
481
dst_cache_reset(&t->dst_cache);
net/ipv6/sit.c
524
dst_cache_reset(&tunnel->dst_cache);
net/ipv6/sit.c
936
rt = dst_cache_get_ip4(&tunnel->dst_cache, &fl4.saddr);
net/ipv6/sit.c
943
dst_cache_set_ip4(&tunnel->dst_cache, &rt->dst, fl4.saddr);
net/netfilter/ipvs/ip_vs_core.c
1758
mtu = dst_mtu(dest_dst->dst_cache);
net/netfilter/ipvs/ip_vs_ctl.c
1750
if (dest_dst && dest_dst->dst_cache->dev == dev) {
net/netfilter/ipvs/ip_vs_ctl.c
753
dst_release(dest_dst->dst_cache);
net/netfilter/ipvs/ip_vs_xmit.c
319
rt = dst_rtable(dest_dst->dst_cache);
net/netfilter/ipvs/ip_vs_xmit.c
491
rt = dst_rt6_info(dest_dst->dst_cache);
net/netfilter/ipvs/ip_vs_xmit.c
81
dest_dst->dst_cache = dst;
net/netfilter/ipvs/ip_vs_xmit.c
98
dst = dest_dst->dst_cache;
net/netfilter/nf_flow_table_core.c
139
flow_tuple->dst_cache = dst;
net/netfilter/nf_flow_table_core.c
156
dst_release(flow->tuplehash[dir].tuple.dst_cache);
net/netfilter/nf_flow_table_core.c
82
return rt6_get_cookie(dst_rt6_info(flow_tuple->dst_cache));
net/netfilter/nf_flow_table_ip.c
1106
rt = dst_rt6_info(tuplehash->tuple.dst_cache);
net/netfilter/nf_flow_table_ip.c
1127
rt = dst_rt6_info(tuplehash->tuple.dst_cache);
net/netfilter/nf_flow_table_ip.c
306
return dst_check(tuple->dst_cache, tuple->dst_cookie);
net/netfilter/nf_flow_table_ip.c
590
struct rtable *rt = dst_rtable(tuple->dst_cache);
net/netfilter/nf_flow_table_ip.c
653
struct rtable *rt = dst_rtable(tuple->dst_cache);
net/netfilter/nf_flow_table_ip.c
785
rt = dst_rtable(tuplehash->tuple.dst_cache);
net/netfilter/nf_flow_table_ip.c
805
rt = dst_rtable(tuplehash->tuple.dst_cache);
net/netfilter/nf_flow_table_offload.c
289
const struct dst_entry *dst_cache;
net/netfilter/nf_flow_table_offload.c
309
dst_cache = this_tuple->dst_cache;
net/netfilter/nf_flow_table_offload.c
310
n = dst_neigh_lookup(dst_cache, daddr);
net/netfilter/nf_flow_table_offload.c
636
dst = this_tuple->dst_cache;
net/netfilter/nf_flow_table_offload.c
665
dst = other_tuple->dst_cache;
net/netfilter/nf_flow_table_offload.c
823
other_dst = other_tuple->dst_cache;
net/netfilter/nf_flow_table_path.c
28
struct dst_entry *dst_cache,
net/netfilter/nf_flow_table_path.c
31
route->tuple[!dir].in.ifindex = dst_cache->dev->ifindex;
net/netfilter/nf_flow_table_path.c
32
route->tuple[dir].dst = dst_cache;
net/netfilter/nf_flow_table_path.c
33
route->tuple[dir].xmit_type = nft_xmit_type(dst_cache);
net/netfilter/nf_flow_table_path.c
46
const struct dst_entry *dst_cache,
net/netfilter/nf_flow_table_path.c
52
struct net_device *dev = dst_cache->dev;
net/netfilter/nf_flow_table_path.c
59
n = dst_neigh_lookup(dst_cache, daddr);
net/netfilter/nft_tunnel.c
516
err = dst_cache_init(&md->u.tun_info.dst_cache, GFP_KERNEL_ACCOUNT);
net/openvswitch/flow_netlink.c
2769
err = dst_cache_init(&tun_dst->u.tun_info.dst_cache, GFP_KERNEL);
net/sched/act_tunnel_key.c
478
ret = dst_cache_init(&metadata->u.tun_info.dst_cache, GFP_KERNEL);
net/tipc/udp_media.c
172
struct udp_media_addr *dst, struct dst_cache *cache)
net/tipc/udp_media.c
259
&ub->rcast.dst_cache);
net/tipc/udp_media.c
272
&rcast->dst_cache);
net/tipc/udp_media.c
316
if (dst_cache_init(&rcast->dst_cache, GFP_ATOMIC)) {
net/tipc/udp_media.c
779
err = dst_cache_init(&ub->rcast.dst_cache, GFP_ATOMIC);
net/tipc/udp_media.c
798
dst_cache_destroy(&ub->rcast.dst_cache);
net/tipc/udp_media.c
813
dst_cache_destroy(&rcast->dst_cache);
net/tipc/udp_media.c
820
dst_cache_destroy(&ub->rcast.dst_cache);
net/tipc/udp_media.c
85
struct dst_cache dst_cache;