Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 13 files:

Smatch caller information:

drivers/vfio/pci/vfio_pci_core.c vfio_pci_fill_devs() -> iommu_group_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &pci_bus_sem

drivers/accel/rocket/rocket_core.c rocket_core_init() -> iommu_group_get()

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_mask 4096-ptr_max
PARAM_VALUE 0 dev->dma_parms 0,4096-ptr_max
PARAM_VALUE 0 dev->dma_parms->max_segment_size u32max
RX_PATH
TASK_NOT_RUNNING

drivers/vfio/iommufd.c vfio_iommufd_get_dev_id() -> iommu_group_get()

Type Parameter Key Value
BUF_SIZE 0 dev (-1),1616
BUF_SIZE 0 dev (-1),1616
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev_set->lock

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

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

drivers/iommu/iommufd/device.c iommufd_get_group() -> iommu_group_get()

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 $1
HALF_LOCKED2 &device->dev_set->lock

drivers/accel/rocket/rocket_job.c rocket_job_handle_irq() -> iommu_group_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 irq

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

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->iommu_group 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &device->clients_lock
TYPE_LOCK (struct host1x_device)->clients_lock

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

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 0,4096-ptr_max
BUF_SIZE 0 dev 1616
BUF_SIZE 0 dev->dma_parms 16
MEM_ZERO 0 dev->dma_parms
RX_PATH
TASK_NOT_RUNNING

drivers/vfio/group.c vfio_group_find_or_alloc() -> iommu_group_get()

Type Parameter Key Value
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/iommu.c fsl_mc_device_group() -> iommu_group_get()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
LOCK2 &smmu->stream_map_mutex
LOCK2 global &iommu_probe_device_lock
TYPE_LOCK (struct arm_smmu_device)->stream_map_mutex

drivers/iommu/iommu.c get_pci_alias_group() -> iommu_group_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/iommu.c get_pci_alias_or_group() -> iommu_group_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &iommu->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 global &iommu_probe_device_lock
HALF_LOCKED2 global &iommu_table_lock

drivers/iommu/iommu.c pci_device_group() -> iommu_group_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &iommu_probe_device_lock
HALF_LOCKED2 &smmu->stream_map_mutex
HALF_LOCKED2 global &apple_dart_groups_lock

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

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
BUF_SIZE 0 dev 1616
RX_PATH
TASK_NOT_RUNNING