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_resume_write() -> mlx5vf_cmd_load_vhca_state()

Type Parameter Key Value
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->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 migf 4096-ptr_max
PARAM_VALUE 1 migf->buf 4096-ptr_max
PARAM_VALUE 1 migf->buf_header 4096-ptr_max
PARAM_VALUE 1 migf->load_state 5
PARAM_VALUE 1 migf->lock.dep_map->name 0-255
PARAM_VALUE 1 migf->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 migf->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 migf->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 migf->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 migf->lock.wait_lock.owner (-1)
PARAM_VALUE 1 migf->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 migf->mvdev->mdev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 1 migf->mvdev->mdev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 1 migf->mvdev->mdev_detach 0-1
PARAM_VALUE 1 migf->mvdev->state_mutex.dep_map->name 0-255
PARAM_VALUE 1 migf->mvdev->state_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 migf->mvdev->state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 migf->mvdev->state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 migf->mvdev->state_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 migf->mvdev->state_mutex.wait_lock.owner (-1)
PARAM_VALUE 1 migf->mvdev->state_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 migf->state 0,2-u32max
PARAM_VALUE 2 buf->migf->mvdev->mdev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 2 buf->migf->mvdev->mdev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 2 buf->migf->mvdev->mdev_detach 0-1
BUF_SIZE 1 migf s32min-(-2),1-s32max
BUF_SIZE 1 migf s32min-(-2),1-s32max
CAPPED_DATA 0 &mvdev->state_mutex 1
CAPPED_DATA 1 &migf->lock 1
CAPPED_DATA 1 &migf->mvdev->state_mutex 1
LOCK2 0 &mvdev->state_mutex
LOCK2 1 &migf->lock
LOCK2 1 &migf->mvdev->state_mutex
TYPE_LOCK (struct mlx5_vf_migration_file)->lock
TYPE_LOCK (struct mlx5vf_pci_core_device)->state_mutex