Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/vdpa/ifcvf/ifcvf_main.c ifcvf_request_dev_irq() -> ifcvf_set_vq_vector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->msix_vector_status | 3 |
| PARAM_VALUE | 0 | hw->nr_vring | 1-u16max |
| PARAM_VALUE | 0 | hw->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->pdev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->pdev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->vring | 4096-ptr_max |
| PARAM_VALUE | 1 | qid | 0-65534 |
| PARAM_VALUE | 2 | vector | 0 |
| CAPPED_DATA | 1 | qid | 1 |
| DATA_SOURCE | 0 | hw | $0 |
| PARAM_COMPARE | 1 | qid | < $0->nr_vring |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | qid | unit_array_size |
| LOCK2 | &vdpa_dev->cf_lock | ||
| HALF_LOCKED2 | &d->mutex | ||
| TYPE_LOCK | (struct vdpa_device)->cf_lock |
drivers/vdpa/ifcvf/ifcvf_main.c ifcvf_request_per_vq_irq() -> ifcvf_set_vq_vector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->msix_vector_status | 1 |
| PARAM_VALUE | 0 | hw->nr_vring | 1-u16max |
| PARAM_VALUE | 0 | hw->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->pdev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->pdev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->vqs_reused_irq | (-22) |
| PARAM_VALUE | 0 | hw->vring | 4096-ptr_max |
| PARAM_VALUE | 1 | qid | 0-65534 |
| PARAM_VALUE | 2 | vector | 0-65534 |
| CAPPED_DATA | 1 | qid | 1 |
| CAPPED_DATA | 2 | vector | 1 |
| DATA_SOURCE | 0 | hw | $0 |
| PARAM_COMPARE | 1 | qid | < $0->nr_vring |
| PARAM_COMPARE | 1 | qid | == $2 |
| PARAM_COMPARE | 2 | vector | < $0->nr_vring |
| PARAM_COMPARE | 2 | vector | == $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | qid | unit_array_size |
| UNITS | 2 | vector | unit_array_size |
| LOCK2 | &vdpa_dev->cf_lock | ||
| HALF_LOCKED2 | &d->mutex | ||
| TYPE_LOCK | (struct vdpa_device)->cf_lock |
drivers/vdpa/ifcvf/ifcvf_main.c ifcvf_request_vqs_reused_irq() -> ifcvf_set_vq_vector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->msix_vector_status | 2 |
| PARAM_VALUE | 0 | hw->nr_vring | 1-u16max |
| PARAM_VALUE | 0 | hw->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->pdev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->pdev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->vring | 4096-ptr_max |
| PARAM_VALUE | 1 | qid | 0-65534 |
| PARAM_VALUE | 2 | vector | 0 |
| CAPPED_DATA | 1 | qid | 1 |
| DATA_SOURCE | 0 | hw | $0 |
| PARAM_COMPARE | 1 | qid | < $0->nr_vring |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | qid | unit_array_size |
| LOCK2 | &vdpa_dev->cf_lock | ||
| HALF_LOCKED2 | &d->mutex | ||
| TYPE_LOCK | (struct vdpa_device)->cf_lock |
drivers/vdpa/ifcvf/ifcvf_base.c ifcvf_reset_vring() -> ifcvf_set_vq_vector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->nr_vring | 1-u16max |
| PARAM_VALUE | 0 | hw->num_msix_vectors | 0-s32max |
| PARAM_VALUE | 0 | hw->vring | 4096-ptr_max |
| PARAM_VALUE | 2 | vector | u16max |
| CAPPED_DATA | 0 | hw->num_msix_vectors | 1 |
| CAPPED_DATA | 1 | qid | 1 |
| DATA_SOURCE | 0 | hw | $0 |
| PARAM_COMPARE | 0 | hw->nr_vring | > $1 |
| PARAM_COMPARE | 1 | qid | < $0->nr_vring |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | qid | unit_array_size |
| LOCK2 | &vdpa_dev->cf_lock | ||
| TYPE_LOCK | (struct vdpa_device)->cf_lock |