Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/vfio/pci/virtio/migrate.c virtiovf_resume_write() -> virtiovf_resume_read_header_data()

Type Parameter Key Value
PARAM_VALUE 0 migf 4096-ptr_max
PARAM_VALUE 0 migf->buf 4096-ptr_max
PARAM_VALUE 0 migf->load_state 2
PARAM_VALUE 0 migf->lock.dep_map->name 0-255
PARAM_VALUE 0 migf->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 migf->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 migf->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 migf->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 migf->lock.wait_lock.owner (-1)
PARAM_VALUE 0 migf->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 migf->state 0,2-u32max
PARAM_VALUE 0 migf->virtvdev->state_mutex.dep_map->name 0-255
PARAM_VALUE 0 migf->virtvdev->state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 migf->virtvdev->state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 migf->virtvdev->state_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 migf->virtvdev->state_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 migf->virtvdev->state_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 3 *len 1-u64max
PARAM_VALUE 4 pos 4096-ptr_max
PARAM_VALUE 5 done 6580278422801883136
BUF_SIZE 0 migf s32min-(-2),1-s32max
BUF_SIZE 0 migf s32min-(-2),1-s32max
BUF_SIZE 0 migf->buf_header (-1),112
BUF_SIZE 0 migf->buf_header->migf s32min-(-1),1-s32max
BUF_SIZE 1 vhca_buf (-1),112
BUF_SIZE 1 vhca_buf (-1),112
BUF_SIZE 4 pos 8
CAPPED_DATA 0 &migf->lock 1
CAPPED_DATA 0 &migf->virtvdev->state_mutex 1
USER_DATA 2 *(*buf) 0-255[c]
USER_DATA 3 *len 1-1000000000
NO_OVERFLOW_SIMPLE 0 migf->buf_header->table.total_nents
NO_OVERFLOW_SIMPLE 1 vhca_buf->table.total_nents
USER_PTR 2 *buf
USER_PTR 3 len
LOCK2 0 &migf->lock
LOCK2 0 &migf->virtvdev->state_mutex
TYPE_LOCK (struct virtiovf_migration_file)->lock
TYPE_LOCK (struct virtiovf_pci_core_device)->state_mutex