Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 17 files:
- drivers/iommu/amd/iommu.c, line 528
- drivers/iommu/apple-dart.c, line 926
- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c, line 4330
- drivers/iommu/arm/arm-smmu/arm-smmu.c, line 1560
- drivers/iommu/arm/arm-smmu/qcom_iommu.c, line 597
- drivers/iommu/exynos-iommu.c, line 1478
- drivers/iommu/fsl_pamu_domain.c, line 393
- drivers/iommu/intel/iommu.c, line 3474
- drivers/iommu/iommu.c, line 1596
- drivers/iommu/iommufd/selftest.c, line 859
- drivers/iommu/ipmmu-vmsa.c, line 887
- drivers/iommu/msm_iommu.c, line 698
- drivers/iommu/mtk_iommu_v1.c, line 587
- drivers/iommu/riscv/iommu.c, line 1422
- drivers/iommu/s390-iommu.c, line 1177
- drivers/iommu/tegra-smmu.c, line 951
- drivers/iommu/virtio-iommu.c, line 1070
Smatch caller information:
drivers/iommu/amd/iommu.c acpihid_device_group() -> generic_device_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-9023697146540859391,9023697146540859393-ptr_max |
| PARAM_VALUE | 0 | dev->fwnode | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->fwnode->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->iommu->fwspec | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->iommu->iommu_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->iommu_group | 0 |
| PARAM_VALUE | 0 | dev->kobj.sd | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &iommu_probe_device_lock |
drivers/iommu/intel/iommu.c intel_iommu_device_group() -> generic_device_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0-9023697146540859391,9023697146540859393-u64max |
| PARAM_VALUE | 0 | dev->iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->iommu->iommu_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.sd | 4096-ptr_max |
| BUF_SIZE | 0 | dev->iommu->iommu_dev | 56 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | dev->flags | 0-u32max |
| HOST_DATA | 0 | dev->iommu.max_pasids | 0-u32max |
| LOCK2 | global &iommu_probe_device_lock |
drivers/iommu/virtio-iommu.c viommu_device_group() -> generic_device_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0-9023697146540859391,9023697146540859393-u64max |
| PARAM_VALUE | 0 | dev->iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->iommu->iommu_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.sd | 4096-ptr_max |
| BUF_SIZE | 0 | dev->iommu->iommu_dev | 56 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | dev->flags | 0-u32max |
| HOST_DATA | 0 | dev->iommu.max_pasids | 0-u32max |
| LOCK2 | global &iommu_probe_device_lock |
drivers/iommu/riscv/iommu.c riscv_iommu_device_group() -> generic_device_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0-9023697146540859391,9023697146540859393-u64max |
| PARAM_VALUE | 0 | dev->iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->iommu->iommu_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.sd | 4096-ptr_max |
| BUF_SIZE | 0 | dev->iommu->iommu_dev | 56 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | dev->flags | 0-u32max |
| HOST_DATA | 0 | dev->iommu.max_pasids | 0-u32max |
| LOCK2 | global &iommu_probe_device_lock |
drivers/iommu/arm/arm-smmu/arm-smmu.c arm_smmu_device_group() -> generic_device_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0-4703237401105657855,4703237401105657857-9023697146540859391,9023697146540859393-u64max |
| PARAM_VALUE | 0 | dev->iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->iommu->fwspec->num_ids | 0-s32max |
| PARAM_VALUE | 0 | dev->iommu->iommu_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.sd | 4096-ptr_max |
| BUF_SIZE | 0 | dev->iommu->iommu_dev | 56 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | dev->flags | 0-u32max |
| HOST_DATA | 0 | dev->iommu.max_pasids | 0-u32max |
| LOCK2 | &smmu->stream_map_mutex | ||
| LOCK2 | global &iommu_probe_device_lock | ||
| TYPE_LOCK | (struct arm_smmu_device)->stream_map_mutex |
drivers/iommu/apple-dart.c apple_dart_device_group() -> generic_device_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0-9023697146540859391,9023697146540859393-u64max |
| PARAM_VALUE | 0 | dev->iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->iommu->iommu_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.sd | 4096-ptr_max |
| BUF_SIZE | 0 | dev->iommu->iommu_dev | 56 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | dev->flags | 0-u32max |
| HOST_DATA | 0 | dev->iommu.max_pasids | 0-u32max |
| LOCK2 | global &apple_dart_groups_lock | ||
| LOCK2 | global &iommu_probe_device_lock |
drivers/iommu/iommu.c iommu_init_device() -> (struct iommu_ops)->device_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_ops->alloc | 0,1744715142275031040,2065280936184246272,2938795245442469888 |
| PARAM_VALUE | 0 | dev->dma_ops->alloc_pages_op | 0,4686288359180861440,6350905364812603392,6978773206971854848 |
| PARAM_VALUE | 0 | dev->dma_ops->cache_sync | 0 |
| PARAM_VALUE | 0 | dev->dma_ops->dma_supported | 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888 |
| PARAM_VALUE | 0 | dev->dma_ops->free | 0,4778164490434129920,7144974343242604544,7861694134817480704 |
| PARAM_VALUE | 0 | dev->dma_ops->free_pages | 0,239457316199952384,5196233516945883136,7413093576918179840 |
| PARAM_VALUE | 0 | dev->dma_ops->get_merge_boundary | 0 |
| PARAM_VALUE | 0 | dev->dma_ops->get_required_mask | 0,7770840938859397120 |
| PARAM_VALUE | 0 | dev->dma_ops->get_sgtable | 0,1322759480623644672 |
| PARAM_VALUE | 0 | dev->dma_ops->map_phys | 0,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696 |
| PARAM_VALUE | 0 | dev->dma_ops->map_sg | 0,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488 |
| PARAM_VALUE | 0 | dev->dma_ops->max_mapping_size | 0,8830639662091943936 |
| PARAM_VALUE | 0 | dev->dma_ops->mmap | 0,5761417605877342208,7694740394750603264 |
| PARAM_VALUE | 0 | dev->dma_ops->opt_mapping_size | 0 |
| PARAM_VALUE | 0 | dev->dma_ops->sync_sg_for_cpu | 0,4862850025765572608 |
| PARAM_VALUE | 0 | dev->dma_ops->sync_sg_for_device | 0,3732476178258022400 |
| PARAM_VALUE | 0 | dev->dma_ops->sync_single_for_cpu | 0,1155325867376779264 |
| PARAM_VALUE | 0 | dev->dma_ops->sync_single_for_device | 0,8781567156597239808 |
| PARAM_VALUE | 0 | dev->dma_ops->unmap_phys | 0,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048 |
| PARAM_VALUE | 0 | dev->dma_ops->unmap_sg | 0,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440 |
| PARAM_VALUE | 0 | dev->iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->iommu->fwspec | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->iommu->iommu_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->iommu_group | 0 |
| PARAM_VALUE | 0 | dev->kobj.sd | 4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1)-0,24-s32max |
| BUF_SIZE | 0 | dev | (-1)-0,24-s32max |
| BUF_SIZE | 0 | dev->bus | (-1),168 |
| BUF_SIZE | 0 | dev->dma_mask | (-1),8 |
| BUF_SIZE | 0 | dev->dma_parms | (-1),16 |
| BUF_SIZE | 0 | dev->groups | (-1),16 |
| BUF_SIZE | 0 | dev->init_name | (-1),14 |
| BUF_SIZE | 0 | dev->parent | (-1),1616 |
| DATA_SOURCE | 0 | dev | $0 |
| STR_LEN | 0 | dev->parent | (-1),4-5,13 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | dev->flags | 4096-u32max |
| HOST_DATA | 0 | dev->iommu.max_pasids | 0-u32max |
| LOCK2 | global &iommu_probe_device_lock | ||
| HALF_LOCKED2 | 0 | &dev->mutex |