Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 6 files:
- drivers/acpi/scan.c, line 1606
- drivers/iommu/arm/arm-smmu/arm-smmu.c, line 185
- drivers/iommu/iommu.c
- drivers/iommu/mtk_iommu_v1.c, line 430
- drivers/iommu/of_iommu.c, line 31
- drivers/iommu/tegra-smmu.c, line 846
Smatch caller information:
drivers/iommu/mtk_iommu_v1.c mtk_iommu_v1_create_mapping() -> iommu_fwspec_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->iommu_group | 0 |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 1 | iommu_fwnode | 0,4096-ptr_max |
| BUF_SIZE | 1 | iommu_fwnode | 0,64 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &iommu_probe_device_lock |
drivers/iommu/arm/arm-smmu/arm-smmu.c arm_smmu_register_legacy_master() -> iommu_fwspec_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 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_group | 0 |
| PARAM_VALUE | 1 | iommu_fwnode | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &iommu_probe_device_lock |
drivers/iommu/of_iommu.c of_iommu_xlate() -> iommu_fwspec_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | 1 | iommu_fwnode | 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 |
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &iommu_probe_device_lock | ||
| HALF_LOCKED2 | 0 | &dev->mutex |
drivers/iommu/iommu.c iommu_mock_device_add() -> iommu_fwspec_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 209743254014152704 |
| PARAM_VALUE | 0 | dev->devres_head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_mem | 1473117533515866112 |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_pools.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->fwnode | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | dev->kobj.ktype | 5399513539053756416 |
| PARAM_VALUE | 0 | dev->kobj.name | 1-u64max |
| PARAM_VALUE | 0 | dev->kobj.state_in_sysfs | 0 |
| PARAM_VALUE | 0 | dev->kobj.state_initialized | 1 |
| PARAM_VALUE | 0 | dev->links.consumers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.consumers.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.defer_sync.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.defer_sync.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.status | 0 |
| PARAM_VALUE | 0 | dev->links.suppliers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.suppliers.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->numa_node | (-1) |
| PARAM_VALUE | 0 | dev->power.disable_depth | 1 |
| PARAM_VALUE | 0 | dev->power.early_init | 1 |
| PARAM_VALUE | 0 | dev->power.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.last_status | (-1) |
| PARAM_VALUE | 0 | dev->power.needs_force_resume | 0 |
| PARAM_VALUE | 0 | dev->power.runtime_auto | 1 |
| PARAM_VALUE | 0 | dev->power.runtime_status | 2 |
| PARAM_VALUE | 0 | dev->power.wait_queue.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.wait_queue.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->release | 2371972348387840000 |
| DATA_SOURCE | 0 | dev | $0 |
| LOCK2 | global &iommu_probe_device_lock |
drivers/acpi/scan.c acpi_iommu_fwspec_init() -> iommu_fwspec_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | iommu_fwnode | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | global &iommu_probe_device_lock |