Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/vfio/pci/xe/main.c xe_vfio_pci_close_device() -> xe_vfio_pci_state_mutex_unlock()

Type Parameter Key Value
PARAM_VALUE 0 xe_vdev 4096-ptr_max
PARAM_VALUE 0 xe_vdev->mig_state 2
PARAM_VALUE 0 xe_vdev->migf 0
PARAM_VALUE 0 xe_vdev->state_mutex.dep_map->name 0-255
PARAM_VALUE 0 xe_vdev->state_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 xe_vdev->state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 xe_vdev->state_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 xe_vdev->state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 *xe_vdev->migf->filp->f_cred->user->uidhash_node.next->pprev 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &device->dev_set->lock
LOCK2 0 &xe_vdev->state_mutex
HALF_LOCKED2 &device->group->group_lock
TYPE_LOCK (struct vfio_device_set)->lock
TYPE_LOCK (struct xe_vfio_pci_core_device)->state_mutex

drivers/vfio/pci/xe/main.c xe_vfio_pci_get_data_size() -> xe_vfio_pci_state_mutex_unlock()

Type Parameter Key Value
PARAM_VALUE 0 xe_vdev 4096-ptr_max
PARAM_VALUE 0 xe_vdev->state_mutex.dep_map->name 0-255
PARAM_VALUE 0 xe_vdev->state_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 xe_vdev->state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 xe_vdev->state_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 xe_vdev->state_mutex.osq.tail.counter 0-s32max
NOCHECK_CALL
LOCK2 0 &xe_vdev->state_mutex
TYPE_LOCK (struct xe_vfio_pci_core_device)->state_mutex

drivers/vfio/pci/xe/main.c xe_vfio_pci_get_device_state() -> xe_vfio_pci_state_mutex_unlock()

Type Parameter Key Value
PARAM_VALUE 0 xe_vdev 4096-ptr_max
PARAM_VALUE 0 xe_vdev->mig_state 1-5
PARAM_VALUE 0 xe_vdev->state_mutex.dep_map->name 0-255
PARAM_VALUE 0 xe_vdev->state_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 xe_vdev->state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 xe_vdev->state_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 xe_vdev->state_mutex.osq.tail.counter 0-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &xe_vdev->state_mutex
HALF_LOCKED2 &seq->lock
TYPE_LOCK (struct xe_vfio_pci_core_device)->state_mutex

drivers/vfio/pci/xe/main.c xe_vfio_pci_reset_done() -> xe_vfio_pci_state_mutex_unlock()

Type Parameter Key Value
PARAM_VALUE 0 xe_vdev 4096-ptr_max
PARAM_VALUE 0 xe_vdev->deferred_reset 1
PARAM_VALUE 0 xe_vdev->reset_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 xe_vdev->vfid 1-u32max
BUF_SIZE 0 xe_vdev s32min-(-2),1-s32max
BUF_SIZE 0 xe_vdev s32min-(-2),1-s32max
CAPPED_DATA 0 &xe_vdev->state_mutex 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 xe_vdev unit_byte
LOCK2 0 &xe_vdev->state_mutex
HALF_LOCKED2 &pdev->dev.mutex
TYPE_LOCK (struct xe_vfio_pci_core_device)->state_mutex

drivers/vfio/pci/xe/main.c xe_vfio_pci_set_device_state() -> xe_vfio_pci_state_mutex_unlock()

Type Parameter Key Value
PARAM_VALUE 0 xe_vdev 4096-ptr_max
PARAM_VALUE 0 xe_vdev->mig_state 1-5
PARAM_VALUE 0 xe_vdev->state_mutex.dep_map->name 0-255
PARAM_VALUE 0 xe_vdev->state_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 xe_vdev->state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 xe_vdev->state_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 xe_vdev->state_mutex.osq.tail.counter 0-s32max
NOCHECK_CALL
LOCK2 0 &xe_vdev->state_mutex
TYPE_LOCK (struct xe_vfio_pci_core_device)->state_mutex