Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/vfio/pci/pds/vfio_dev.c pds_vfio_close_device() -> pds_vfio_put_save_file()

Type Parameter Key Value
PARAM_VALUE 0 pds_vfio 4096-ptr_max
PARAM_VALUE 0 pds_vfio->restore_file 0
PARAM_VALUE 0 pds_vfio->state_mutex.dep_map->name 0-255
PARAM_VALUE 0 pds_vfio->state_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 pds_vfio->state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 pds_vfio->state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 pds_vfio->state_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 pds_vfio->state_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 pds_vfio->state_mutex.wait_lock.owner_cpu u32max
CAPPED_DATA 0 &pds_vfio->state_mutex 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &device->dev_set->lock
LOCK2 0 &pds_vfio->state_mutex
HALF_LOCKED2 &device->group->group_lock
TYPE_LOCK (struct pds_vfio_pci_device)->state_mutex
TYPE_LOCK (struct vfio_device_set)->lock

drivers/vfio/pci/pds/vfio_dev.c pds_vfio_reset() -> pds_vfio_put_save_file()

Type Parameter Key Value
PARAM_VALUE 0 pds_vfio 4096-ptr_max
PARAM_VALUE 0 pds_vfio->restore_file 0
PARAM_VALUE 0 pds_vfio->state 0-2,4-5
PARAM_VALUE 0 pds_vfio->state_mutex.dep_map->name 0-255
PARAM_VALUE 0 pds_vfio->state_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 pds_vfio->state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 pds_vfio->state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 pds_vfio->state_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 pds_vfio->state_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 pds_vfio->state_mutex.wait_lock.owner_cpu u32max
DATA_SOURCE 0 pds_vfio $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &pds_vfio->state_mutex
TYPE_LOCK (struct pds_vfio_pci_device)->state_mutex

drivers/vfio/pci/pds/lm.c pds_vfio_step_device_state_locked() -> pds_vfio_put_save_file()

Type Parameter Key Value
PARAM_VALUE 0 pds_vfio 4096-ptr_max
PARAM_VALUE 0 pds_vfio->save_file 0,4096-ptr_max
PARAM_VALUE 0 pds_vfio->save_file->num_sge 0
PARAM_VALUE 0 pds_vfio->save_file->sg_table.nents 0-s32max
PARAM_VALUE 0 pds_vfio->state 1
PARAM_VALUE 0 pds_vfio->state_mutex.dep_map->name 0-255
PARAM_VALUE 0 pds_vfio->state_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 pds_vfio->state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 pds_vfio->state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 pds_vfio->state_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 pds_vfio->state_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 pds_vfio->state_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 pds_vfio->vfio_coredev.pdev 4096-ptr_max
PARAM_VALUE 0 pds_vfio->vfio_coredev.pdev->is_virtfn 0
DATA_SOURCE 0 pds_vfio $0
NOCHECK_CALL
LOCK2 0 &pds_vfio->state_mutex
TYPE_LOCK (struct pds_vfio_pci_device)->state_mutex

drivers/vfio/pci/pds/lm.c pds_vfio_step_device_state_locked() -> pds_vfio_put_save_file()

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