Defined in 1 files as a function:
Referenced in 8 files:
- drivers/gpu/drm/i915/gem/i915_gem_domain.c
- drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c, line 905
- drivers/gpu/drm/i915/gem/i915_gem_mman.c
- drivers/gpu/drm/i915/gem/i915_gem_tiling.c, line 354
- drivers/gpu/drm/i915/gem/i915_gem_wait.c, line 243
- drivers/gpu/drm/i915/i915_bo.c, line 132
- drivers/gpu/drm/i915/i915_gem.c
- drivers/gpu/drm/i915/i915_overlay.c, line 403
Smatch caller information:
drivers/gpu/drm/i915/i915_overlay.c i915_overlay_obj_lookup() -> i915_gem_object_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->master->lessor | 0 |
| PARAM_VALUE | 0 | file->master->refcount.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | file->master_lookup_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file | $1 |
| DATA_SOURCE | 1 | handle | $2 |
| USER_DATA | 1 | handle | 0-u32max[u] |
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c eb_lookup_vma() -> i915_gem_object_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| DATA_SOURCE | 1 | handle | $1 |
drivers/gpu/drm/i915/gem/i915_gem_tiling.c i915_gem_set_tiling_ioctl() -> i915_gem_object_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file | $2 |
| USER_DATA | 1 | handle | 0-u32max[u] |
drivers/gpu/drm/i915/gem/i915_gem_domain.c i915_gem_set_caching_ioctl() -> i915_gem_object_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file | $2 |
| USER_DATA | 1 | handle | 0-u32max[u] |
drivers/gpu/drm/i915/gem/i915_gem_domain.c i915_gem_set_domain_ioctl() -> i915_gem_object_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file | $2 |
| USER_DATA | 1 | handle | 0-u32max[u] |
drivers/gpu/drm/i915/i915_gem.c i915_gem_madvise_ioctl() -> i915_gem_object_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file | $2 |
| USER_DATA | 1 | handle | 0-u32max[u] |
drivers/gpu/drm/i915/i915_gem.c i915_gem_pread_ioctl() -> i915_gem_object_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file | $2 |
| USER_DATA | 1 | handle | 0-u32max[u] |
drivers/gpu/drm/i915/i915_gem.c i915_gem_pwrite_ioctl() -> i915_gem_object_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file | $2 |
| USER_DATA | 1 | handle | 0-u32max[u] |
drivers/gpu/drm/i915/i915_gem.c i915_gem_sw_finish_ioctl() -> i915_gem_object_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file | $2 |
| USER_DATA | 1 | handle | 0-u32max[u] |
drivers/gpu/drm/i915/gem/i915_gem_mman.c __assign_mmap_offset_handle() -> i915_gem_object_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->master_lookup_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file | $0 |
| DATA_SOURCE | 1 | handle | $1 |
| USER_DATA | 1 | handle | 0-u32max[u] |
drivers/gpu/drm/i915/gem/i915_gem_mman.c i915_gem_mmap_ioctl() -> i915_gem_object_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file | $2 |
| USER_DATA | 1 | handle | 0-u32max[u] |
drivers/gpu/drm/i915/i915_bo.c i915_bo_framebuffer_lookup() -> i915_gem_object_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 0,4096-ptr_max |
| BUF_SIZE | 0 | file | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | file | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | handle | 0-u32max |
| HALF_LOCKED2 | &crtc->cursor->mutex | ||
| HALF_LOCKED2 | &crtc->mutex |
drivers/gpu/drm/i915/gem/i915_gem_wait.c i915_gem_wait_ioctl() -> i915_gem_object_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file | $2 |
| USER_DATA | 1 | handle | 0-u32max[u] |