Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/vfio/pci/virtio/migrate.c virtiovf_get_data_buffer() -> virtiovf_alloc_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->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 migf->list_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 migf->list_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 migf->list_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 migf->list_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 migf->list_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 migf->list_lock.wait_lock.dep_map->name 0-255
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),1-s32max
CAPPED_DATA 0 &migf->avail_list 1
CAPPED_DATA 0 &migf->list_lock 1
DATA_SOURCE 0 migf $0
DATA_SOURCE 1 length $1
UNITS 1 length unit_byte
LOCK2 &virtvdev->state_mutex
TYPE_LOCK (struct virtiovf_pci_core_device)->state_mutex

drivers/vfio/pci/virtio/migrate.c virtiovf_pci_resume_device_data() -> virtiovf_alloc_data_buffer()

Type Parameter Key Value
PARAM_VALUE 0 migf 4096-ptr_max
PARAM_VALUE 0 migf->avail_list.next 4096-ptr_max
PARAM_VALUE 0 migf->avail_list.next->next 4096-ptr_max
PARAM_VALUE 0 migf->avail_list.prev 4096-ptr_max
PARAM_VALUE 0 migf->avail_list.prev->next 4096-ptr_max
PARAM_VALUE 0 migf->avail_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 migf->buf_list.next 4096-ptr_max
PARAM_VALUE 0 migf->buf_list.next->next 4096-ptr_max
PARAM_VALUE 0 migf->buf_list.prev 4096-ptr_max
PARAM_VALUE 0 migf->buf_list.prev->next 4096-ptr_max
PARAM_VALUE 0 migf->buf_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 migf->filp 4096-ptr_max
PARAM_VALUE 0 migf->filp->f_mode 0,2097152-u32max
PARAM_VALUE 0 migf->list_lock.dep_map->name 0-255
PARAM_VALUE 0 migf->list_lock.first_waiter 0
PARAM_VALUE 0 migf->list_lock.magic 4096-ptr_max
PARAM_VALUE 0 migf->list_lock.osq.tail.counter 0
PARAM_VALUE 0 migf->list_lock.owner.counter 0
PARAM_VALUE 0 migf->lock.dep_map->name 0-255
PARAM_VALUE 0 migf->lock.first_waiter 0
PARAM_VALUE 0 migf->lock.magic 4096-ptr_max
PARAM_VALUE 0 migf->lock.osq.tail.counter 0
PARAM_VALUE 0 migf->lock.owner.counter 0
PARAM_VALUE 1 length 1048576
BUF_SIZE 0 migf 520
DATA_SOURCE 0 migf r _kzalloc_noprof
LOCK2 &virtvdev->state_mutex
TYPE_LOCK (struct virtiovf_pci_core_device)->state_mutex

drivers/vfio/pci/virtio/migrate.c virtiovf_pci_resume_device_data() -> virtiovf_alloc_data_buffer()

Type Parameter Key Value
PARAM_VALUE 0 migf 4096-ptr_max
PARAM_VALUE 0 migf->avail_list.next 4096-ptr_max
PARAM_VALUE 0 migf->avail_list.next->next 4096-ptr_max
PARAM_VALUE 0 migf->avail_list.prev 4096-ptr_max
PARAM_VALUE 0 migf->avail_list.prev->next 4096-ptr_max
PARAM_VALUE 0 migf->avail_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 migf->buf 4096-ptr_max
PARAM_VALUE 0 migf->buf->migf 4096-ptr_max
PARAM_VALUE 0 migf->buf->table.prv 4096-ptr_max
PARAM_VALUE 0 migf->buf_list.next 4096-ptr_max
PARAM_VALUE 0 migf->buf_list.next->next 4096-ptr_max
PARAM_VALUE 0 migf->buf_list.prev 4096-ptr_max
PARAM_VALUE 0 migf->buf_list.prev->next 4096-ptr_max
PARAM_VALUE 0 migf->buf_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 migf->filp 4096-ptr_max
PARAM_VALUE 0 migf->filp->f_mode 0,2097152-u32max
PARAM_VALUE 0 migf->list_lock.dep_map->name 0-255
PARAM_VALUE 0 migf->list_lock.first_waiter 0
PARAM_VALUE 0 migf->list_lock.magic 4096-ptr_max
PARAM_VALUE 0 migf->list_lock.osq.tail.counter 0
PARAM_VALUE 0 migf->list_lock.owner.counter 0
PARAM_VALUE 0 migf->lock.dep_map->name 0-255
PARAM_VALUE 0 migf->lock.first_waiter 0
PARAM_VALUE 0 migf->lock.magic 4096-ptr_max
PARAM_VALUE 0 migf->lock.osq.tail.counter 0
PARAM_VALUE 0 migf->lock.owner.counter 0
PARAM_VALUE 1 length 16
BUF_SIZE 0 migf 520
BUF_SIZE 0 migf->buf 112
DATA_SOURCE 0 migf r _kzalloc_noprof
NO_OVERFLOW_SIMPLE 0 migf->buf->table.total_nents
UNITS 1 length unit_byte
LOCK2 &virtvdev->state_mutex
TYPE_LOCK (struct virtiovf_pci_core_device)->state_mutex

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

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 1
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.first_waiter->task->blocked_on 0
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->record_size 1-u64max
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.first_waiter->task->blocked_on 0
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 1 length 1-u64max
BUF_SIZE 0 migf s32min-(-2),1-s32max
BUF_SIZE 0 migf s32min-(-2),1-s32max
CAPPED_DATA 0 &migf->lock 1
CAPPED_DATA 0 &migf->virtvdev->state_mutex 1
NO_OVERFLOW_SIMPLE 0 migf->buf_header->table.total_nents
UNITS 1 length unit_byte
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