Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 7 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 domain 4096-ptr_max
PARAM_VALUE 1 group 4096-ptr_max
BUF_SIZE 0 domain (-1),112
BUF_SIZE 0 domain (-1),112
DATA_SOURCE 0 domain r iommu_paging_domain_alloc_flags
DATA_SOURCE 1 group r iommu_group_get
RX_PATH
TASK_NOT_RUNNING

drivers/accel/rocket/rocket_job.c rocket_job_run() -> iommu_attach_group()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &adev->reset_domain->sem
HALF_LOCKED2 &attr->mutex
HALF_LOCKED2 &guc->submission_state.lock
HALF_LOCKED2 &sched->job_list_lock

drivers/gpu/drm/tegra/drm.c host1x_client_iommu_attach() -> iommu_attach_group()

Type Parameter Key Value
PARAM_VALUE 0 domain 1-u64max
PARAM_VALUE 1 group 4096-ptr_max
DATA_SOURCE 1 group r iommu_group_get
RX_PATH
TASK_NOT_RUNNING
LOCK2 &device->clients_lock
TYPE_LOCK (struct host1x_device)->clients_lock

drivers/vfio/vfio_iommu_type1.c vfio_iommu_type1_attach_group() -> iommu_attach_group()

Type Parameter Key Value
PARAM_VALUE 0 domain 0-ptr_max
PARAM_VALUE 1 group 4096-ptr_max
DATA_SOURCE 1 group $1
LOCK2 &container->group_lock
LOCK2 &iommu->lock
HALF_LOCKED2 &group->group_lock
HALF_LOCKED2 global &vfio.iommu_drivers_lock
TYPE_LOCK (struct vfio_container)->group_lock
TYPE_LOCK (struct vfio_iommu)->lock

drivers/vfio/vfio_iommu_type1.c vfio_iommu_type1_attach_group() -> iommu_attach_group()

Type Parameter Key Value
PARAM_VALUE 0 domain 4096-ptr_max
PARAM_VALUE 0 domain->ops 4096-ptr_max
PARAM_VALUE 1 group 4096-ptr_max
CAPPED_DATA 0 domain->ops 1
DATA_SOURCE 1 group $1
LOCK2 &container->group_lock
LOCK2 &iommu->lock
HALF_LOCKED2 &group->group_lock
HALF_LOCKED2 global &vfio.iommu_drivers_lock
TYPE_LOCK (struct vfio_container)->group_lock
TYPE_LOCK (struct vfio_iommu)->lock

drivers/vfio/vfio_iommu_type1.c vfio_iommu_type1_attach_group() -> iommu_attach_group()

Type Parameter Key Value
PARAM_VALUE 0 domain 4096-ptr_max
PARAM_VALUE 0 domain->ops 4096-ptr_max
PARAM_VALUE 0 domain->ops->enforce_cache_coherency 0,6771135090529189888,7103604897055576064,7157214075461996544
PARAM_VALUE 1 group 4096-ptr_max
CAPPED_DATA 0 domain 1
CAPPED_DATA 0 domain->ops 1
CAPPED_DATA 1 group->domain 1
DATA_SOURCE 1 group $1
PARAM_COMPARE 1 group->default_domain >= $1->domain
LOCK2 &container->group_lock
LOCK2 &iommu->lock
HALF_LOCKED2 &group->group_lock
HALF_LOCKED2 global &vfio.iommu_drivers_lock
TYPE_LOCK (struct vfio_container)->group_lock
TYPE_LOCK (struct vfio_iommu)->lock

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

Type Parameter Key Value
PARAM_VALUE 0 domain 4096-ptr_max
PARAM_VALUE 1 group 4096-ptr_max
BUF_SIZE 0 domain (-1),112
BUF_SIZE 0 domain (-1),112
DATA_SOURCE 0 domain r iommu_paging_domain_alloc
DATA_SOURCE 1 group r iommu_group_get
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 domain 4096-ptr_max
PARAM_VALUE 1 group 4096-ptr_max
BUF_SIZE 0 domain (-1),112
BUF_SIZE 0 domain (-1),112
DATA_SOURCE 0 domain r iommu_paging_domain_alloc
DATA_SOURCE 1 group r iommu_group_get
RX_PATH
TASK_NOT_RUNNING