Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/accel/rocket/rocket_job.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
- drivers/gpu/drm/drm_gem.c, line 868
- drivers/gpu/drm/panfrost/panfrost_drv.c, line 205
- drivers/gpu/drm/v3d/v3d_submit.c, line 100
- drivers/gpu/drm/vc4/vc4_gem.c, line 698
Smatch caller information:
drivers/gpu/drm/panfrost/panfrost_drv.c panfrost_lookup_bos() -> drm_gem_objects_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 2 | count | s32min-(-1),1-s32max |
| PARAM_VALUE | 3 | objs_out | 4096-ptr_max |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | filp | $1 |
| USER_DATA | 2 | count | s32min-(-1),1-s32max[u] |
| UNITS | 2 | count | unit_array_size |
drivers/accel/rocket/rocket_job.c rocket_ioctl_submit_job() -> drm_gem_objects_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 3 | objs_out | 4096-ptr_max |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | filp | $1 |
drivers/accel/rocket/rocket_job.c rocket_ioctl_submit_job() -> drm_gem_objects_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 3 | objs_out | 4096-ptr_max |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | filp | $1 |
drivers/gpu/drm/v3d/v3d_submit.c v3d_lookup_bos() -> drm_gem_objects_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 2 | count | s32min-(-1),1-s32max |
| PARAM_VALUE | 3 | objs_out | 4096-ptr_max |
| BUF_SIZE | 0 | filp | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | filp | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | filp | $0 |
| DATA_SOURCE | 1 | bo_handles | $2 |
| DATA_SOURCE | 2 | count | $3 |
| USER_DATA | 2 | count | s32min-(-1),1-s32max[u] |
| UNITS | 2 | count | unit_array_size |
drivers/gpu/drm/vc4/vc4_gem.c vc4_cl_lookup_bos() -> drm_gem_objects_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 2 | count | s32min-(-1),1-s32max |
| PARAM_VALUE | 3 | objs_out | 4096-ptr_max |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | filp | $1 |
| USER_DATA | 2 | count | s32min-(-1),1-s32max[u] |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c amdgpu_userq_signal_ioctl() -> drm_gem_objects_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 0-65536 |
| PARAM_VALUE | 3 | objs_out | 8322219689452404736 |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | filp | $2 |
| USER_DATA | 2 | count | 0-65536[u] |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c amdgpu_userq_signal_ioctl() -> drm_gem_objects_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 0-65536 |
| PARAM_VALUE | 3 | objs_out | 1636806835860123648 |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | filp | $2 |
| USER_DATA | 2 | count | 0-65536[u] |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c amdgpu_userq_wait_ioctl() -> drm_gem_objects_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 0-65536 |
| PARAM_VALUE | 3 | objs_out | 7052115914128801792 |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | filp | $2 |
| FUZZY_MAX | 2 | count | 65536 |
| USER_DATA | 2 | count | 0-65536[u] |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c amdgpu_userq_wait_ioctl() -> drm_gem_objects_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 0-65536 |
| PARAM_VALUE | 3 | objs_out | 8332978586421817344 |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | filp | $2 |
| FUZZY_MAX | 2 | count | 65536 |
| USER_DATA | 2 | count | 0-65536[u] |