Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/vdpa/mlx5/net/mlx5_vnet.c handle_ctrl_mac() -> mlx5_vdpa_change_mac()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 2 new_mac 884761386477088768
BUF_SIZE 1 pfmdev s32min-(-2),1-s32max
BUF_SIZE 1 pfmdev s32min-(-2),1-s32max
BUF_SIZE 2 new_mac 6
DATA_SOURCE 1 pfmdev r pci_get_drvdata
USER_DATA 2 *new_mac 0-255
USER_PTR 2 new_mac
LOCK2 &ndev->reslock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mlx5_vdpa_net)->reslock

drivers/vdpa/mlx5/net/mlx5_vnet.c mlx5_vdpa_set_attr() -> mlx5_vdpa_change_mac()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.mlx_features 0,32-u64max
PARAM_VALUE 0 ndev->reslock.dep_map->name 0-255
PARAM_VALUE 0 ndev->reslock.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 ndev->reslock.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 ndev->reslock.first_waiter->type 0-1
PARAM_VALUE 0 ndev->reslock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ndev->reslock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ndev->reslock.wait_lock.owner (-1)
PARAM_VALUE 0 ndev->reslock.wait_lock.owner_cpu u32max
BUF_SIZE 1 pfmdev s32min-(-2),1-s32max
BUF_SIZE 1 pfmdev s32min-(-2),1-s32max
BUF_SIZE 2 new_mac 6
CAPPED_DATA 0 &ndev->reslock 1
DATA_SOURCE 1 pfmdev r pci_get_drvdata
BIT_INFO 0 ndev->mvdev.mlx_features 0x20,0xffffffffffffffff
BIT_INFO 0 ndev->mvdev.status 0x0,0xfb
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->cf_lock
LOCK2 global &vdpa_dev_lock
LOCK2 0 &ndev->reslock
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
TYPE_LOCK (struct mlx5_vdpa_net)->reslock
TYPE_LOCK (struct vdpa_device)->cf_lock