Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/vfio/pci/mlx5/main.c mlx5vf_pci_get_data_size() -> mlx5vf_cmd_query_vhca_migration_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mvdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mvdev->state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mvdev->state_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mvdev->state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mvdev->state_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mvdev->state_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mvdev->state_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mvdev->state_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | state_size | 6635891161625645056 |
| PARAM_VALUE | 2 | total_size | 3391717259151331328 |
| PARAM_VALUE | 3 | mig_state | 0 |
| PARAM_VALUE | 4 | query_flags | 0 |
| CAPPED_DATA | 0 | &mvdev->state_mutex | 1 |
| LOCK2 | 0 | &mvdev->state_mutex | |
| TYPE_LOCK | (struct mlx5vf_pci_core_device)->state_mutex |
drivers/vfio/pci/mlx5/main.c mlx5vf_pci_save_device_data() -> mlx5vf_cmd_query_vhca_migration_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mvdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.state | 1 |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.vars.throttle_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.vars.unprivileged_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | mvdev->mdev->pdev->bus->self->link_bwctrl->cdev | (-22),(-19),(-12),0,4096-s64max |
| PARAM_VALUE | 0 | mvdev->mdev->pdev->error_state | 1 |
| PARAM_VALUE | 0 | mvdev->mdev->priv.eq_table->ctrl_irq | 0,4096-s64max |
| PARAM_VALUE | 0 | mvdev->mdev_detach | 0 |
| PARAM_VALUE | 0 | mvdev->mig_state | 1-2,5 |
| PARAM_VALUE | 0 | mvdev->saving_migf->async_ctx.dev->cmd.vars.throttle_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | mvdev->saving_migf->async_ctx.dev->cmd.vars.unprivileged_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | mvdev->saving_migf->filp->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | mvdev->saving_migf->filp->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | mvdev->saving_migf->filp->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | mvdev->saving_migf->filp->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | mvdev->saving_migf->filp->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | mvdev->saving_migf->filp->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | mvdev->saving_migf->filp->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | mvdev->saving_migf->filp->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | mvdev->saving_migf->mvdev->mdev->cmd.vars.throttle_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | mvdev->saving_migf->mvdev->mdev->cmd.vars.unprivileged_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | mvdev->saving_migf->mvdev->mdev_detach | 0-1 |
| PARAM_VALUE | 0 | mvdev->state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mvdev->state_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mvdev->state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mvdev->state_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | mvdev->state_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mvdev->state_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mvdev->state_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mvdev->state_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | state_size | 6349128693091422208 |
| PARAM_VALUE | 2 | total_size | 7741323380427087872 |
| PARAM_VALUE | 3 | mig_state | 0 |
| PARAM_VALUE | 4 | query_flags | 0 |
| DATA_SOURCE | 0 | mvdev | $0 |
| LOCK2 | 0 | &mvdev->state_mutex | |
| TYPE_LOCK | (struct mlx5vf_pci_core_device)->state_mutex |
drivers/vfio/pci/mlx5/main.c mlx5vf_pci_save_device_inc_data() -> mlx5vf_cmd_query_vhca_migration_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mvdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.flags | 0-4294967295 |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_hard | 0-1 |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_lazy | 0-1 |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_queued | 0-1 |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_soft | 0-1 |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.pool->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.state | 1 |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.token | 1-255 |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.token_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.vars.throttle_sem.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.vars.throttle_sem.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.vars.throttle_sem.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.vars.throttle_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.vars.throttle_sem.last_holder | 0 |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.vars.throttle_sem.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.vars.throttle_sem.lock.owner | (-1) |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.vars.throttle_sem.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.vars.unprivileged_sem.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.vars.unprivileged_sem.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.vars.unprivileged_sem.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.vars.unprivileged_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.vars.unprivileged_sem.last_holder | 0 |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.vars.unprivileged_sem.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.vars.unprivileged_sem.lock.owner | (-1) |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.vars.unprivileged_sem.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mvdev->mdev->pdev->bus->self->link_bwctrl->cdev | (-22),(-19),(-12),0,4096-s64max |
| PARAM_VALUE | 0 | mvdev->mdev->pdev->error_state | 1 |
| PARAM_VALUE | 0 | mvdev->mdev->priv.eq_table->ctrl_irq | 0,4096-s64max |
| PARAM_VALUE | 0 | mvdev->mdev_detach | 0 |
| PARAM_VALUE | 0 | mvdev->mig_state | 7 |
| PARAM_VALUE | 0 | mvdev->saving_migf | 4096-ptr_max |
| PARAM_VALUE | 0 | mvdev->saving_migf->async_ctx.dev->cmd.vars.throttle_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | mvdev->saving_migf->async_ctx.dev->cmd.vars.unprivileged_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | mvdev->saving_migf->filp->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | mvdev->saving_migf->filp->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | mvdev->saving_migf->filp->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | mvdev->saving_migf->filp->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | mvdev->saving_migf->filp->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | mvdev->saving_migf->filp->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | mvdev->saving_migf->filp->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | mvdev->saving_migf->filp->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | mvdev->saving_migf->mvdev->mdev->cmd.vars.throttle_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | mvdev->saving_migf->mvdev->mdev->cmd.vars.unprivileged_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | mvdev->saving_migf->mvdev->mdev_detach | 0-1 |
| PARAM_VALUE | 0 | mvdev->saving_migf->save_comp.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mvdev->saving_migf->save_comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | mvdev->saving_migf->save_comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mvdev->saving_migf->save_comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mvdev->saving_migf->save_comp.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mvdev->saving_migf->state | 0,2-u32max |
| PARAM_VALUE | 0 | mvdev->state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mvdev->state_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mvdev->state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mvdev->state_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | mvdev->state_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mvdev->state_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mvdev->state_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mvdev->state_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | state_size | 593888191069216768 |
| PARAM_VALUE | 2 | total_size | 0 |
| PARAM_VALUE | 3 | mig_state | 0 |
| PARAM_VALUE | 4 | query_flags | 3 |
| DATA_SOURCE | 0 | mvdev | $0 |
| LOCK2 | 0 | &mvdev->state_mutex | |
| TYPE_LOCK | (struct mlx5vf_pci_core_device)->state_mutex |
drivers/vfio/pci/mlx5/main.c mlx5vf_pci_step_device_state_locked() -> mlx5vf_cmd_query_vhca_migration_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mvdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.vars.throttle_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | mvdev->mdev->cmd.vars.unprivileged_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | mvdev->mdev_detach | 0-1 |
| PARAM_VALUE | 0 | mvdev->mig_state | 6-7 |
| PARAM_VALUE | 0 | mvdev->saving_migf->async_ctx.dev->cmd.vars.throttle_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | mvdev->saving_migf->async_ctx.dev->cmd.vars.unprivileged_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | mvdev->saving_migf->mvdev->mdev->cmd.vars.throttle_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | mvdev->saving_migf->mvdev->mdev->cmd.vars.unprivileged_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | mvdev->saving_migf->mvdev->mdev_detach | 0-1 |
| PARAM_VALUE | 0 | mvdev->state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mvdev->state_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mvdev->state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mvdev->state_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mvdev->state_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mvdev->state_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mvdev->state_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mvdev->tracker.cq.buf.cqe_size | 0,64,128 |
| PARAM_VALUE | 0 | mvdev->tracker.pdn | 0-16777215 |
| PARAM_VALUE | 0 | mvdev->tracker.status | 0-15 |
| PARAM_VALUE | 0 | mvdev->tracker.uar | 0,4096-18446744073709551494,(-120)-(-7),(-5)-(-1) |
| PARAM_VALUE | 1 | state_size | 5746008073967403008 |
| PARAM_VALUE | 2 | total_size | 0 |
| PARAM_VALUE | 3 | mig_state | 0 |
| PARAM_VALUE | 4 | query_flags | 5 |
| DATA_SOURCE | 0 | mvdev | $0 |
| LOCK2 | 0 | &mvdev->state_mutex | |
| TYPE_LOCK | (struct mlx5vf_pci_core_device)->state_mutex |
drivers/vfio/pci/mlx5/main.c mlx5vf_precopy_ioctl() -> mlx5vf_cmd_query_vhca_migration_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mvdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mvdev->mig_state | 6 |
| PARAM_VALUE | 0 | mvdev->state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mvdev->state_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mvdev->state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mvdev->state_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mvdev->state_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mvdev->state_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mvdev->state_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | state_size | 4861579744491888640 |
| PARAM_VALUE | 1 | *state_size | 0 |
| PARAM_VALUE | 2 | total_size | 0 |
| PARAM_VALUE | 3 | mig_state | 7146058080066879488 |
| PARAM_VALUE | 3 | *mig_state | 0 |
| PARAM_VALUE | 4 | query_flags | 1 |
| CAPPED_DATA | 0 | &mvdev->state_mutex | 1 |
| LOCK2 | 0 | &mvdev->state_mutex | |
| TYPE_LOCK | (struct mlx5vf_pci_core_device)->state_mutex |