Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 3 files:
- drivers/accel/amdxdna/amdxdna_iommu.c, line 187
- drivers/iommu/iommu.c, line 2125
- include/linux/iommu.h, line 937
Smatch caller information:
drivers/vhost/vdpa.c iommu_paging_domain_alloc() -> iommu_paging_domain_alloc_flags()
| 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 |
| PARAM_VALUE | 1 | flags | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/accel/amdxdna/amdxdna_iommu.c amdxdna_iommu_init() -> iommu_paging_domain_alloc_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 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 |
| PARAM_VALUE | 1 | flags | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/net/wireless/ath/ath10k/snoc.c iommu_paging_domain_alloc() -> iommu_paging_domain_alloc_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem | 1-u64max |
| PARAM_VALUE | 1 | flags | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/accel/rocket/rocket_drv.c iommu_paging_domain_alloc() -> iommu_paging_domain_alloc_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flags | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/qcom/venus/firmware.c iommu_paging_domain_alloc() -> iommu_paging_domain_alloc_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem | 1-u64max |
| PARAM_VALUE | 1 | flags | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/msm/msm_iommu.c iommu_paging_domain_alloc() -> iommu_paging_domain_alloc_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->iommu_group | 1-u64max |
| PARAM_VALUE | 1 | flags | 0 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | dev->iommu.max_pasids | 0-u32max |
| 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 iommu_paging_domain_alloc() -> iommu_paging_domain_alloc_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flags | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| 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 iommu_paging_domain_alloc() -> iommu_paging_domain_alloc_flags()
| 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 |
| PARAM_VALUE | 1 | flags | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| CAPPED_DATA | 0 | dev->of_node | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iommu/iommufd/hw_pagetable.c iommu_paging_domain_alloc() -> iommu_paging_domain_alloc_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 0 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| DATA_SOURCE | 0 | dev | $0 |
| LOCK2 | &ioas->mutex | ||
| TYPE_LOCK | (struct iommufd_ioas)->mutex |
drivers/gpu/drm/tegra/drm.c iommu_paging_domain_alloc() -> iommu_paging_domain_alloc_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->iommu_group | 1-u64max |
| PARAM_VALUE | 1 | flags | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/vfio/vfio_iommu_type1.c iommu_paging_domain_alloc() -> iommu_paging_domain_alloc_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flags | 0 |
| 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 iommu_paging_domain_alloc() -> iommu_paging_domain_alloc_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flags | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/gpu/host1x/dev.c iommu_paging_domain_alloc() -> iommu_paging_domain_alloc_flags()
| 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 |
| PARAM_VALUE | 1 | flags | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 0 | dev->dma_parms | 16 |
| DATA_SOURCE | 0 | dev | $0 |
| MEM_ZERO | 0 | dev->dma_parms | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/wireless/ath/ath11k/ahb.c iommu_paging_domain_alloc() -> iommu_paging_domain_alloc_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem | 1-u64max |
| PARAM_VALUE | 1 | flags | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iommu/iommu.c iommu_paging_domain_alloc() -> iommu_paging_domain_alloc_flags()
| 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 |
| PARAM_VALUE | 1 | flags | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &group->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/media/platform/nvidia/tegra-vde/iommu.c iommu_paging_domain_alloc() -> iommu_paging_domain_alloc_flags()
| 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 |
| PARAM_VALUE | 1 | flags | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/rockchip/rockchip_drm_drv.c iommu_paging_domain_alloc() -> iommu_paging_domain_alloc_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-ptr_max |
| PARAM_VALUE | 1 | flags | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &component_mutex |