Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

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->bus->self->link_bwctrl->cdev (-22),(-19),(-12),0-s64max
PARAM_VALUE 0 ndev->mvdev.mdev 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.alloc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.state 1
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.token 1-255
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.token_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.vars.throttle_sem.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.vars.throttle_sem.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.vars.throttle_sem.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.vars.throttle_sem.last_holder 0
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.vars.throttle_sem.lock.dep_map->name 0-255
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.vars.throttle_sem.lock.owner (-1)
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.vars.throttle_sem.lock.owner_cpu u32max
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.vars.throttle_sem.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.vars.unprivileged_sem.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.vars.unprivileged_sem.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.vars.unprivileged_sem.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.vars.unprivileged_sem.last_holder 0
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.vars.unprivileged_sem.lock.dep_map->name 0-255
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.vars.unprivileged_sem.lock.owner (-1)
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.vars.unprivileged_sem.lock.owner_cpu u32max
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.vars.unprivileged_sem.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 ndev->mvdev.mdev->pdev->error_state 1
PARAM_VALUE 0 ndev->mvdev.mdev->priv.db_node_pools 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.mdev->priv.dbg.cq_debugfs->d_children.first 4096-ptr_max
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.cq_debugfs->d_sb 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.mdev->priv.dbg.eq_debugfs->d_children.first 4096-ptr_max
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->list.next 2624917664208203776
PARAM_VALUE 0 ndev->mvdev.mdev->priv.dbg.eq_debugfs->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 ndev->mvdev.mdev->priv.dbg.eq_debugfs->d_sb 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.mdev->priv.eq_table->comp_eqs.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ndev->mvdev.mdev->priv.eq_table->comp_irqs.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ndev->mvdev.mdev->priv.eq_table->comp_lock.dep_map->name 0-255
PARAM_VALUE 0 ndev->mvdev.mdev->priv.eq_table->comp_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ndev->mvdev.mdev->priv.eq_table->comp_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ndev->mvdev.mdev->priv.eq_table->comp_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ndev->mvdev.mdev->priv.eq_table->comp_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ndev->mvdev.mdev->priv.eq_table->comp_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ndev->mvdev.mdev->priv.eq_table->ctrl_irq 0-s64max
PARAM_VALUE 0 ndev->mvdev.mdev->priv.eq_table->curr_comp_eqs s32min-s32max
PARAM_VALUE 0 ndev->mvdev.mdev->priv.eq_table->max_comp_eqs 1-s32max
PARAM_VALUE 0 ndev->mvdev.res.uar 4096-ptr_max
PARAM_VALUE 0 ndev->vqs 4096-ptr_max
PARAM_VALUE 0 *ndev->mvdev.mdev->priv.dbg.cq_debugfs->d_children.first->pprev 1-u64max
PARAM_VALUE 0 *ndev->mvdev.mdev->priv.dbg.eq_debugfs->d_children.first->pprev 1-u64max
PARAM_VALUE 1 mvq 4096-ptr_max
PARAM_VALUE 1 mvq->fwqp.db->db 0-255
PARAM_VALUE 1 mvq->fwqp.db.db 4096-ptr_max
PARAM_VALUE 1 mvq->fwqp.db.index 0-64
PARAM_VALUE 1 mvq->fwqp.db.u.pool_page 4096-ptr_max
PARAM_VALUE 1 mvq->fwqp.frag_buf.frags 1-u64max
PARAM_VALUE 1 mvq->fwqp.frag_buf.npages 0-524288
PARAM_VALUE 1 mvq->fwqp.frag_buf.page_shift 12
PARAM_VALUE 1 mvq->fwqp.frag_buf.size 0-s32max
PARAM_VALUE 1 mvq->fwqp.mqp.qpn 0-16777215
PARAM_VALUE 1 mvq->initialized 0
PARAM_VALUE 1 mvq->vqqp.db->db 0-255
PARAM_VALUE 1 mvq->vqqp.mqp.qpn 0-16777215
CAPPED_DATA 0 ndev->mvdev.mdev->priv.eq_table->max_comp_eqs 1
DATA_SOURCE 0 ndev $0
DATA_SOURCE 1 mvq $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 mvq->fwqp.frag_buf.npages
NO_OVERFLOW_SIMPLE 1 mvq->vqqp.frag_buf.npages
HALF_LOCKED2 &ndev->reslock
TYPE_LOCK (struct mlx5_vdpa_net)->reslock