Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpu/drm/drm_gem.c, line 1307
- drivers/gpu/drm/drm_gem_dma_helper.c, line 387
- drivers/gpu/drm/drm_vma_manager.c, line 422
- drivers/gpu/drm/i915/gem/i915_gem_mman.c, line 1089
- include/drm/drm_vma_manager.h, line 244
Smatch caller information:
drivers/gpu/drm/drm_gem.c drm_gem_object_lookup_at_offset() -> drm_vma_node_is_allowed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 4096-ptr_max |
| PARAM_VALUE | 1 | tag->minor | 4096-ptr_max |
| PARAM_VALUE | 1 | tag->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | tag->minor->dev->vma_offset_manager | 4096-ptr_max |
| PARAM_VALUE | 1 | tag->minor->dev->vma_offset_manager->vm_lock.dep_map->name | 0-255 |
| BUF_SIZE | 1 | tag | (-1),1216 |
| BUF_SIZE | 1 | tag | (-1),1216 |
| CAPPED_DATA | 0 | node->vm_node.start | 1 |
| DATA_SOURCE | 0 | node | r drm_vma_offset_exact_lookup_locked |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/i915/gem/i915_gem_mman.c i915_gem_mmap() -> drm_vma_node_is_allowed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 4096-ptr_max |
| PARAM_VALUE | 1 | tag->minor | 4096-ptr_max |
| PARAM_VALUE | 1 | tag->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | tag->minor->dev->vma_offset_manager | 4096-ptr_max |
| PARAM_VALUE | 1 | tag->minor->dev->vma_offset_manager->vm_lock.dep_map->name | 0-255 |
| BUF_SIZE | 1 | tag | (-1),1216 |
| BUF_SIZE | 1 | tag | (-1),1216 |
| DATA_SOURCE | 0 | node | r drm_vma_offset_lookup_locked |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->vma_offset_manager->vm_lock | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &ipcp->lock | ||
| TYPE_LOCK | (struct drm_vma_offset_manager)->vm_lock |