Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/ethernet/intel/ice/ice_eswitch.c, line 98
- include/net/dst_metadata.h, line 179
- net/core/dst.c
- net/netfilter/nft_tunnel.c, line 492
Smatch caller information:
drivers/net/geneve.c tun_dst_unclone() -> metadata_dst_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md_dst | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.__rcuref.refcnt.counter | 0 |
| PARAM_VALUE | 0 | md_dst->dst.__use | 0 |
| PARAM_VALUE | 0 | md_dst->dst.dev_tracker | 0,4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.error | 0 |
| PARAM_VALUE | 0 | md_dst->dst.expires | 0 |
| PARAM_VALUE | 0 | md_dst->dst.flags | 136 |
| PARAM_VALUE | 0 | md_dst->dst.header_len | 0 |
| PARAM_VALUE | 0 | md_dst->dst.input | 8553433669308997632 |
| PARAM_VALUE | 0 | md_dst->dst.lwtstate | 0 |
| PARAM_VALUE | 0 | md_dst->dst.obsolete | 0 |
| PARAM_VALUE | 0 | md_dst->dst.ops | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.ops->kmem_cachep | 0 |
| PARAM_VALUE | 0 | md_dst->dst.output | 1359104979572629504 |
| PARAM_VALUE | 0 | md_dst->dst.rt_uncached.next | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.rt_uncached.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.rt_uncached.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.rt_uncached.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.rt_uncached.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.rt_uncached_list | 0 |
| PARAM_VALUE | 0 | md_dst->dst.tclassid | 0 |
| PARAM_VALUE | 0 | md_dst->dst.trailer_len | 0 |
| PARAM_VALUE | 0 | md_dst->dst.xfrm | 0 |
| PARAM_VALUE | 0 | md_dst->type | 0 |
| PARAM_VALUE | 0 | md_dst->u.tun_info.dst_cache.cache | 0 |
| BUF_SIZE | 0 | md_dst | 256-511 |
| BUF_SIZE | 0 | md_dst | 256-511 |
| DATA_SOURCE | 0 | md_dst | r metadata_dst_alloc |
| NOCHECK_CALL |
drivers/net/ethernet/intel/ice/ice_eswitch.c ice_eswitch_release_repr() -> metadata_dst_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md_dst | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &pf->vfs.table_lock |
net/core/dst.c dst_destroy() -> metadata_dst_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md_dst | 4096-ptr_max |
| CAPPED_DATA | 0 | md_dst->lwtstate | 1 |
| DATA_SOURCE | 0 | md_dst | $0 |
| BIT_INFO | 0 | md_dst->flags | 0x80,0xffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/netfilter/nft_tunnel.c nft_tunnel_obj_init() -> metadata_dst_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md_dst | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.__rcuref.refcnt.counter | 0 |
| PARAM_VALUE | 0 | md_dst->dst.__use | 0 |
| PARAM_VALUE | 0 | md_dst->dst.dev_tracker | 0,4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.error | 0 |
| PARAM_VALUE | 0 | md_dst->dst.expires | 0 |
| PARAM_VALUE | 0 | md_dst->dst.flags | 136 |
| PARAM_VALUE | 0 | md_dst->dst.header_len | 0 |
| PARAM_VALUE | 0 | md_dst->dst.input | 8553433669308997632 |
| PARAM_VALUE | 0 | md_dst->dst.lwtstate | 0 |
| PARAM_VALUE | 0 | md_dst->dst.obsolete | 0 |
| PARAM_VALUE | 0 | md_dst->dst.ops | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.ops->kmem_cachep | 0 |
| PARAM_VALUE | 0 | md_dst->dst.output | 1359104979572629504 |
| PARAM_VALUE | 0 | md_dst->dst.rt_uncached.next | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.rt_uncached.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.rt_uncached.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.rt_uncached.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.rt_uncached.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.rt_uncached_list | 0 |
| PARAM_VALUE | 0 | md_dst->dst.tclassid | 0 |
| PARAM_VALUE | 0 | md_dst->dst.trailer_len | 0 |
| PARAM_VALUE | 0 | md_dst->dst.xfrm | 0 |
| PARAM_VALUE | 0 | md_dst->type | 0 |
| PARAM_VALUE | 0 | md_dst->u.tun_info.dst_cache.cache | 0 |
| PARAM_VALUE | 0 | md_dst->u.tun_info.key.tun_id | 0,4294967296-18446744069414584320 |
| PARAM_VALUE | 0 | md_dst->u.tun_info.mode | 1,3 |
| BUF_SIZE | 0 | md_dst | 256-511 |
| BUF_SIZE | 0 | md_dst | 256-511 |
| DATA_SOURCE | 0 | md_dst | r metadata_dst_alloc |
| MEM_ZERO | 0 | &md_dst->u.tun_info | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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/vxlan/vxlan_core.c tun_dst_unclone() -> metadata_dst_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md_dst | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.__rcuref.refcnt.counter | 0 |
| PARAM_VALUE | 0 | md_dst->dst.__use | 0 |
| PARAM_VALUE | 0 | md_dst->dst.dev_tracker | 0,4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.error | 0 |
| PARAM_VALUE | 0 | md_dst->dst.expires | 0 |
| PARAM_VALUE | 0 | md_dst->dst.flags | 136 |
| PARAM_VALUE | 0 | md_dst->dst.header_len | 0 |
| PARAM_VALUE | 0 | md_dst->dst.input | 8553433669308997632 |
| PARAM_VALUE | 0 | md_dst->dst.lwtstate | 0 |
| PARAM_VALUE | 0 | md_dst->dst.obsolete | 0 |
| PARAM_VALUE | 0 | md_dst->dst.ops | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.ops->kmem_cachep | 0 |
| PARAM_VALUE | 0 | md_dst->dst.output | 1359104979572629504 |
| PARAM_VALUE | 0 | md_dst->dst.rt_uncached.next | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.rt_uncached.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.rt_uncached.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.rt_uncached.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.rt_uncached.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.rt_uncached_list | 0 |
| PARAM_VALUE | 0 | md_dst->dst.tclassid | 0 |
| PARAM_VALUE | 0 | md_dst->dst.trailer_len | 0 |
| PARAM_VALUE | 0 | md_dst->dst.xfrm | 0 |
| PARAM_VALUE | 0 | md_dst->type | 0 |
| PARAM_VALUE | 0 | md_dst->u.tun_info.dst_cache.cache | 0 |
| BUF_SIZE | 0 | md_dst | 256-511 |
| BUF_SIZE | 0 | md_dst | 256-511 |
| DATA_SOURCE | 0 | md_dst | r metadata_dst_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |
net/core/dev.c tun_dst_unclone() -> metadata_dst_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md_dst | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.__rcuref.refcnt.counter | 0 |
| PARAM_VALUE | 0 | md_dst->dst.__use | 0 |
| PARAM_VALUE | 0 | md_dst->dst.dev_tracker | 0,4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.error | 0 |
| PARAM_VALUE | 0 | md_dst->dst.expires | 0 |
| PARAM_VALUE | 0 | md_dst->dst.flags | 136 |
| PARAM_VALUE | 0 | md_dst->dst.header_len | 0 |
| PARAM_VALUE | 0 | md_dst->dst.input | 8553433669308997632 |
| PARAM_VALUE | 0 | md_dst->dst.lwtstate | 0 |
| PARAM_VALUE | 0 | md_dst->dst.obsolete | 0 |
| PARAM_VALUE | 0 | md_dst->dst.ops | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.ops->kmem_cachep | 0 |
| PARAM_VALUE | 0 | md_dst->dst.output | 1359104979572629504 |
| PARAM_VALUE | 0 | md_dst->dst.rt_uncached.next | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.rt_uncached.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.rt_uncached.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.rt_uncached.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.rt_uncached.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | md_dst->dst.rt_uncached_list | 0 |
| PARAM_VALUE | 0 | md_dst->dst.tclassid | 0 |
| PARAM_VALUE | 0 | md_dst->dst.trailer_len | 0 |
| PARAM_VALUE | 0 | md_dst->dst.xfrm | 0 |
| PARAM_VALUE | 0 | md_dst->type | 0 |
| PARAM_VALUE | 0 | md_dst->u.tun_info.dst_cache.cache | 0 |
| BUF_SIZE | 0 | md_dst | 256-511 |
| BUF_SIZE | 0 | md_dst | 256-511 |
| DATA_SOURCE | 0 | md_dst | r metadata_dst_alloc |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |