Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/vdpa/virtio_pci/vp_vdpa.c
- drivers/virtio/virtio_pci_modern.c
- drivers/virtio/virtio_pci_modern_dev.c, line 563
Smatch caller information:
drivers/vdpa/virtio_pci/vp_vdpa.c vp_vdpa_free_irq() -> vp_modern_queue_vector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev | 4096-ptr_max |
| PARAM_VALUE | 2 | vector | u16max |
| CAPPED_DATA | 1 | index | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | index | unit_array_size |
| LOCK2 | &vdpa->cf_lock | ||
| TYPE_LOCK | (struct vdpa_device)->cf_lock |
drivers/vdpa/virtio_pci/vp_vdpa.c vp_vdpa_request_irq() -> vp_modern_queue_vector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->pci_dev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->pci_dev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->pci_dev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->pci_dev->dev.msi.data->__iter_idx | 0-s64max |
| PARAM_VALUE | 0 | mdev->pci_dev->is_msi_managed | 1 |
| PARAM_VALUE | 0 | mdev->pci_dev->msix_base | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->pci_dev->msix_enabled | 1 |
| CAPPED_DATA | 1 | index | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | index | unit_array_size |
| LOCK2 | &vdpa->cf_lock | ||
| HALF_LOCKED2 | &d->mutex | ||
| TYPE_LOCK | (struct vdpa_device)->cf_lock |
drivers/virtio/virtio_pci_modern.c del_vq() -> vp_modern_queue_vector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev | 4096-ptr_max |
| PARAM_VALUE | 2 | vector | u16max |
| BUF_SIZE | 0 | mdev | 112 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | index | unit_array_size |
| HALF_LOCKED2 | global &the_virtio_vsock_mutex |
drivers/virtio/virtio_pci_modern.c vp_active_vq() -> vp_modern_queue_vector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev | 4096-ptr_max |
| PARAM_VALUE | 2 | vector | 0-65534 |
| BUF_SIZE | 0 | mdev | 112 |
| DATA_SOURCE | 2 | vector | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | index | 0-u16max |
| UNITS | 1 | index | unit_array_size |