Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/iommu/io-pgfault.c
- drivers/iommu/iommu-sva.c, line 94
- drivers/iommu/iommu.c, line 3887
- drivers/iommu/iommufd/device.c, line 608
- drivers/iommu/iommufd/driver.c, line 270
- drivers/iommu/iommufd/selftest.c, line 1828
Smatch caller information:
drivers/iommu/iommufd/selftest.c iommufd_test_pasid_check_hwpt() -> iommu_attach_handle_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | type | 0 |
| USER_DATA | 1 | pasid | 0-u32max[u] |
drivers/iommu/iommufd/device.c iommufd_device_get_attach_handle() -> iommu_attach_handle_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | type | 0 |
| DATA_SOURCE | 1 | pasid | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | pasid | 0-u32max |
| LOCK2 | &igroup->lock | ||
| HALF_LOCKED2 | &ioas->mutex | ||
| HALF_LOCKED2 | &vdev->dev_set->lock | ||
| TYPE_LOCK | (struct iommufd_group)->lock |
drivers/iommu/iommu-sva.c iommu_sva_bind_device() -> iommu_attach_handle_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | group | 1-u64max |
| PARAM_VALUE | 1 | pasid | 0-4294967294 |
| PARAM_VALUE | 2 | type | 16 |
| CAPPED_DATA | 1 | pasid | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &iommu_sva_lock | ||
| HALF_LOCKED2 | &idev->info_lock | ||
| HALF_LOCKED2 | &uacce->mutex | ||
| HALF_LOCKED2 | &wq->wq_lock |
drivers/iommu/io-pgfault.c find_fault_handler() -> iommu_attach_handle_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | type | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | pasid | 0-u32max[u] |
| HALF_LOCKED2 | &iommu->iopf_lock |
drivers/iommu/io-pgfault.c find_fault_handler() -> iommu_attach_handle_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | group | 4096-ptr_max |
| PARAM_VALUE | 1 | pasid | 0 |
| PARAM_VALUE | 2 | type | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &iommu->iopf_lock |
drivers/iommu/io-pgfault.c find_fault_handler() -> iommu_attach_handle_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pasid | 0 |
| PARAM_VALUE | 2 | type | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &iommu->iopf_lock |