Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 20 files:
- drivers/net/geneve.c, line 1794
- drivers/net/ovpn/peer.c, line 121
- drivers/net/vxlan/vxlan_core.c, line 589
- drivers/net/vxlan/vxlan_mdb.c, line 705
- drivers/net/wireguard/peer.c, line 36
- include/net/dst_metadata.h, line 177
- net/core/dst_cache.c, line 177
- net/ipv4/ip_tunnel.c, line 1297
- net/ipv4/ip_tunnel_core.c, line 716
- net/ipv6/ila/ila_lwt.c, line 231
- net/ipv6/ioam6_iptunnel.c, line 169
- net/ipv6/ip6_gre.c
- net/ipv6/ip6_tunnel.c, line 1950
- net/ipv6/rpl_iptunnel.c, line 105
- net/ipv6/seg6_iptunnel.c
- net/ipv6/sit.c, line 1453
- net/netfilter/nft_tunnel.c, line 490
- net/openvswitch/flow_netlink.c, line 2847
- net/sched/act_tunnel_key.c, line 484
- net/tipc/udp_media.c
Smatch caller information:
drivers/net/geneve.c geneve_config_alloc() -> dst_cache_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst_cache | 4096-ptr_max |
| PARAM_VALUE | 0 | dst_cache->cache | 0 |
| PARAM_VALUE | 1 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &ops->srcu | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/net/geneve.c tun_dst_unclone() -> dst_cache_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst_cache->cache | 1-u64max |
| PARAM_VALUE | 1 | gfp | 2080 |
drivers/net/wireguard/peer.c wg_peer_create() -> dst_cache_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst_cache | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &wg->device_update_lock | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| TYPE_LOCK | (struct wg_device)->device_update_lock |
net/openvswitch/flow_netlink.c validate_and_copy_set_tun() -> dst_cache_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/ipv6/ip6_tunnel.c ip6_tnl_dev_init_gen() -> dst_cache_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst_cache | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/ipv6/rpl_iptunnel.c rpl_build_state() -> dst_cache_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv6/ip6_gre.c ip6erspan_tap_init() -> dst_cache_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst_cache | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/ipv6/ip6_gre.c ip6gre_tunnel_init_common() -> dst_cache_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst_cache | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/sched/act_tunnel_key.c tunnel_key_init() -> dst_cache_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/tipc/udp_media.c tipc_udp_enable() -> dst_cache_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst_cache | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/tipc/udp_media.c tipc_udp_rcast_add() -> dst_cache_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst_cache | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ub->rcast_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct udp_bearer)->rcast_lock |
net/ipv6/sit.c ipip6_tunnel_init() -> dst_cache_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst_cache | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/ipv4/ip_tunnel_core.c ip_tun_build_state() -> dst_cache_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst_cache | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/netfilter/nft_tunnel.c nft_tunnel_obj_init() -> dst_cache_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 4197568 |
| MEM_ZERO | 0 | dst_cache | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ovpn/peer.c ovpn_peer_new() -> dst_cache_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst_cache | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ipv4/ip_tunnel.c __ip_tunnel_init() -> dst_cache_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst_cache | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/vxlan/vxlan_mdb.c vxlan_mdb_remote_rdst_init() -> dst_cache_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst_cache | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/vxlan/vxlan_core.c tun_dst_unclone() -> dst_cache_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst_cache->cache | 1-u64max |
| PARAM_VALUE | 1 | gfp | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |
drivers/net/vxlan/vxlan_core.c vxlan_fdb_append() -> dst_cache_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst_cache | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 10272 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &vxlan->hash_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct vxlan_dev)->hash_lock |
net/core/dev.c tun_dst_unclone() -> dst_cache_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst_cache->cache | 1-u64max |
| PARAM_VALUE | 1 | gfp | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/ipv6/ioam6_iptunnel.c ioam6_build_state() -> dst_cache_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst_cache | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv6/seg6_iptunnel.c seg6_build_state() -> dst_cache_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv6/seg6_iptunnel.c seg6_build_state() -> dst_cache_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst_cache | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv6/ila/ila_lwt.c ila_build_state() -> dst_cache_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst_cache | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |