Symbol: dst_cache
drivers/net/bareudp.c
329
(struct dst_cache *)&info->dst_cache : NULL);
drivers/net/bareudp.c
399
(struct dst_cache *) &info->dst_cache : NULL);
drivers/net/bareudp.c
518
use_cache ? &info->dst_cache : NULL);
drivers/net/bareudp.c
536
use_cache ? &info->dst_cache : NULL);
drivers/net/geneve.c
1372
(struct dst_cache *)&info->dst_cache : NULL);
drivers/net/geneve.c
1489
(struct dst_cache *)&info->dst_cache : NULL);
drivers/net/geneve.c
1636
use_cache ? &info->dst_cache : NULL);
drivers/net/geneve.c
1662
use_cache ? &info->dst_cache : NULL);
drivers/net/geneve.c
1983
dst_cache_reset(&geneve->cfg.info.dst_cache);
drivers/net/geneve.c
2413
dst_cache_reset(&cfg.info.dst_cache);
drivers/net/geneve.c
398
err = dst_cache_init(&geneve->cfg.info.dst_cache, GFP_KERNEL);
drivers/net/geneve.c
411
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
121
ret = dst_cache_init(&peer->dst_cache, GFP_KERNEL);
drivers/net/ovpn/peer.c
279
dst_cache_reset(&peer->dst_cache);
drivers/net/ovpn/peer.c
350
dst_cache_destroy(&peer->dst_cache);
drivers/net/ovpn/peer.h
101
struct dst_cache dst_cache;
drivers/net/ovpn/udp.c
145
struct dst_cache *cache, struct sock *sk,
drivers/net/ovpn/udp.c
220
struct dst_cache *cache, struct sock *sk,
drivers/net/ovpn/udp.c
296
static int ovpn_udp_output(struct ovpn_peer *peer, struct dst_cache *cache,
drivers/net/ovpn/udp.c
351
ret = ovpn_udp_output(peer, &peer->dst_cache, sk, skb);
drivers/net/vxlan/vxlan_core.c
2353
struct dst_cache *dst_cache;
drivers/net/vxlan/vxlan_core.c
2414
dst_cache = &rdst->dst_cache;
drivers/net/vxlan/vxlan_core.c
2457
dst_cache = &info->dst_cache;
drivers/net/vxlan/vxlan_core.c
2489
tos, use_cache ? dst_cache : NULL);
drivers/net/vxlan/vxlan_core.c
2574
use_cache ? dst_cache : NULL);
drivers/net/vxlan/vxlan_core.c
3255
&info->dst_cache);
drivers/net/vxlan/vxlan_core.c
3271
&info->dst_cache);
drivers/net/vxlan/vxlan_core.c
562
dst_cache_reset(&rd->dst_cache);
drivers/net/vxlan/vxlan_core.c
589
dst_cache_init(&rd->dst_cache, GFP_ATOMIC | __GFP_NOWARN);
drivers/net/vxlan/vxlan_core.c
904
dst_cache_destroy(&rd->dst_cache);
drivers/net/vxlan/vxlan_core.c
925
dst_cache_destroy(&rd->dst_cache);
drivers/net/vxlan/vxlan_core.c
967
dst_cache_destroy(&rd->dst_cache);
drivers/net/vxlan/vxlan_mdb.c
691
dst_cache_destroy(&rd->dst_cache);
drivers/net/vxlan/vxlan_mdb.c
705
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
174
if (new_md->u.tun_info.dst_cache.cache) {
include/net/dst_metadata.h
177
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
962
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
187
struct dst_cache *dst_cache);
include/net/udp_tunnel.h
195
struct dst_cache *dst_cache);
include/net/vxlan.h
210
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
1092
dst_cache_destroy(&tunnel->dst_cache);
net/ipv4/ip_tunnel.c
1297
err = dst_cache_init(&tunnel->dst_cache, GFP_KERNEL);
net/ipv4/ip_tunnel.c
1303
dst_cache_destroy(&tunnel->dst_cache);
net/ipv4/ip_tunnel.c
1329
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
774
rt = dst_cache_get_ip4(&tun_info->dst_cache,
net/ipv4/ip_tunnel.c
777
rt = connected ? dst_cache_get_ip4(&tunnel->dst_cache,
net/ipv4/ip_tunnel.c
789
dst_cache_set_ip4(&tun_info->dst_cache, &rt->dst,
net/ipv4/ip_tunnel.c
792
dst_cache_set_ip4(&tunnel->dst_cache, &rt->dst,
net/ipv4/ip_tunnel.c
893
dst_cache_reset(&t->dst_cache);
net/ipv4/ip_tunnel_core.c
716
err = dst_cache_init(&tun_info->dst_cache, GFP_KERNEL);
net/ipv4/ip_tunnel_core.c
762
dst_cache_destroy(&tun_info->dst_cache);
net/ipv4/udp_tunnel_core.c
231
struct dst_cache *dst_cache)
net/ipv4/udp_tunnel_core.c
237
if (dst_cache) {
net/ipv4/udp_tunnel_core.c
238
rt = dst_cache_get_ip4(dst_cache, saddr);
net/ipv4/udp_tunnel_core.c
266
if (dst_cache)
net/ipv4/udp_tunnel_core.c
267
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
1208
dst_cache_reset(&t->dst_cache);
net/ipv6/ip6_gre.c
1426
dst_cache_destroy(&t->dst_cache);
net/ipv6/ip6_gre.c
1484
ret = dst_cache_init(&tunnel->dst_cache, GFP_KERNEL);
net/ipv6/ip6_gre.c
1509
dst_cache_destroy(&tunnel->dst_cache);
net/ipv6/ip6_gre.c
1857
ret = dst_cache_init(&tunnel->dst_cache, GFP_KERNEL);
net/ipv6/ip6_gre.c
1880
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
1167
dst = dst_cache_get(&t->dst_cache);
net/ipv6/ip6_tunnel.c
1255
dst_cache_set_ip6(&t->dst_cache, ndst, &fl6->saddr);
net/ipv6/ip6_tunnel.c
1561
dst_cache_reset(&t->dst_cache);
net/ipv6/ip6_tunnel.c
1939
ret = dst_cache_init(&t->dst_cache, GFP_KERNEL);
net/ipv6/ip6_tunnel.c
1963
dst_cache_destroy(&t->dst_cache);
net/ipv6/ip6_tunnel.c
250
dst_cache_destroy(&t->dst_cache);
net/ipv6/ip6_tunnel.c
382
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
176
if (dst_cache)
net/ipv6/ip6_udp_tunnel.c
177
dst_cache_set_ip6(dst_cache, dst, &fl6.saddr);
net/ipv6/ip6_vti.c
719
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
1159
dst_cache_reset(&t->dst_cache);
net/ipv6/sit.c
1190
dst_cache_reset(&t->dst_cache);
net/ipv6/sit.c
1410
dst_cache_destroy(&tunnel->dst_cache);
net/ipv6/sit.c
1453
err = dst_cache_init(&tunnel->dst_cache, GFP_KERNEL);
net/ipv6/sit.c
482
dst_cache_reset(&t->dst_cache);
net/ipv6/sit.c
525
dst_cache_reset(&tunnel->dst_cache);
net/ipv6/sit.c
937
rt = dst_cache_get_ip4(&tunnel->dst_cache, &fl4.saddr);
net/ipv6/sit.c
944
dst_cache_set_ip4(&tunnel->dst_cache, &rt->dst, fl4.saddr);
net/netfilter/ipvs/ip_vs_core.c
1940
mtu = dst_mtu(dest_dst->dst_cache);
net/netfilter/ipvs/ip_vs_ctl.c
1081
dst_release(dest_dst->dst_cache);
net/netfilter/ipvs/ip_vs_ctl.c
2208
if (dest_dst && dest_dst->dst_cache->dev == dev) {
net/netfilter/ipvs/ip_vs_xmit.c
330
rt = dst_rtable(dest_dst->dst_cache);
net/netfilter/ipvs/ip_vs_xmit.c
504
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
131
flow_tuple->dst_cache = dst;
net/netfilter/nf_flow_table_core.c
146
flow_tuple->dst_cache = dst;
net/netfilter/nf_flow_table_core.c
161
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
1150
rt = dst_rt6_info(tuplehash->tuple.dst_cache);
net/netfilter/nf_flow_table_ip.c
1163
tuplehash->tuple.dst_cache,
net/netfilter/nf_flow_table_ip.c
1169
rt = dst_rt6_info(tuplehash->tuple.dst_cache);
net/netfilter/nf_flow_table_ip.c
302
if (!tuple->dst_cache)
net/netfilter/nf_flow_table_ip.c
305
return dst_check(tuple->dst_cache, tuple->dst_cookie);
net/netfilter/nf_flow_table_ip.c
834
rt = dst_rtable(tuplehash->tuple.dst_cache);
net/netfilter/nf_flow_table_ip.c
847
tuplehash->tuple.dst_cache, &ip_daddr) < 0)
net/netfilter/nf_flow_table_ip.c
852
rt = dst_rtable(tuplehash->tuple.dst_cache);
net/netfilter/nf_flow_table_offload.c
290
const struct dst_entry *dst_cache;
net/netfilter/nf_flow_table_offload.c
310
dst_cache = this_tuple->dst_cache;
net/netfilter/nf_flow_table_offload.c
311
n = dst_neigh_lookup(dst_cache, daddr);
net/netfilter/nf_flow_table_offload.c
637
dst = this_tuple->dst_cache;
net/netfilter/nf_flow_table_offload.c
666
dst = other_tuple->dst_cache;
net/netfilter/nf_flow_table_offload.c
824
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
61
n = dst_neigh_lookup(dst_cache, daddr);
net/netfilter/nft_tunnel.c
490
err = dst_cache_init(&md->u.tun_info.dst_cache, GFP_KERNEL_ACCOUNT);
net/openvswitch/flow_netlink.c
2847
err = dst_cache_init(&tun_dst->u.tun_info.dst_cache, GFP_KERNEL);
net/sched/act_tunnel_key.c
484
ret = dst_cache_init(&metadata->u.tun_info.dst_cache, GFP_KERNEL);
net/tipc/udp_media.c
176
struct udp_media_addr *dst, struct dst_cache *cache)
net/tipc/udp_media.c
262
&ub->rcast.dst_cache);
net/tipc/udp_media.c
275
&rcast->dst_cache);
net/tipc/udp_media.c
313
if (dst_cache_init(&rcast->dst_cache, GFP_ATOMIC)) {
net/tipc/udp_media.c
775
err = dst_cache_init(&ub->rcast.dst_cache, GFP_ATOMIC);
net/tipc/udp_media.c
794
dst_cache_destroy(&ub->rcast.dst_cache);
net/tipc/udp_media.c
806
dst_cache_destroy(&rcast->dst_cache);
net/tipc/udp_media.c
831
dst_cache_destroy(&ub->rcast.dst_cache);
net/tipc/udp_media.c
85
struct dst_cache dst_cache;