Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/iommu/iommu-sva.c, line 199 (as a function)
- include/linux/iommu.h, line 1680 (as a function)
Referenced in 5 files:
- drivers/accel/amdxdna/amdxdna_pci_drv.c, line 87
- drivers/dma/idxd/cdev.c, line 254
- drivers/iommu/iommu-sva.c, line 205
- drivers/misc/uacce/uacce.c, line 132
- drivers/uio/uio_pci_generic_sva.c, line 43
Smatch caller information:
drivers/dma/idxd/cdev.c idxd_cdev_open() -> iommu_sva_get_pasid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| BUF_SIZE | 0 | handle | (-1),24 |
| BUF_SIZE | 0 | handle | (-1),24 |
| BUF_SIZE | 0 | handle->dev | (-1),1616 |
| DATA_SOURCE | 0 | handle | r iommu_sva_bind_device |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &wq->wq_lock | ||
| TYPE_LOCK | (struct idxd_wq)->wq_lock |
drivers/misc/uacce/uacce.c uacce_bind_queue() -> iommu_sva_get_pasid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| BUF_SIZE | 0 | handle | (-1),24 |
| BUF_SIZE | 0 | handle | (-1),24 |
| DATA_SOURCE | 0 | handle | r iommu_sva_bind_device |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &uacce->mutex | ||
| TYPE_LOCK | (struct uacce_device)->mutex |
drivers/accel/amdxdna/amdxdna_pci_drv.c amdxdna_sva_init() -> iommu_sva_get_pasid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| BUF_SIZE | 0 | handle | (-1),24 |
| BUF_SIZE | 0 | handle | (-1),24 |
| DATA_SOURCE | 0 | handle | r iommu_sva_bind_device |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/uio/uio_pci_generic_sva.c uio_pci_sva_open() -> iommu_sva_get_pasid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| BUF_SIZE | 0 | handle | (-1),24 |
| BUF_SIZE | 0 | handle | (-1),24 |
| BUF_SIZE | 0 | handle->dev | (-1),1616 |
| DATA_SOURCE | 0 | handle | r iommu_sva_bind_device |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &idev->info_lock | ||
| TYPE_LOCK | (struct uio_device)->info_lock |