Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/drm_vma_manager.c, line 177
- drivers/gpu/drm/i915/gem/i915_gem_mman.c, line 1086
- include/drm/drm_vma_manager.h, line 102
Smatch caller information:
drivers/gpu/drm/drm_gem.c drm_vma_offset_exact_lookup_locked() -> drm_vma_offset_lookup_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mgr | 4096-ptr_max |
| PARAM_VALUE | 2 | pages | 0-4503599627370495 |
| DATA_SOURCE | 0 | mgr | $0 |
| DATA_SOURCE | 1 | start | $1 |
| DATA_SOURCE | 2 | pages | $2 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | start | 0-4503599627370495[c] |
| USER_DATA | 2 | pages | 0-4503599627370495[c] |
| NO_OVERFLOW_SIMPLE | 1 | start | |
| UNITS | 1 | start | unit_page |
| UNITS | 2 | pages | unit_page |
| LOCK2 | 0 | &mgr->vm_lock | |
| TYPE_LOCK | (struct drm_vma_offset_manager)->vm_lock |
drivers/gpu/drm/i915/selftests/igt_mmap.c drm_vma_offset_exact_lookup_locked() -> drm_vma_offset_lookup_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mgr | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0-4503599627370495 |
| DATA_SOURCE | 0 | mgr | $0 |
| DATA_SOURCE | 1 | start | $1 |
| DATA_SOURCE | 2 | pages | $2 |
| UNITS | 1 | start | unit_page |
| UNITS | 2 | pages | unit_page |
| LOCK2 | 0 | &mgr->vm_lock | |
| TYPE_LOCK | (struct drm_vma_offset_manager)->vm_lock |
drivers/gpu/drm/i915/gem/i915_gem_mman.c i915_gem_mmap() -> drm_vma_offset_lookup_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mgr | 4096-ptr_max |
| PARAM_VALUE | 2 | pages | 0-4503599627370495 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | start | 0-4503599627370495[c] |
| USER_DATA | 2 | pages | 0-4503599627370495[c] |
| NO_OVERFLOW_SIMPLE | 1 | start | |
| UNITS | 1 | start | unit_page |
| LOCK2 | rcu_read | ||
| LOCK2 | 0 | &mgr->vm_lock | |
| HALF_LOCKED2 | &ipcp->lock | ||
| TYPE_LOCK | (struct drm_vma_offset_manager)->vm_lock |