Defined in 2 files as a function:

Referenced in 19 files:

Smatch caller information:

drivers/vhost/vdpa.c vhost_vdpa_alloc_domain() -> iommu_paging_domain_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->iommu 4096-ptr_max
PARAM_VALUE 0 dev->iommu->iommu_dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte

drivers/net/wireless/ath/ath10k/snoc.c ath10k_fw_init() -> iommu_paging_domain_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dma_mem 1-u64max
PARAM_VALUE 0 dev->iommu_group 0
BUF_SIZE 0 dev 1616
RX_PATH
TASK_NOT_RUNNING

drivers/accel/rocket/rocket_drv.c rocket_iommu_domain_create() -> iommu_paging_domain_alloc()

Type Parameter Key Value
DATA_SOURCE 0 dev $0
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING

drivers/media/platform/qcom/venus/firmware.c venus_firmware_init() -> iommu_paging_domain_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dma_mem 1-u64max
PARAM_VALUE 0 dev->iommu_group 0
BUF_SIZE 0 dev 1616
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/msm/msm_iommu.c msm_iommu_new() -> iommu_paging_domain_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->iommu_group 1-u64max
CAPPED_DATA 0 dev 1
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 dev->dma_io_tlb_mem->nslabs
UNITS 0 dev unit_byte
HALF_LOCKED2 global &component_mutex

drivers/remoteproc/remoteproc_core.c rproc_enable_iommu() -> iommu_paging_domain_alloc()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
LOCK2 &rproc->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rproc)->lock

drivers/media/platform/rockchip/rkvdec/rkvdec.c rkvdec_probe() -> iommu_paging_domain_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->driver_data 4096-ptr_max
PARAM_VALUE 0 dev->of_node 4096-ptr_max
BUF_SIZE 0 dev 1616
CAPPED_DATA 0 dev->of_node 1
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/iommufd/hw_pagetable.c iommufd_hwpt_paging_alloc() -> iommu_paging_domain_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
LOCK2 &ioas->mutex
TYPE_LOCK (struct iommufd_ioas)->mutex

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

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->iommu_group 1-u64max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte

drivers/vfio/vfio_iommu_type1.c vfio_iommu_domain_alloc() -> iommu_paging_domain_alloc()

Type Parameter Key Value
DATA_SOURCE 0 dev $0
UNITS 0 dev unit_byte
LOCK2 &container->group_lock
LOCK2 &group->mutex
LOCK2 &iommu->lock
HALF_LOCKED2 &group->group_lock
HALF_LOCKED2 global &vfio.iommu_drivers_lock
TYPE_LOCK (struct iommu_group)->mutex
TYPE_LOCK (struct vfio_container)->group_lock
TYPE_LOCK (struct vfio_iommu)->lock

drivers/infiniband/hw/usnic/usnic_uiom.c usnic_uiom_alloc_pd() -> iommu_paging_domain_alloc()

Type Parameter Key Value
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte

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

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dev->dma_parms 4096-ptr_max
PARAM_VALUE 0 dev->dma_parms->max_segment_size u32max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->iommu_group 4096-ptr_max
PARAM_VALUE 0 dev->iommu_group->devices_kobj->kref.refcount.refs.counter s32min-s32max
BUF_SIZE 0 dev 1616
BUF_SIZE 0 dev->dma_parms 16
MEM_ZERO 0 dev->dma_parms
RX_PATH
TASK_NOT_RUNNING

drivers/net/wireless/ath/ath11k/ahb.c ath11k_ahb_fw_resources_init() -> iommu_paging_domain_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dma_mem 1-u64max
PARAM_VALUE 0 dev->iommu_group 0
BUF_SIZE 0 dev 1616
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/iommu.c __iommu_group_alloc_blocking_domain() -> iommu_paging_domain_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->iommu 4096-ptr_max
PARAM_VALUE 0 dev->iommu->iommu_dev 4096-ptr_max
DATA_SOURCE 0 dev r iommu_group_first_dev
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &group->mutex
HALF_LOCKED2 _T->lock

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

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->iommu_group 4096-ptr_max
PARAM_VALUE 0 dev->iommu_group->devices_kobj->kref.refcount.refs.counter s32min-s32max
BUF_SIZE 0 dev 1616
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/rockchip/rockchip_drm_drv.c rockchip_drm_init_iommu() -> iommu_paging_domain_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 1-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &component_mutex