Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/vdpa/mlx5/net/mlx5_vnet.c mlx5_vdpa_get_vq_state() -> query_virtqueues()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->vqs 4096-ptr_max
PARAM_VALUE 2 num_vqs 1
PARAM_VALUE 3 attrs 8765456458648199168
UNITS 1 start_vq unit_array_size
LOCK2 &d->mutex
TYPE_LOCK (struct vhost_dev)->mutex

drivers/vdpa/mlx5/net/mlx5_vnet.c save_channel_info() -> query_virtqueues()

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.async_ctx.dev->pdev->sriov->driver_max_VFs 0-u16max
PARAM_VALUE 0 ndev->mvdev.max_vqs 1-u32max
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.vdev.config 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.vdev.config->resume 0
PARAM_VALUE 0 ndev->vqs 4096-ptr_max
PARAM_VALUE 2 num_vqs 1
PARAM_VALUE 3 attrs 5303733374307893248
PARAM_VALUE 3 attrs->state 0
CAPPED_DATA 0 ndev->cur_num_vqs 1
DATA_SOURCE 0 ndev $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ndev->cur_num_vqs
UNITS 1 start_vq unit_array_size
LOCK2 &dev->mutex
LOCK2 &ndev->reslock
HALF_LOCKED2 &dev->mm->mmap_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mlx5_vdpa_net)->reslock
TYPE_LOCK (struct vhost_dev)->mutex

drivers/vdpa/mlx5/net/mlx5_vnet.c suspend_vqs() -> query_virtqueues()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->cur_num_vqs 1-u32max
PARAM_VALUE 0 ndev->debugfs->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ndev->debugfs->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 ndev->debugfs->d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 ndev->debugfs->d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 ndev->debugfs->d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 ndev->debugfs->d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 ndev->debugfs->d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 ndev->debugfs->d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 ndev->debugfs->d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 ndev->debugfs->d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 ndev->debugfs->d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 0 ndev->debugfs->d_parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 ndev->debugfs->d_parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 ndev->debugfs->d_parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 ndev->debugfs->d_parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 ndev->debugfs->d_parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 ndev->debugfs->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 ndev->debugfs->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 ndev->debugfs->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 ndev->debugfs->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 ndev->debugfs->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 ndev->debugfs->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 ndev->debugfs->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 ndev->debugfs->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 ndev->debugfs->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
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.async_ctx.dev->pdev->bus->self->link_bwctrl->cdev 0-s64max
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->pdev->bus->self->link_bwctrl->cdev (-22),(-19),(-12),0-s64max
PARAM_VALUE 0 ndev->mvdev.mres.lock.dep_map->name 0-255
PARAM_VALUE 0 ndev->mvdev.mres.lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ndev->mvdev.mres.lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ndev->mvdev.mres.lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ndev->mvdev.mres.lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ndev->mvdev.mres.lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ndev->mvdev.mres.lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ndev->mvdev.mres.lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ndev->mvdev.res.uar->mdev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 ndev->mvdev.res.uar->mdev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 ndev->mvdev.vdev.dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 ndev->reslock.first_waiter->type 0-1
PARAM_VALUE 0 ndev->rx_dent->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ndev->rx_dent->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 ndev->rx_dent->d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 ndev->rx_dent->d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 ndev->rx_dent->d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 ndev->rx_dent->d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 ndev->rx_dent->d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 ndev->rx_dent->d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 ndev->rx_dent->d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 ndev->rx_dent->d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 ndev->rx_dent->d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 0 ndev->rx_dent->d_parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 ndev->rx_dent->d_parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 ndev->rx_dent->d_parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 ndev->rx_dent->d_parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 ndev->rx_dent->d_parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 ndev->rx_dent->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 ndev->rx_dent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 ndev->rx_dent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 ndev->rx_dent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 ndev->rx_dent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 ndev->rx_dent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 ndev->rx_dent->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 ndev->rx_dent->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 ndev->rx_dent->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 0 ndev->vqs 4096-ptr_max
PARAM_VALUE 1 start_vq s32min-(-2),0-s32max
PARAM_VALUE 3 attrs 16,4096-ptr_max
BUF_SIZE 0 ndev->cvq_ent.mvdev (-1),2752
BUF_SIZE 0 ndev->event_cbs (-1),24-3145704
BUF_SIZE 0 ndev->vqs (-1)-141555600
BUF_SIZE 3 attrs 0-u64max
CAPPED_DATA 1 start_vq 1
DATA_SOURCE 0 ndev $0
DATA_SOURCE 1 start_vq $1
DATA_SOURCE 2 num_vqs $2
DATA_SOURCE 3 attrs r _kzalloc_noprof
PARAM_COMPARE 0 ndev->cur_num_vqs > $1
PARAM_COMPARE 1 start_vq < $0->cur_num_vqs
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ndev->cur_num_vqs
NO_OVERFLOW_SIMPLE 0 ndev->mvdev.max_vqs
NO_OVERFLOW_SIMPLE 2 num_vqs
UNITS 1 start_vq unit_array_size
UNITS 2 num_vqs unit_array_size
ELEM_COUNT 3 ==attrs2 8051
HALF_LOCKED2 &d->mutex
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &ndev->reslock
HALF_LOCKED2 0 &ndev->reslock