Documented in 1 files:
Defined in 1 files as a function:
Referenced in 31 files:
- drivers/accel/amdxdna/amdxdna_gem.c
- drivers/accel/ethosu/ethosu_drv.c, line 111
- drivers/accel/ivpu/ivpu_gem.c, line 500
- drivers/accel/qaic/qaic_data.c, line 826
- drivers/accel/rocket/rocket_gem.c, line 109
- drivers/gpu/drm/amd/amdgpu/amdgpu_object.h, line 229
- drivers/gpu/drm/drm_gem.c, line 456
- drivers/gpu/drm/drm_gem_ttm_helper.c, line 146
- drivers/gpu/drm/etnaviv/etnaviv_gem.c, line 211
- drivers/gpu/drm/i915/gem/i915_gem_mman.c, line 801
- drivers/gpu/drm/i915/gem/i915_gem_ttm.c, line 1199
- drivers/gpu/drm/i915/gt/intel_reset.c, line 869
- drivers/gpu/drm/i915/i915_vma.c, line 1943
- drivers/gpu/drm/i915/selftests/igt_mmap.c, line 40
- drivers/gpu/drm/imagination/pvr_drv.c, line 215
- drivers/gpu/drm/lima/lima_gem.c, line 256
- drivers/gpu/drm/msm/msm_drv.c, line 604
- drivers/gpu/drm/nouveau/nouveau_gem.c, line 334
- drivers/gpu/drm/omapdrm/omap_gem.c, line 151
- drivers/gpu/drm/panfrost/panfrost_drv.c, line 428
- drivers/gpu/drm/panthor/panthor_drv.c, line 1104
- drivers/gpu/drm/radeon/radeon_object.h, line 133
- drivers/gpu/drm/tegra/drm.c, line 377
- drivers/gpu/drm/v3d/v3d_bo.c, line 249
- drivers/gpu/drm/vc4/vc4_bo.c, line 832
- drivers/gpu/drm/vmwgfx/vmwgfx_gem.c, line 233
- drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
- drivers/gpu/drm/xe/xe_bo.c, line 3694
- drivers/gpu/drm/xe/xe_mmio_gem.c, line 117
- include/drm/drm_vma_manager.h, line 225
- rust/helpers/drm.c, line 22
Smatch caller information:
drivers/gpu/drm/lima/lima_gem.c lima_gem_get_info() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
drivers/gpu/drm/ttm/ttm_bo.c drm_vma_node_unmap() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| DATA_SOURCE | 0 | node | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | node->vm_node.size | 1-s32max[c] |
| USER_DATA | 0 | node->vm_node.start | 0-s32max[c] |
| HALF_LOCKED2 | &rdev->pm.mclk_lock | ||
| HALF_LOCKED2 | &rdev->pm.mutex | ||
| HALF_LOCKED2 | &rdev->ring_lock | ||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/panthor/panthor_gem.c drm_vma_node_unmap() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| DATA_SOURCE | 0 | node | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &obj->resv->lock.base | ||
| TYPE_LOCK | (struct ww_mutex)->base |
drivers/accel/amdxdna/amdxdna_gem.c amdxdna_drm_get_bo_info_ioctl() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
drivers/accel/amdxdna/amdxdna_gem.c amdxdna_gem_obj_mmap() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &info->mm_lock |
drivers/gpu/drm/xe/xe_mmio_gem.c xe_mmio_gem_mmap_offset() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
drivers/gpu/drm/i915/i915_vma.c i915_vma_revoke_mmap() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | node | 264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/accel/ivpu/ivpu_gem.c ivpu_bo_info_ioctl() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| LOCK2 | bo->base.base.resv |
drivers/gpu/drm/vmwgfx/vmwgfx_gem.c vmw_gem_object_create_ioctl() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| USER_DATA | 0 | node->vm_node.size | 1-s32max[c] |
| USER_DATA | 0 | node->vm_node.start | 0-s32max[c] |
drivers/gpu/drm/panfrost/panfrost_drv.c panfrost_ioctl_mmap_bo() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
drivers/gpu/drm/panthor/panthor_drv.c panthor_ioctl_bo_mmap_offset() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
drivers/gpu/drm/nouveau/nouveau_gem.c nouveau_gem_info() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
drivers/gpu/drm/radeon/radeon_gem.c radeon_bo_mmap_offset() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
drivers/gpu/drm/nouveau/nouveau_bo.c drm_vma_node_unmap() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| DATA_SOURCE | 0 | node | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &drm->ttm.io_reserve_mutex | ||
| TYPE_LOCK | (struct nouveau_drm)->ttm.io_reserve_mutex |
drivers/gpu/drm/i915/gem/i915_gem_ttm.c i915_ttm_mmap_offset() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| HALF_LOCKED2 | obj->base.resv |
drivers/gpu/drm/v3d/v3d_bo.c v3d_mmap_bo_ioctl() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
drivers/gpu/drm/msm/msm_drv.c msm_ioctl_gem_info() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
drivers/gpu/drm/xe/xe_bo.c drm_vma_node_unmap() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| DATA_SOURCE | 0 | node | $0 |
| LOCK2 | &xe->mem_access.vram_userfault.lock |
drivers/gpu/drm/xe/xe_bo.c xe_gem_mmap_offset_ioctl() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
drivers/accel/rocket/rocket_gem.c rocket_ioctl_create_bo() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| USER_DATA | 0 | node->vm_node.size | 1-s32max[c] |
| USER_DATA | 0 | node->vm_node.start | 0-s32max[c] |
drivers/gpu/drm/vc4/vc4_bo.c drm_vma_node_unmap() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| DATA_SOURCE | 0 | node | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &bo->madv_lock | ||
| HALF_LOCKED2 | &vc4->bin_bo_lock | ||
| TYPE_LOCK | (struct vc4_bo)->madv_lock |
drivers/gpu/drm/vc4/vc4_bo.c vc4_mmap_bo_ioctl() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_gb_surface_define_internal() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_gb_surface_reference_internal() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c amdgpu_bo_mmap_offset() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/tegra/drm.c tegra_gem_mmap() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
drivers/gpu/drm/etnaviv/etnaviv_gem.c etnaviv_gem_mmap_offset() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
drivers/gpu/drm/drm_gem.c drm_gem_dumb_map_offset() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_bo_mmap_offset() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c amdgpu_bo_mmap_offset() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/i915/gt/intel_reset.c revoke_mmaps() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 1-u64max |
| BUF_SIZE | 0 | node | 264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | __flags |
drivers/gpu/drm/omapdrm/omap_gem.c omap_gem_mmap_offset() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/drm_gem_ttm_helper.c drm_gem_ttm_dumb_map_offset() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
drivers/gpu/drm/i915/selftests/igt_mmap.c igt_mmap_offset_with_file() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->vm_node.start | 0-4503599627370495 |
| CAPPED_DATA | 0 | node->vm_node.start | 1 |
| DATA_SOURCE | 0 | node | r drm_vma_offset_exact_lookup_locked |
drivers/accel/qaic/qaic_data.c qaic_mmap_bo_ioctl() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| LOCK2 | &qdev->dev_lock | ||
| LOCK2 | &usr->qddev_lock | ||
| TYPE_LOCK | (struct qaic_device)->dev_lock | ||
| TYPE_LOCK | (struct qaic_user)->qddev_lock |
drivers/gpu/drm/i915/gem/i915_gem_mman.c __assign_mmap_offset() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| HALF_LOCKED2 | obj->base.resv |
drivers/gpu/drm/i915/gem/i915_gem_mman.c drm_vma_node_unmap() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| DATA_SOURCE | 0 | node | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/drm_gem_shmem_helper.c drm_vma_node_unmap() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| DATA_SOURCE | 0 | node | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bo->mappings.lock | ||
| HALF_LOCKED2 | &pfdev->shrinker_lock | ||
| HALF_LOCKED2 | obj->resv | ||
| HALF_LOCKED2 | shmem->base.resv |
drivers/gpu/drm/msm/msm_gem.c drm_vma_node_unmap() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| DATA_SOURCE | 0 | node | $0 |
drivers/accel/ethosu/ethosu_drv.c ethosu_ioctl_bo_mmap_offset() -> drm_vma_node_offset_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |