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_compat_reset() -> mvqs_set_defaults()
| 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->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 |
| CAPPED_DATA | 0 | &ndev->reslock | 1 |
| 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() -> mvqs_set_defaults()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndev | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->cur_num_vqs | 2 |
| PARAM_VALUE | 0 | ndev->event_cbs | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->mvdev.actual_features | 4294967296 |
| PARAM_VALUE | 0 | ndev->mvdev.async_ctx.inflight_done.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | ndev->mvdev.async_ctx.inflight_done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | ndev->mvdev.async_ctx.inflight_done.wait.lock.owner_cpu | u32max |
| 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.async_ctx.num_inflight.counter | 1 |
| PARAM_VALUE | 0 | ndev->mvdev.max_vqs | 0-131070 |
| PARAM_VALUE | 0 | ndev->mvdev.mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->vqs | 16,4096-ptr_max |
| BUF_SIZE | 0 | ndev->event_cbs | 24-3145704 |
| BUF_SIZE | 0 | ndev->vqs | 0-141555600 |
| CAPPED_DATA | 0 | ndev->mvdev.max_vqs | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &vdpa_dev_lock | ||
| 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 |
drivers/vdpa/mlx5/net/mlx5_vnet.c restore_channels_info() -> mvqs_set_defaults()
| 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 |
| CAPPED_DATA | 0 | ndev->cur_num_vqs | 1 |
| CAPPED_DATA | 0 | ndev->mvdev.max_vqs | 1 |
| DATA_SOURCE | 0 | ndev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |