Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/vdpa/mlx5/net/mlx5_vnet.c mlx5_vdpa_change_map() -> setup_vq_resources()

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.max_vqs 0-s32max
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->setup 0
PARAM_VALUE 1 filled 1
CAPPED_DATA 0 ndev->cur_num_vqs 1
CAPPED_DATA 0 ndev->mvdev.max_vqs 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ndev->cur_num_vqs
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 mlx5_vdpa_compat_reset() -> setup_vq_resources()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->cur_num_vqs 2
PARAM_VALUE 0 ndev->mvdev.actual_features 0
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.cvq.completed_desc 0
PARAM_VALUE 0 ndev->mvdev.cvq.ready 0
PARAM_VALUE 0 ndev->mvdev.cvq.received_desc 0
PARAM_VALUE 0 ndev->mvdev.max_vqs 0-s32max
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.status 0
PARAM_VALUE 0 ndev->mvdev.suspended 0
PARAM_VALUE 0 ndev->nb_registered 0
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
PARAM_VALUE 0 ndev->setup 0
PARAM_VALUE 1 filled 0
CAPPED_DATA 0 ndev->mvdev.max_vqs 1
CAPPED_DATA 0 &ndev->reslock 1
MEM_ZERO 0 ndev->event_cbs
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &vdev->cf_lock
LOCK2 0 &ndev->reslock
TYPE_LOCK (struct mlx5_vdpa_net)->reslock
TYPE_LOCK (struct vdpa_device)->cf_lock

drivers/vdpa/mlx5/net/mlx5_vnet.c mlx5_vdpa_dev_add() -> setup_vq_resources()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->config.mac 4096-ptr_max
PARAM_VALUE 0 ndev->cur_num_vqs 2
PARAM_VALUE 0 ndev->cvq_ent.mvdev 4096-ptr_max
PARAM_VALUE 0 ndev->cvq_ent.mvdev->actual_features 4294967296
PARAM_VALUE 0 ndev->cvq_ent.mvdev->async_ctx.dev 4096-ptr_max
PARAM_VALUE 0 ndev->cvq_ent.mvdev->async_ctx.inflight_done.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 ndev->cvq_ent.mvdev->async_ctx.inflight_done.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 ndev->cvq_ent.mvdev->max_vqs 0-131070
PARAM_VALUE 0 ndev->cvq_ent.mvdev->mdev 4096-ptr_max
PARAM_VALUE 0 ndev->cvq_ent.mvdev->mres.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ndev->cvq_ent.mvdev->mres.mr_gc_list_head.next 4096-ptr_max
PARAM_VALUE 0 ndev->cvq_ent.mvdev->mres.mr_list_head.next 4096-ptr_max
PARAM_VALUE 0 ndev->cvq_ent.mvdev->mres.mr_list_head.prev 4096-ptr_max
PARAM_VALUE 0 ndev->cvq_ent.mvdev->mres.wq_gc 4096-ptr_max
PARAM_VALUE 0 ndev->cvq_ent.mvdev->vdev.vmap.dma_dev 4096-ptr_max
PARAM_VALUE 0 ndev->event_cbs 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.actual_features 4294967296
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.inflight_done.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.async_ctx.inflight_done.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.async_ctx.inflight_done.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.async_ctx.inflight_done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.async_ctx.inflight_done.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.max_vqs 0-131070
PARAM_VALUE 0 ndev->mvdev.mdev 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.flags 0-4294967295
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_hard 0-1
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_lazy 0-1
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_queued 0-1
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_soft 0-1
PARAM_VALUE 0 ndev->mvdev.mdev->cmd.pool->dev->iommu->attach_deferred 0-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.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->pdev->link_bwctrl->cdev 0,4096-s64max
PARAM_VALUE 0 ndev->mvdev.mdev->priv.eq_table->ctrl_irq 0,4096-s64max
PARAM_VALUE 0 ndev->mvdev.mres.lock.dep_map->name 0-255
PARAM_VALUE 0 ndev->mvdev.mres.lock.first_waiter 0,4096-ptr_max
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.mres.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ndev->mvdev.mres.mr_gc_list_head.next 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.mres.mr_gc_list_head.next->next 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.mres.mr_gc_list_head.prev->next 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.mres.mr_gc_list_head.prev->prev 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.mres.mr_list_head.next 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.mres.mr_list_head.next->next 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.mres.mr_list_head.prev 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.mres.mr_list_head.prev->next 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.mres.mr_list_head.prev->prev 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.mres.wq_gc 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.vdev.dev.fwnode->dev 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.vdev.dev.fwnode->dev->fwnode 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.vdev.dev.fwnode->dev->p 1-u64max
PARAM_VALUE 0 ndev->mvdev.vdev.dev.fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 0 ndev->mvdev.vdev.dev.fwnode->suppliers.next 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.vdev.dev.fwnode->suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.vdev.dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.vdev.dev.kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.vdev.dev.kobj.sd->active.counter (-2147483647)
PARAM_VALUE 0 ndev->mvdev.vdev.dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 ndev->mvdev.vdev.dev.p->klist_children.get 2213798222526185472
PARAM_VALUE 0 ndev->mvdev.vdev.dev.p->klist_children.put 3126867300421632000
PARAM_VALUE 0 ndev->mvdev.vdev.dev.p->knode_bus.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 ndev->mvdev.vdev.dev.p->knode_class.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 ndev->mvdev.vdev.dev.p->knode_parent.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 ndev->mvdev.vdev.dev.physical_location->horizontal_position 0-3
PARAM_VALUE 0 ndev->mvdev.vdev.dev.physical_location->panel 0-7
PARAM_VALUE 0 ndev->mvdev.vdev.dev.physical_location->vertical_position 0-3
PARAM_VALUE 0 ndev->mvdev.vdev.mdev 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.vdev.vmap.dma_dev 4096-ptr_max
PARAM_VALUE 0 ndev->mvdev.wq 4096-ptr_max
PARAM_VALUE 0 ndev->res.tdn 0-16777215
PARAM_VALUE 0 ndev->res.tisn 0-16777215
PARAM_VALUE 0 ndev->res.valid 1
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.magic 4096-ptr_max
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
PARAM_VALUE 0 ndev->rqt_size 0-u16max
PARAM_VALUE 0 ndev->setup 0
PARAM_VALUE 0 ndev->vqs 16,4096-ptr_max
PARAM_VALUE 0 *ndev->config->mac 0
PARAM_VALUE 1 filled 0
BUF_SIZE 0 ndev->cvq_ent.mvdev 2752
BUF_SIZE 0 ndev->event_cbs 24-3145704
BUF_SIZE 0 ndev->vqs 0-141555600
CAPPED_DATA 0 ndev->cvq_ent.mvdev->max_vqs 1
CAPPED_DATA 0 ndev->mvdev.max_vqs 1
CAPPED_DATA 0 ndev->rqt_size 1
CAPPED_DATA 0 &ndev->reslock 1
FUZZY_MAX 0 ndev->rqt_size 1
BIT_INFO 0 ndev->mvdev.mlx_features 0x300000000,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ndev->mvdev.max_vqs
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

drivers/vdpa/mlx5/net/mlx5_vnet.c mlx5_vdpa_set_status() -> setup_vq_resources()

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->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
PARAM_VALUE 0 ndev->setup 0
PARAM_VALUE 1 filled 1
CAPPED_DATA 0 &ndev->reslock 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &vdev->cf_lock
LOCK2 0 &ndev->reslock
HALF_LOCKED2 &d->mutex
TYPE_LOCK (struct mlx5_vdpa_net)->reslock
TYPE_LOCK (struct vdpa_device)->cf_lock