Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 10 files:
- drivers/accel/amdxdna/amdxdna_iommu.c
- drivers/gpu/drm/tegra/drm.c
- drivers/gpu/host1x/dev.c, line 533
- drivers/iommu/dma-iommu.c, line 431
- drivers/iommu/iova.c, line 456
- drivers/media/pci/intel/ipu6/ipu6-mmu.c, line 804
- drivers/media/platform/nvidia/tegra-vde/iommu.c
- drivers/staging/media/ipu3/ipu3-dmamap.c, line 248
- drivers/staging/media/ipu7/ipu7-mmu.c, line 851
- drivers/vdpa/vdpa_user/iova_domain.c
Smatch caller information:
drivers/staging/media/ipu3/ipu3-dmamap.c imgu_dmamap_exit() -> put_iova_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iovad | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/vdpa/vdpa_user/iova_domain.c vduse_domain_create() -> put_iova_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iovad | 4096-ptr_max |
| PARAM_VALUE | 0 | iovad->anchor.node.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | iovad->anchor.node.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | iovad->anchor.node.rb_right | 4096-ptr_max |
| PARAM_VALUE | 0 | iovad->anchor.pfn_hi | u64max |
| PARAM_VALUE | 0 | iovad->anchor.pfn_lo | u64max |
| PARAM_VALUE | 0 | iovad->cached32_node | 4096-ptr_max |
| PARAM_VALUE | 0 | iovad->cached_node | 4096-ptr_max |
| PARAM_VALUE | 0 | iovad->cpuhp_dead.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | iovad->granule | 4096 |
| PARAM_VALUE | 0 | iovad->rbroot.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | iovad->rcaches | 4096-ptr_max |
| PARAM_VALUE | 0 | iovad->start_pfn | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->domain_lock | ||
| LOCK2 | global &vdpa_dev_lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct vduse_dev)->domain_lock |
drivers/vdpa/vdpa_user/iova_domain.c vduse_domain_release() -> put_iova_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iovad | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/vdpa/vdpa_user/iova_domain.c vduse_domain_release() -> put_iova_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iovad | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/accel/amdxdna/amdxdna_iommu.c amdxdna_cleanup_force_iova() -> put_iova_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iovad | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/accel/amdxdna/amdxdna_iommu.c amdxdna_iommu_init() -> put_iova_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iovad | 4096-ptr_max |
| PARAM_VALUE | 0 | iovad->anchor.node.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | iovad->anchor.node.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | iovad->anchor.node.rb_right | 4096-ptr_max |
| PARAM_VALUE | 0 | iovad->anchor.pfn_hi | u64max |
| PARAM_VALUE | 0 | iovad->anchor.pfn_lo | u64max |
| PARAM_VALUE | 0 | iovad->cached32_node | 4096-ptr_max |
| PARAM_VALUE | 0 | iovad->cached_node | 4096-ptr_max |
| PARAM_VALUE | 0 | iovad->granule | 0-4096 |
| PARAM_VALUE | 0 | iovad->rbroot.rb_node | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/iommu/dma-iommu.c iommu_put_dma_cookie() -> put_iova_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iovad | 4096-ptr_max |
| PARAM_VALUE | 0 | iovad->granule | 1-u64max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &container->group_lock | ||
| HALF_LOCKED2 | &group->mutex | ||
| HALF_LOCKED2 | &iommu->lock | ||
| HALF_LOCKED2 | &rproc->lock | ||
| HALF_LOCKED2 | global &component_mutex | ||
| HALF_LOCKED2 | global &iommu_sva_lock |
drivers/media/pci/intel/ipu6/ipu6-mmu.c ipu6_mmu_cleanup() -> put_iova_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iovad | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/tegra/drm.c host1x_drm_probe() -> put_iova_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iovad | 4096-ptr_max |
| PARAM_VALUE | 0 | iovad->anchor.node.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | iovad->anchor.node.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | iovad->anchor.node.rb_right | 4096-ptr_max |
| PARAM_VALUE | 0 | iovad->anchor.pfn_hi | u64max |
| PARAM_VALUE | 0 | iovad->anchor.pfn_lo | u64max |
| PARAM_VALUE | 0 | iovad->cached32_node | 4096-ptr_max |
| PARAM_VALUE | 0 | iovad->cached_node | 4096-ptr_max |
| PARAM_VALUE | 0 | iovad->granule | 0-4096 |
| PARAM_VALUE | 0 | iovad->rbroot.rb_node | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/tegra/drm.c host1x_drm_remove() -> put_iova_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iovad | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/gpu/host1x/dev.c host1x_iommu_exit() -> put_iova_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iovad | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/staging/media/ipu7/ipu7-mmu.c ipu7_mmu_cleanup() -> put_iova_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iovad | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/media/platform/nvidia/tegra-vde/iommu.c tegra_vde_iommu_deinit() -> put_iova_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iovad | 4096-ptr_max |
| PARAM_VALUE | 0 | iovad->max32_alloc_size | 1-u64max |
| PARAM_VALUE | 0 | iovad->rbroot.rb_node | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/media/platform/nvidia/tegra-vde/iommu.c tegra_vde_iommu_init() -> put_iova_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iovad | 4096-ptr_max |
| PARAM_VALUE | 0 | iovad->anchor.node.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | iovad->anchor.node.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | iovad->anchor.node.rb_right | 4096-ptr_max |
| PARAM_VALUE | 0 | iovad->anchor.pfn_hi | u64max |
| PARAM_VALUE | 0 | iovad->anchor.pfn_lo | u64max |
| PARAM_VALUE | 0 | iovad->rbroot.rb_node | 4096-ptr_max |
| MEM_ZERO | 0 | iovad | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |