Defined in 1 files as a member:

Defined in 3 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/vdpa/mlx5/net/mlx5_vnet.c change_num_qps() -> setup_vq()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->cur_num_vqs 2-131070
PARAM_VALUE 0 ndev->mvdev.async_ctx.dev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 ndev->mvdev.async_ctx.dev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 ndev->mvdev.mdev->priv.dbg.cq_debugfs->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ndev->mvdev.mdev->priv.dbg.cq_debugfs->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 ndev->mvdev.mdev->priv.dbg.eq_debugfs->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ndev->mvdev.mdev->priv.dbg.eq_debugfs->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 ndev->vqs 4096-ptr_max
PARAM_VALUE 1 mvq 4096-ptr_max
PARAM_VALUE 2 filled 0
CAPPED_DATA 0 ndev->cur_num_vqs 1
LOCK2 &ndev->reslock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mlx5_vdpa_net)->reslock

drivers/vdpa/mlx5/net/mlx5_vnet.c setup_virtqueues() -> setup_vq()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.async_ctx.dev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 ndev->mvdev.async_ctx.dev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 ndev->mvdev.mdev->priv.dbg.cq_debugfs->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ndev->mvdev.mdev->priv.dbg.cq_debugfs->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 ndev->mvdev.mdev->priv.dbg.eq_debugfs->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ndev->mvdev.mdev->priv.dbg.eq_debugfs->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 ndev->vqs 4096-ptr_max
PARAM_VALUE 1 mvq 4096-ptr_max
DATA_SOURCE 2 filled $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &ndev->reslock
HALF_LOCKED2 &vdev->cf_lock
HALF_LOCKED2 global &vdpa_dev_lock
TYPE_LOCK (struct mlx5_vdpa_net)->reslock

drivers/virtio/virtio_pci_common.c vp_setup_vq() -> (struct virtio_pci_device)->setup_vq()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 1 mvq 4096-ptr_max
BUF_SIZE 1 mvq 32
BUF_SIZE 4 name 3-4,6-16,24,32
BUF_SIZE 4 name 3-4,6-16,24,32
DATA_SOURCE 0 ndev r to_vp_device
DATA_SOURCE 1 mvq r _kmalloc_noprof
DATA_SOURCE 2 filled $1
DATA_SOURCE 3 callback $2
DATA_SOURCE 4 name $3
DATA_SOURCE 5 ctx $4
DATA_SOURCE 6 msix_vec $5
CONTAINER 0 -2368+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 2 filled 0-u16max
HALF_LOCKED2 global &the_virtio_vsock_mutex