Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/vfio/pci/virtio/migrate.c virtiovf_read_device_context_chunk() -> virtiovf_get_data_buffer()

Type Parameter Key Value
PARAM_VALUE 0 migf 4096-ptr_max
PARAM_VALUE 0 migf->virtvdev->mig_state 1-7
PARAM_VALUE 1 length 1-u32max
BUF_SIZE 0 migf s32min-(-1),1-s32max
BUF_SIZE 0 migf s32min-(-1),1-s32max
BUF_SIZE 0 migf->filp (-1)-s32max
DATA_SOURCE 0 migf $0
DATA_SOURCE 1 length $1
LOCK2 &virtvdev->state_mutex
TYPE_LOCK (struct virtiovf_pci_core_device)->state_mutex

drivers/vfio/pci/virtio/migrate.c virtiovf_read_device_context_chunk() -> virtiovf_get_data_buffer()

Type Parameter Key Value
PARAM_VALUE 0 migf 4096-ptr_max
PARAM_VALUE 0 migf->list_lock.dep_map->name 0-255
PARAM_VALUE 0 migf->list_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 migf->list_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 migf->list_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 migf->list_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 migf->virtvdev 4096-ptr_max
PARAM_VALUE 0 migf->virtvdev->core_device.pdev 4096-ptr_max
PARAM_VALUE 0 migf->virtvdev->core_device.pdev->is_virtfn 1
PARAM_VALUE 0 migf->virtvdev->core_device.pdev->physfn->driver 4096-ptr_max
PARAM_VALUE 0 migf->virtvdev->mig_state 1-7
PARAM_VALUE 1 length 16
BUF_SIZE 0 migf s32min-(-1),1-s32max
BUF_SIZE 0 migf s32min-(-1),1-s32max
BUF_SIZE 0 migf->filp (-1)-s32max
CAPPED_DATA 0 migf->virtvdev->core_device.pdev->physfn->driver 1
DATA_SOURCE 0 migf $0
UNITS 1 length unit_byte
LOCK2 &virtvdev->state_mutex
TYPE_LOCK (struct virtiovf_pci_core_device)->state_mutex