Documented in 1 files:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/accel/amdxdna/amdxdna_iommu.c, line 74
- drivers/accel/rocket/rocket_gem.c, line 96
- drivers/gpu/drm/msm/msm_iommu.c, line 700
- drivers/gpu/drm/rockchip/rockchip_drm_gem.c, line 43
- drivers/gpu/drm/tegra/gem.c, line 260
- drivers/gpu/host1x/job.c, line 253
- drivers/media/platform/nvidia/tegra-vde/iommu.c, line 39
Smatch caller information:
drivers/gpu/drm/tegra/gem.c tegra_bo_iommu_map() -> iommu_map_sgtable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | domain | 1-u64max |
| PARAM_VALUE | 2 | sgt | 4096-ptr_max |
| PARAM_VALUE | 2 | sgt->nents | 0-s32max |
| PARAM_VALUE | 3 | prot | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | iova | 0-s32max[c] |
| LOCK2 | &tegra->mm_lock | ||
| HALF_LOCKED2 | &drm->object_name_lock | ||
| HALF_LOCKED2 | &file_priv->prime.lock | ||
| TYPE_LOCK | (struct tegra_drm)->mm_lock |
drivers/accel/amdxdna/amdxdna_iommu.c amdxdna_dma_map_bo() -> iommu_map_sgtable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | domain | 4096-ptr_max |
| PARAM_VALUE | 2 | sgt | 4096-ptr_max |
| PARAM_VALUE | 2 | sgt->orig_nents | 1-u32max |
| PARAM_VALUE | 2 | sgt->sgl | 4096-ptr_max |
| PARAM_VALUE | 3 | prot | 3 |
| BUF_SIZE | 2 | sgt | (-1),16 |
| BUF_SIZE | 2 | sgt | (-1),16 |
| CAPPED_DATA | 2 | sgt | 1 |
| DATA_SOURCE | 2 | sgt | r drm_gem_shmem_get_pages_sgt |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dev->object_name_lock | ||
| HALF_LOCKED2 | &filp->driver_priv->mutex | ||
| HALF_LOCKED2 | &filp->prime.lock | ||
| HALF_LOCKED2 | &gobj->dev->object_name_lock |
drivers/accel/rocket/rocket_gem.c rocket_ioctl_create_bo() -> iommu_map_sgtable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | sgt | 4096-ptr_max |
| PARAM_VALUE | 2 | sgt->nents | 0-s32max |
| PARAM_VALUE | 3 | prot | 3 |
| USER_DATA | 1 | iova | 0-s32max[c] |
drivers/gpu/drm/msm/msm_iommu.c msm_iommu_map() -> iommu_map_sgtable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 1 | iova | $1 [m] |
| DATA_SOURCE | 2 | sgt | $2 |
| DATA_SOURCE | 3 | prot | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vm->mmu_lock |
drivers/gpu/host1x/job.c pin_job() -> iommu_map_sgtable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | domain | 1-u64max |
| PARAM_VALUE | 0 | domain->ops->map_pages | 0 |
| PARAM_VALUE | 2 | sgt | 4096-ptr_max |
| PARAM_VALUE | 2 | sgt->nents | 0-s32max |
| PARAM_VALUE | 3 | prot | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fpriv->lock |
drivers/media/platform/nvidia/tegra-vde/iommu.c tegra_vde_iommu_map() -> iommu_map_sgtable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | domain | 4096-ptr_max |
| PARAM_VALUE | 3 | prot | 3 |
| DATA_SOURCE | 1 | iova | r iova_dma_addr |
| DATA_SOURCE | 2 | sgt | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vde->map_lock |
drivers/gpu/drm/rockchip/rockchip_drm_gem.c rockchip_gem_iommu_map() -> iommu_map_sgtable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | sgt | 4096-ptr_max |
| PARAM_VALUE | 3 | prot | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | iova | unit_byte |
| HALF_LOCKED2 | &drm->object_name_lock | ||
| HALF_LOCKED2 | &file_priv->prime.lock |