Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

net/ipv4/ip_tunnel.c dst_metrics_write_ptr() -> (struct dst_ops)->cow_metrics()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 0 dst->_metrics 1-u64max
PARAM_VALUE 0 dst->ops 4096-ptr_max
PARAM_VALUE 1 old 1-u64max
DATA_SOURCE 0 dst $0
CONTAINER 0 -40-8+0 $(-1)
CONTAINER 1 *(-40-8+16) $(-1)
BIT_INFO 1 old 0x1,0xffffffffffffffff
BIT_INFO 1 old 0x1,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags

net/ipv6/route.c dst_metrics_write_ptr() -> (struct dst_ops)->cow_metrics()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 0 dst->_metrics 1-u64max
PARAM_VALUE 0 dst->ops 4096-ptr_max
PARAM_VALUE 1 old 1-u64max
BUF_SIZE 0 dst (-1),144
BUF_SIZE 0 dst (-1),144
DATA_SOURCE 0 dst $0
CONTAINER 0 -40-8+0 $(-1)
CONTAINER 1 *(-40-8+16) $(-1)
BIT_INFO 1 old 0x1,0xffffffffffffffff
BIT_INFO 1 old 0x1,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

net/bridge/br_nf_core.c dst_metrics_write_ptr() -> (struct dst_ops)->cow_metrics()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 0 dst->_metrics 1-u64max
PARAM_VALUE 0 dst->dev 4096-ptr_max
PARAM_VALUE 0 dst->dev_rcu 4096-ptr_max
PARAM_VALUE 0 dst->ops 4096-ptr_max
PARAM_VALUE 1 old 1-u64max
DATA_SOURCE 0 dst $0
CONTAINER 0 -40-8+0 $(-1)
CONTAINER 1 *(-40-8+16) $(-1)
BIT_INFO 1 old 0x1,0xffffffffffffffff
BIT_INFO 1 old 0x1,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &conn->lock
HALF_LOCKED2 &dev->reclaim_sem
HALF_LOCKED2 &dlci->mutex
HALF_LOCKED2 &dvbnet->ioctl_mutex
HALF_LOCKED2 &net->rtnl_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 global &br_ioctl_mutex
HALF_LOCKED2 global &busdevs_lock
HALF_LOCKED2 global &dsa2_mutex
HALF_LOCKED2 global &func_lock
HALF_LOCKED2 global &fwnet_device_mutex
HALF_LOCKED2 global &init_net.rtnl_mutex
HALF_LOCKED2 global &ioctl_mutex
HALF_LOCKED2 global &ovs_mutex
HALF_LOCKED2 global &pci_rescan_remove_lock
HALF_LOCKED2 global &pernet_ops_rwsem
HALF_LOCKED2 global &ppp_mutex
HALF_LOCKED2 global &probe_disc_mt
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &vlan_ioctl_mutex

net/bridge/br_device.c dst_metrics_write_ptr() -> (struct dst_ops)->cow_metrics()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 0 dst->_metrics 1-u64max
PARAM_VALUE 0 dst->ops 4096-ptr_max
PARAM_VALUE 1 old 1-u64max
DATA_SOURCE 0 dst $0
CONTAINER 0 -40-8+0 $(-1)
CONTAINER 1 *(-40-8+16) $(-1)
BIT_INFO 1 old 0x1,0xffffffffffffffff
BIT_INFO 1 old 0x1,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING

net/xfrm/xfrm_policy.c dst_metrics_write_ptr() -> (struct dst_ops)->cow_metrics()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 0 dst->_metrics 1-u64max
PARAM_VALUE 0 dst->ops 4096-ptr_max
PARAM_VALUE 0 dst->xfrm->type->proto 4,41,43,50-51,60,108
PARAM_VALUE 1 old 1-u64max
BUF_SIZE 0 dst 144
DATA_SOURCE 0 dst $0
CONTAINER 0 -40-8+0 $(-1)
CONTAINER 1 *(-40-8+16) $(-1)
BIT_INFO 1 old 0x1,0xffffffffffffffff
BIT_INFO 1 old 0x1,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING