Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/vfio/pci/virtio/migrate.c virtiovf_close_migration() -> virtiovf_disable_fds()

Type Parameter Key Value
PARAM_VALUE 0 virtvdev 4096-ptr_max
PARAM_VALUE 0 virtvdev->migrate_cap 1
DATA_SOURCE 0 virtvdev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &device->dev_set->lock
HALF_LOCKED2 &device->group->group_lock
TYPE_LOCK (struct vfio_device_set)->lock

drivers/vfio/pci/virtio/migrate.c virtiovf_pci_step_device_state_locked() -> virtiovf_disable_fds()

Type Parameter Key Value
PARAM_VALUE 0 virtvdev 4096-ptr_max
PARAM_VALUE 0 virtvdev->mig_state 3,6-7
PARAM_VALUE 0 virtvdev->state_mutex.dep_map->name 0-255
PARAM_VALUE 0 virtvdev->state_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 virtvdev->state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 virtvdev->state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 virtvdev->state_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 virtvdev->state_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 virtvdev->state_mutex.wait_lock.owner_cpu u32max
DATA_SOURCE 0 virtvdev $0
NOCHECK_CALL
LOCK2 0 &virtvdev->state_mutex
TYPE_LOCK (struct virtiovf_pci_core_device)->state_mutex

drivers/vfio/pci/virtio/migrate.c virtiovf_pci_step_device_state_locked() -> virtiovf_disable_fds()

Type Parameter Key Value
PARAM_VALUE 0 virtvdev 4096-ptr_max
PARAM_VALUE 0 virtvdev->mig_state 4
PARAM_VALUE 0 virtvdev->state_mutex.dep_map->name 0-255
PARAM_VALUE 0 virtvdev->state_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 virtvdev->state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 virtvdev->state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 virtvdev->state_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 virtvdev->state_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 virtvdev->state_mutex.wait_lock.owner_cpu u32max
DATA_SOURCE 0 virtvdev $0
NOCHECK_CALL
LOCK2 0 &virtvdev->state_mutex
TYPE_LOCK (struct virtiovf_pci_core_device)->state_mutex

drivers/vfio/pci/virtio/migrate.c virtiovf_state_mutex_unlock() -> virtiovf_disable_fds()

Type Parameter Key Value
PARAM_VALUE 0 virtvdev 4096-ptr_max
PARAM_VALUE 0 virtvdev->deferred_reset 0
PARAM_VALUE 0 virtvdev->mig_state 2
PARAM_VALUE 0 virtvdev->migrate_cap 1
PARAM_VALUE 0 virtvdev->reset_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 virtvdev s32min-(-1),1-s32max
BUF_SIZE 0 virtvdev s32min-(-1),1-s32max
DATA_SOURCE 0 virtvdev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 virtvdev unit_byte
LOCK2 0 &virtvdev->state_mutex
TYPE_LOCK (struct virtiovf_pci_core_device)->state_mutex