Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/iommu/amd/iommu.c amd_iommu_init_identity_domain() -> amd_iommu_pdom_id_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/iommu/amd/iommu.c protection_domain_alloc() -> amd_iommu_pdom_id_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &iommu_sva_lock |
drivers/iommu/amd/iommu.c setup_gcr3_table() -> amd_iommu_pdom_id_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev_data->mutex | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &group->mutex | ||
| TYPE_LOCK | (struct iommu_dev_data)->mutex |
drivers/iommu/amd/nested.c amd_iommu_alloc_domain_nested() -> amd_iommu_pdom_id_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &(&aviommu->gdomid_array)->xa_lock | ||
| LOCK2 | irqflags |