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_disable_fds() -> mlx5fv_cmd_clean_migf_resources()

Type Parameter Key Value
PARAM_VALUE 0 migf 4096-ptr_max
PARAM_VALUE 0 migf->filp 4096-ptr_max
PARAM_VALUE 0 migf->lock.dep_map->name 0-255
PARAM_VALUE 0 migf->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 migf->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 migf->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 migf->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 migf->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 migf->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 migf->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 migf->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 migf->state 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &mvdev->state_mutex
TYPE_LOCK (struct mlx5vf_pci_core_device)->state_mutex

drivers/vfio/pci/mlx5/main.c mlx5vf_disable_fds() -> mlx5fv_cmd_clean_migf_resources()

Type Parameter Key Value
PARAM_VALUE 0 migf 4096-ptr_max
PARAM_VALUE 0 migf->async_ctx.dev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 migf->async_ctx.dev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 migf->async_ctx.inflight_done.done 0-4294967293,u32max
PARAM_VALUE 0 migf->async_ctx.inflight_done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 migf->async_ctx.inflight_done.wait.lock.owner (-1)
PARAM_VALUE 0 migf->async_ctx.inflight_done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 migf->async_ctx.inflight_done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 migf->async_ctx.inflight_done.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 migf->async_data.work.lockdep_map->name 0-255
PARAM_VALUE 0 migf->filp 4096-ptr_max
PARAM_VALUE 0 migf->lock.dep_map->name 0-255
PARAM_VALUE 0 migf->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 migf->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 migf->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 migf->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 migf->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 migf->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 migf->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 migf->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 migf->mvdev->mdev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 migf->mvdev->mdev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 migf->mvdev->mdev_detach 0-1
PARAM_VALUE 0 migf->poll_wait.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 migf->state 1
CAPPED_DATA 0 &migf->async_data.work 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &mvdev->state_mutex
TYPE_LOCK (struct mlx5vf_pci_core_device)->state_mutex

drivers/vfio/pci/mlx5/main.c mlx5vf_pci_save_device_data() -> mlx5fv_cmd_clean_migf_resources()

Type Parameter Key Value
PARAM_VALUE 0 migf 4096-ptr_max
PARAM_VALUE 0 migf->async_ctx.dev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 migf->async_ctx.dev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 migf->async_ctx.inflight_done.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 migf->async_ctx.inflight_done.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 migf->async_ctx.inflight_done.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 migf->async_ctx.inflight_done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 migf->async_ctx.inflight_done.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 migf->avail_list.next 4096-ptr_max
PARAM_VALUE 0 migf->avail_list.next->next 4096-ptr_max
PARAM_VALUE 0 migf->avail_list.prev 4096-ptr_max
PARAM_VALUE 0 migf->avail_list.prev->next 4096-ptr_max
PARAM_VALUE 0 migf->avail_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 migf->buf_list.next 4096-ptr_max
PARAM_VALUE 0 migf->buf_list.next->next 4096-ptr_max
PARAM_VALUE 0 migf->buf_list.prev 4096-ptr_max
PARAM_VALUE 0 migf->buf_list.prev->next 4096-ptr_max
PARAM_VALUE 0 migf->buf_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 migf->filp 4096-ptr_max
PARAM_VALUE 0 migf->filp->f_mode 0,2097152-u32max
PARAM_VALUE 0 migf->lock.dep_map->name 0-255
PARAM_VALUE 0 migf->lock.first_waiter 0
PARAM_VALUE 0 migf->lock.magic 4096-ptr_max
PARAM_VALUE 0 migf->lock.osq.tail.counter 0
PARAM_VALUE 0 migf->lock.owner.counter 0
PARAM_VALUE 0 migf->mvdev 4096-ptr_max
PARAM_VALUE 0 migf->mvdev->mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.flags 0-4294967295
PARAM_VALUE 0 migf->mvdev->mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_hard 0-1
PARAM_VALUE 0 migf->mvdev->mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_lazy 0-1
PARAM_VALUE 0 migf->mvdev->mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_queued 0-1
PARAM_VALUE 0 migf->mvdev->mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_soft 0-1
PARAM_VALUE 0 migf->mvdev->mdev->cmd.state 1
PARAM_VALUE 0 migf->mvdev->mdev->cmd.token_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 migf->mvdev->mdev->cmd.vars.throttle_sem.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 migf->mvdev->mdev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 migf->mvdev->mdev->cmd.vars.throttle_sem.lock.dep_map->name 0-255
PARAM_VALUE 0 migf->mvdev->mdev->cmd.vars.unprivileged_sem.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 migf->mvdev->mdev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 migf->mvdev->mdev->cmd.vars.unprivileged_sem.lock.dep_map->name 0-255
PARAM_VALUE 0 migf->mvdev->mdev->pdev->error_state 1
PARAM_VALUE 0 migf->mvdev->mdev->priv.eq_table->ctrl_irq 0,4096-s64max
PARAM_VALUE 0 migf->mvdev->mdev_detach 0
PARAM_VALUE 0 migf->mvdev->mig_state 1-2,5
PARAM_VALUE 0 migf->mvdev->state_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 migf->mvdev->state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 migf->mvdev->state_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 migf->mvdev->state_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 migf->pdn 0-16777215
PARAM_VALUE 0 migf->poll_wait.head.next 4096-ptr_max
PARAM_VALUE 0 migf->poll_wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 migf->poll_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 migf->poll_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 migf->poll_wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 migf->save_comp.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 migf->save_comp.wait.lock.owner (-1)
PARAM_VALUE 0 migf->save_comp.wait.lock.owner_cpu u32max
PARAM_VALUE 0 migf->save_comp.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 migf->save_comp.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 migf->save_comp.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 migf->save_comp.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 migf->save_comp.wait.task_list.prev->prev 4096-ptr_max
BUF_SIZE 0 migf 1040
DATA_SOURCE 0 migf r _kzalloc_noprof
NOCHECK_CALL
LOCK2 &mvdev->state_mutex
TYPE_LOCK (struct mlx5vf_pci_core_device)->state_mutex