Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 25 files:
- arch/powerpc/kernel/iommu.c, line 1292
- drivers/iommu/amd/init.c, line 2248
- drivers/iommu/apple-dart.c, line 1189
- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c, line 5614
- drivers/iommu/arm/arm-smmu/arm-smmu.c, line 2235
- drivers/iommu/arm/arm-smmu/qcom_iommu.c, line 860
- drivers/iommu/exynos-iommu.c, line 816
- drivers/iommu/fsl_pamu_domain.c, line 455
- drivers/iommu/intel/dmar.c, line 1220
- drivers/iommu/intel/iommu.c, line 2685
- drivers/iommu/iommu.c, line 314
- drivers/iommu/ipmmu-vmsa.c, line 1100
- drivers/iommu/msm_iommu.c, line 793
- drivers/iommu/mtk_iommu.c, line 1434
- drivers/iommu/mtk_iommu_v1.c, line 696
- drivers/iommu/omap-iommu.c, line 1222
- drivers/iommu/riscv/iommu.c, line 1610
- drivers/iommu/rockchip-iommu.c, line 1304
- drivers/iommu/s390-iommu.c
- drivers/iommu/sprd-iommu.c, line 490
- drivers/iommu/sun50i-iommu.c, line 1050
- drivers/iommu/tegra-smmu.c, line 1173
- drivers/iommu/virtio-iommu.c, line 1239
- drivers/iommu/vsi-iommu.c, line 716
- drivers/xen/grant-dma-iommu.c, line 45
Smatch caller information:
drivers/iommu/mtk_iommu_v1.c mtk_iommu_v1_probe() -> iommu_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | ops | 4423595057060163584 |
| PARAM_VALUE | 2 | hwdev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 2 | hwdev->of_node | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->of_node->properties | 4096-ptr_max |
| BUF_SIZE | 2 | hwdev | 1616 |
| MEM_ZERO | 0 | iommu | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iommu/intel/iommu.c intel_iommu_init() -> iommu_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->dev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ops | 4096498257913622528 |
| PARAM_VALUE | 1 | ops->owner | 0 |
| PARAM_VALUE | 2 | hwdev | 0 |
| NOCHECK_CALL |
drivers/iommu/intel/dmar.c alloc_iommu() -> iommu_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | ops | 4096498257913622528 |
| PARAM_VALUE | 2 | hwdev | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | iommu->max_pasids | 0-u32max |
| HOST_DATA | 0 | iommu->ready | 0-1 |
| HALF_LOCKED2 | global &dmar_global_lock |
drivers/iommu/sprd-iommu.c sprd_iommu_probe() -> iommu_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | ops | 567551468923482112 |
| PARAM_VALUE | 2 | hwdev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 2 | hwdev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 2 | hwdev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | hwdev->cma_area->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | hwdev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | hwdev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | hwdev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 2 | hwdev->iommu->pci_32bit_workaround | 0 |
| BUF_SIZE | 2 | hwdev | 1616 |
| CAPPED_DATA | 2 | hwdev | 1 |
| MEM_ZERO | 0 | iommu | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iommu/virtio-iommu.c viommu_probe() -> iommu_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | ops | 5527655126260744192 |
| MEM_ZERO | 0 | iommu | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | hwdev | unit_byte |
drivers/iommu/riscv/iommu.c riscv_iommu_init() -> iommu_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | ops | 2516052607184195584 |
| PARAM_VALUE | 2 | hwdev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev->next->next | 4096-ptr_max |
| BUF_SIZE | 2 | hwdev | 1616 |
| MEM_ZERO | 0 | iommu | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | iommu->max_pasids | 0 |
| HOST_DATA | 0 | iommu->ready | 0 |
drivers/iommu/arm/arm-smmu/qcom_iommu.c qcom_iommu_device_probe() -> iommu_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | ops | 8087587938034249728 |
| PARAM_VALUE | 2 | hwdev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 2 | hwdev->of_node | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->of_node->kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->of_node->kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->power.last_status | (-1) |
| BUF_SIZE | 2 | hwdev | 1616 |
| CAPPED_DATA | 2 | hwdev | 1 |
| MEM_ZERO | 0 | iommu | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iommu/rockchip-iommu.c rk_iommu_probe() -> iommu_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | ops | 9062722883071225856 |
| PARAM_VALUE | 2 | hwdev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->driver | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->of_node | 1-u64max |
| PARAM_VALUE | 2 | hwdev->power.last_status | (-1) |
| BUF_SIZE | 2 | hwdev | 1616 |
| MEM_ZERO | 0 | iommu | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iommu/mtk_iommu.c mtk_iommu_probe() -> iommu_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | ops | 250121659333685248 |
| PARAM_VALUE | 2 | hwdev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->power.wakeirq->status | 0-4294967295 |
| BUF_SIZE | 2 | hwdev | 1616 |
| CAPPED_DATA | 2 | hwdev | 1 |
| MEM_ZERO | 0 | iommu | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iommu/amd/init.c iommu_init_pci() -> iommu_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | ops | 6278570033091944448 |
| PARAM_VALUE | 2 | hwdev | 0 |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/iommu/arm/arm-smmu/arm-smmu.c arm_smmu_device_probe() -> iommu_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | ops | 8406470866174615552 |
| PARAM_VALUE | 2 | hwdev | 0,4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->of_node | 0,4096-ptr_max |
| BUF_SIZE | 2 | hwdev | 0,1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/xen/grant-dma-iommu.c grant_dma_iommu_probe() -> iommu_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 1 | ops | 5410980429099618304 |
| PARAM_VALUE | 2 | hwdev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev | 4096-ptr_max |
| MEM_ZERO | 0 | iommu | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iommu/vsi-iommu.c vsi_iommu_probe() -> iommu_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | ops | 8623028298399580160 |
| PARAM_VALUE | 2 | hwdev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->power.autosuspend_delay | 100 |
| PARAM_VALUE | 2 | hwdev->power.last_status | (-1) |
| PARAM_VALUE | 2 | hwdev->power.qos | 0,4096-u64max |
| PARAM_VALUE | 2 | hwdev->power.request | 0-4 |
| PARAM_VALUE | 2 | hwdev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 2 | hwdev->power.runtime_status | 0,2 |
| PARAM_VALUE | 2 | hwdev->power.use_autosuspend | 1 |
| PARAM_VALUE | 2 | hwdev->power.wakeirq->status | 0-4294967295 |
| BUF_SIZE | 2 | hwdev | 1616 |
| MEM_ZERO | 0 | iommu | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iommu/omap-iommu.c omap_iommu_probe() -> iommu_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->dev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ops | 7111408900079222784 |
| PARAM_VALUE | 2 | hwdev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->of_node | 4096-ptr_max |
| MEM_ZERO | 0 | iommu | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iommu/apple-dart.c apple_dart_probe() -> iommu_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | ops | 1962686813234073600 |
| PARAM_VALUE | 2 | hwdev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->driver | 4096-ptr_max |
| BUF_SIZE | 2 | hwdev | 1616 |
| MEM_ZERO | 0 | iommu | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iommu/sun50i-iommu.c sun50i_iommu_probe() -> iommu_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | ops | 488842600399073280 |
| PARAM_VALUE | 2 | hwdev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->driver_data | 4096-ptr_max |
| MEM_ZERO | 0 | iommu | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iommu/exynos-iommu.c exynos_sysmmu_probe() -> iommu_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | ops | 4053526939178602496 |
| PARAM_VALUE | 2 | hwdev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 2 | hwdev->power.last_status | (-1) |
| BUF_SIZE | 2 | hwdev | 1616 |
| MEM_ZERO | 0 | iommu | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iommu/ipmmu-vmsa.c ipmmu_probe() -> iommu_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | ops | 215484730464264192 |
| PARAM_VALUE | 2 | hwdev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->driver | 4096-ptr_max |
| PARAM_VALUE | 2 | hwdev->driver_data | 4096-ptr_max |
| MEM_ZERO | 0 | iommu | |
| RX_PATH | |||
| TASK_NOT_RUNNING |