Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 10 files:

Smatch caller information:

drivers/staging/media/ipu3/ipu3-dmamap.c imgu_dmamap_init() -> init_iova_domain()

Type Parameter Key Value
PARAM_VALUE 0 iovad 4096-ptr_max
PARAM_VALUE 2 start_pfn 1
MEM_ZERO 0 iovad
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/vdpa/vdpa_user/iova_domain.c vduse_domain_create() -> init_iova_domain()

Type Parameter Key Value
PARAM_VALUE 0 iovad 4096-ptr_max
PARAM_VALUE 1 granule 4096
PARAM_VALUE 2 start_pfn 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->domain_lock
LOCK2 global &vdpa_dev_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct vduse_dev)->domain_lock

drivers/vdpa/vdpa_user/iova_domain.c vduse_domain_create() -> init_iova_domain()

Type Parameter Key Value
PARAM_VALUE 0 iovad 4096-ptr_max
PARAM_VALUE 1 granule 4096
PARAM_VALUE 2 start_pfn 0-1048576
CAPPED_DATA 2 start_pfn 1
CAPPED_DATA 2 start_pfn 1
FUZZY_MAX 2 start_pfn 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 granule unit_byte
UNITS 2 start_pfn unit_array_size
LOCK2 &dev->domain_lock
LOCK2 global &vdpa_dev_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct vduse_dev)->domain_lock

drivers/accel/amdxdna/amdxdna_iommu.c amdxdna_iommu_init() -> init_iova_domain()

Type Parameter Key Value
PARAM_VALUE 0 iovad 4096-ptr_max
PARAM_VALUE 2 start_pfn 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/iommu/dma-iommu.c iommu_dma_init_domain() -> init_iova_domain()

Type Parameter Key Value
PARAM_VALUE 0 iovad 4096-ptr_max
PARAM_VALUE 0 iovad->start_pfn 0
PARAM_VALUE 2 start_pfn 1-u64max
BUF_SIZE 0 iovad 192
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &group->mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &iommu_probe_device_lock
TYPE_LOCK (struct iommu_group)->mutex

drivers/media/pci/intel/ipu6/ipu6-mmu.c alloc_dma_mapping() -> init_iova_domain()

Type Parameter Key Value
PARAM_VALUE 0 iovad 4096-ptr_max
PARAM_VALUE 1 granule 4096
PARAM_VALUE 2 start_pfn 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/tegra/drm.c host1x_drm_probe() -> init_iova_domain()

Type Parameter Key Value
PARAM_VALUE 0 iovad 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/host1x/dev.c host1x_iommu_attach() -> init_iova_domain()

Type Parameter Key Value
PARAM_VALUE 0 iovad 4096-ptr_max
MEM_ZERO 0 iovad
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/staging/media/ipu7/ipu7-mmu.c alloc_dma_mapping() -> init_iova_domain()

Type Parameter Key Value
PARAM_VALUE 0 iovad 4096-ptr_max
PARAM_VALUE 1 granule 4096
PARAM_VALUE 2 start_pfn 16384,20480
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 &pool->lock

drivers/media/platform/nvidia/tegra-vde/iommu.c tegra_vde_iommu_init() -> init_iova_domain()

Type Parameter Key Value
PARAM_VALUE 0 iovad 4096-ptr_max
PARAM_VALUE 2 start_pfn 0
MEM_ZERO 0 iovad
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL