Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 4 files:
- arch/powerpc/kernel/iommu.c, line 1026
- drivers/iommu/iommu.c
- drivers/iommu/mtk_iommu.c, line 992
- drivers/vfio/group.c, line 595
Smatch caller information:
drivers/iommu/mtk_iommu.c mtk_iommu_device_group() -> iommu_group_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &data->mutex | ||
| LOCK2 | global &iommu_probe_device_lock | ||
| TYPE_LOCK | (struct mtk_iommu_data)->mutex |
drivers/vfio/group.c vfio_noiommu_group_alloc() -> iommu_group_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iommu/iommu.c fsl_mc_device_group() -> iommu_group_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &smmu->stream_map_mutex | ||
| LOCK2 | global &iommu_probe_device_lock | ||
| TYPE_LOCK | (struct arm_smmu_device)->stream_map_mutex |
drivers/iommu/iommu.c generic_device_group() -> iommu_group_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &smmu->stream_map_mutex | ||
| HALF_LOCKED2 | global &apple_dart_groups_lock | ||
| HALF_LOCKED2 | global &iommu_probe_device_lock |
drivers/iommu/iommu.c generic_single_device_group() -> iommu_group_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &iommu_probe_device_lock |
drivers/iommu/iommu.c pci_device_group() -> iommu_group_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &iommu_probe_device_lock | ||
| HALF_LOCKED2 | &smmu->stream_map_mutex | ||
| HALF_LOCKED2 | global &apple_dart_groups_lock |