Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/vfio/pci/virtio/migrate.c virtiovf_add_buf_header() -> virtiovf_get_migration_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | buf->migf | 4096-ptr_max |
| PARAM_VALUE | 0 | buf->migf->list_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | buf->table.prv | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0 |
| BUF_SIZE | 0 | buf | (-1),112 |
| BUF_SIZE | 0 | buf | (-1),112 |
| DATA_SOURCE | 0 | buf | $0 |
| LOCK2 | &virtvdev->state_mutex | ||
| TYPE_LOCK | (struct virtiovf_pci_core_device)->state_mutex |
drivers/vfio/pci/virtio/migrate.c virtiovf_append_page_to_mig_buf() -> virtiovf_get_migration_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| BUF_SIZE | 0 | buf | (-1),112 |
| BUF_SIZE | 0 | buf | (-1),112 |
| DATA_SOURCE | 0 | buf | $0 |
| UNITS | 1 | offset | unit_byte |
| LOCK2 | &migf->lock | ||
| LOCK2 | &migf->virtvdev->state_mutex | ||
| TYPE_LOCK | (struct virtiovf_migration_file)->lock | ||
| TYPE_LOCK | (struct virtiovf_pci_core_device)->state_mutex |
drivers/vfio/pci/virtio/migrate.c virtiovf_buf_read() -> virtiovf_get_migration_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| CAPPED_DATA | 0 | buf->start_pos | 1 |
| DATA_SOURCE | 0 | buf | $0 |
| UNITS | 1 | offset | unit_byte |
| LOCK2 | _T->lock |
drivers/vfio/pci/virtio/migrate.c virtiovf_resume_read_header() -> virtiovf_get_migration_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0 |
| DATA_SOURCE | 0 | buf | $1 |
| NO_OVERFLOW_SIMPLE | 0 | buf->table.total_nents | |
| LOCK2 | &migf->lock | ||
| LOCK2 | &migf->virtvdev->state_mutex | ||
| TYPE_LOCK | (struct virtiovf_migration_file)->lock | ||
| TYPE_LOCK | (struct virtiovf_pci_core_device)->state_mutex |
drivers/vfio/pci/virtio/migrate.c virtiovf_set_obj_cmd_header() -> virtiovf_get_migration_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | buf->migf | 4096-ptr_max |
| PARAM_VALUE | 0 | buf->table.prv | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0 |
| BUF_SIZE | 0 | buf | 112 |
| DATA_SOURCE | 0 | buf | $0 |
| NO_OVERFLOW_SIMPLE | 0 | buf->table.total_nents | |
| LOCK2 | &virtvdev->state_mutex | ||
| TYPE_LOCK | (struct virtiovf_pci_core_device)->state_mutex |