Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
- drivers/gpu/drm/drm_gem.c, line 509
- drivers/gpu/drm/drm_prime.c, line 794
- drivers/gpu/drm/drm_vma_manager.c, line 318
- drivers/gpu/drm/i915/selftests/igt_mmap.c, line 34
- drivers/gpu/drm/xe/xe_mmio_gem.c, line 95
Smatch caller information:
drivers/gpu/drm/xe/xe_mmio_gem.c xe_mmio_gem_create() -> drm_vma_node_allow()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->vm_lock.magic | 3736018669 |
| PARAM_VALUE | 0 | node->vm_lock.owner | (-1) |
| PARAM_VALUE | 0 | node->vm_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | node->vm_lock.raw_lock.cnts.counter | 0 |
| PARAM_VALUE | 0 | node->vm_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | node->vm_node.hole_size | 0-1 |
| PARAM_VALUE | 0 | node->vm_node.hole_stack.next | 4096-ptr_max |
| PARAM_VALUE | 0 | node->vm_node.hole_stack.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | node->vm_node.mm | 4096-ptr_max |
| PARAM_VALUE | 0 | node->vm_node.rb_hole_size.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | node->vm_node.rb_hole_size.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | node->vm_node.rb_hole_size.rb_right | 4096-ptr_max |
| PARAM_VALUE | 0 | node->vm_node.subtree_max_hole | 1 |
| DATA_SOURCE | 1 | tag | $1 |
| MEM_ZERO | 0 | node |
drivers/gpu/drm/drm_gem.c drm_gem_handle_create_tail() -> drm_vma_node_allow()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 4096-ptr_max |
| PARAM_VALUE | 1 | tag->table_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 1 | tag | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | tag | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | tag->object_idr.idr_base | 1 |
| DATA_SOURCE | 1 | tag | $0 |
| 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] |
| UNITS | 1 | tag | unit_byte |
| HALF_LOCKED2 | &dev->object_name_lock | ||
| HALF_LOCKED2 | &obj->dev->object_name_lock | ||
| HALF_LOCKED2 | 1 | &tag->driver_priv->mutex | |
| HALF_LOCKED2 | 1 | &tag->prime.lock |
drivers/gpu/drm/drm_prime.c drm_gem_prime_mmap() -> drm_vma_node_allow()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 4096-ptr_max |
| BUF_SIZE | 1 | tag | 1216 |
| DATA_SOURCE | 1 | tag | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &info->mm_lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() -> drm_vma_node_allow()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 4096-ptr_max |
| BUF_SIZE | 1 | tag | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | tag | $3 |
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c import_obj_create() -> drm_vma_node_allow()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 4096-ptr_max |
| BUF_SIZE | 1 | tag | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | tag | $4 |
| LOCK2 | &p->mutex | ||
| HALF_LOCKED2 | &adev->ddev.object_name_lock | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/i915/selftests/igt_mmap.c igt_mmap_offset_with_file() -> drm_vma_node_allow()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->vm_node.start | 0-4503599627370495 |
| BUF_SIZE | 1 | tag | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | node->vm_node.start | 1 |
| DATA_SOURCE | 0 | node | r drm_vma_offset_exact_lookup_locked |