Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 16 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c, line 101
- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c, line 493
- drivers/gpu/drm/drm_syncobj.c
- drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
- drivers/gpu/drm/imagination/pvr_sync.c, line 82
- drivers/gpu/drm/lima/lima_gem.c, line 308
- drivers/gpu/drm/msm/msm_syncobj.c
- drivers/gpu/drm/nouveau/nouveau_sched.c, line 222
- drivers/gpu/drm/panfrost/panfrost_drv.c, line 309
- drivers/gpu/drm/panthor/panthor_drv.c, line 404
- drivers/gpu/drm/tegra/submit.c, line 549
- drivers/gpu/drm/v3d/v3d_submit.c
- drivers/gpu/drm/vc4/vc4_gem.c, line 1117
- drivers/gpu/drm/virtio/virtgpu_submit.c
- drivers/gpu/drm/xe/xe_sync.c
Smatch caller information:
drivers/gpu/drm/lima/lima_gem.c lima_gem_submit() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_private->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | handle | 1-u32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_private | $0 |
| USER_DATA | 1 | handle | 1-u32max[u] |
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_p2_syncobj_out() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_p2_syncobj_timeline_signal() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c add_fence_array() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| USER_DATA | 1 | handle | 0-u32max |
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c add_timeline_fence_array() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| USER_DATA | 1 | handle | 0-u32max |
drivers/gpu/drm/msm/msm_syncobj.c msm_syncobj_parse_deps() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->master_lookup_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_private | $2 |
| USER_DATA | 1 | handle | 0-u32max |
| LOCK2 | &queue->lock | ||
| TYPE_LOCK | (struct msm_gpu_submitqueue)->lock |
drivers/gpu/drm/msm/msm_syncobj.c msm_syncobj_parse_post_deps() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->master_lookup_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_private | $1 |
| USER_DATA | 1 | handle | 0-u32max |
| LOCK2 | &queue->lock | ||
| TYPE_LOCK | (struct msm_gpu_submitqueue)->lock |
drivers/gpu/drm/panfrost/panfrost_drv.c panfrost_ioctl_submit() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_private->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | handle | 1-u32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_private | $2 |
| FUZZY_MAX | 1 | handle | 1 |
| USER_DATA | 1 | handle | 1-u32max[u] |
drivers/gpu/drm/panthor/panthor_drv.c panthor_submit_ctx_add_sync_signal() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| DATA_SOURCE | 1 | handle | $1 |
| LOCK2 | global &drm_unplug_srcu |
drivers/gpu/drm/nouveau/nouveau_sched.c nouveau_job_fence_attach_prepare() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &file_priv->driver_priv->mutex |
drivers/gpu/drm/tegra/submit.c tegra_drm_ioctl_channel_submit() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_private->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | handle | 1-u32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_private | $2 |
| USER_DATA | 1 | handle | 1-u32max[u] |
| LOCK2 | &fpriv->lock | ||
| TYPE_LOCK | (struct tegra_drm_file)->lock |
drivers/gpu/drm/xe/xe_sync.c xe_sync_entry_parse() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| USER_DATA | 1 | handle | 0-u32max |
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/xe/xe_sync.c xe_sync_entry_parse() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| USER_DATA | 1 | handle | 0-u32max |
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/v3d/v3d_submit.c v3d_copy_query_info() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_private->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_private | $5 |
| USER_DATA | 1 | handle | 0-u32max |
drivers/gpu/drm/v3d/v3d_submit.c v3d_get_cpu_copy_query_results_params() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->master->lessor | 0 |
| PARAM_VALUE | 0 | file_private->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_private->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_private | $0 |
| USER_DATA | 1 | handle | 0-u32max |
drivers/gpu/drm/v3d/v3d_submit.c v3d_get_cpu_reset_timestamp_params() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->master->lessor | 0 |
| PARAM_VALUE | 0 | file_private->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_private->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_private | $0 |
| USER_DATA | 1 | handle | 0-u32max |
drivers/gpu/drm/v3d/v3d_submit.c v3d_get_cpu_timestamp_query_params() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->master->lessor | 0 |
| PARAM_VALUE | 0 | file_private->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_private->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_private | $0 |
| USER_DATA | 1 | handle | 0-u32max |
drivers/gpu/drm/v3d/v3d_submit.c v3d_get_multisync_post_deps() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_private->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_private | $0 |
| USER_DATA | 1 | handle | 0-u32max |
drivers/gpu/drm/v3d/v3d_submit.c v3d_submit_cl_ioctl() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_private->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | handle | 1-u32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_private | $2 |
| USER_DATA | 1 | handle | 1-u32max[u] |
drivers/gpu/drm/v3d/v3d_submit.c v3d_submit_csd_ioctl() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_private->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | handle | 1-u32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_private | $2 |
| USER_DATA | 1 | handle | 1-u32max[u] |
drivers/gpu/drm/v3d/v3d_submit.c v3d_submit_tfu_ioctl() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_private->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | handle | 1-u32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_private | $2 |
| USER_DATA | 1 | handle | 1-u32max[u] |
drivers/gpu/drm/virtio/virtgpu_submit.c virtio_gpu_parse_deps() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| USER_DATA | 1 | handle | 0-u32max |
drivers/gpu/drm/virtio/virtgpu_submit.c virtio_gpu_parse_post_deps() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| USER_DATA | 1 | handle | 0-u32max |
drivers/gpu/drm/drm_syncobj.c drm_syncobj_array_find() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_private->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_private | $0 |
| USER_DATA | 1 | handle | 0-u32max |
drivers/gpu/drm/drm_syncobj.c drm_syncobj_eventfd_ioctl() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_private->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_private | $2 |
| USER_DATA | 1 | handle | 0-u32max[u] |
drivers/gpu/drm/drm_syncobj.c drm_syncobj_find_fence() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | file_private | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | file_private | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | file_private | $0 |
| DATA_SOURCE | 1 | handle | $1 |
| USER_DATA | 1 | handle | 0-u32max |
| HALF_LOCKED2 | &fpriv->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/drm_syncobj.c drm_syncobj_handle_to_fd() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_private->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_private | $0 |
| DATA_SOURCE | 1 | handle | $1 |
| USER_DATA | 1 | handle | 0-u32max[u] |
drivers/gpu/drm/drm_syncobj.c drm_syncobj_import_sync_file_fence() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_private->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_private | $0 |
| DATA_SOURCE | 1 | handle | $2 |
| USER_DATA | 1 | handle | 0-u32max[u] |
drivers/gpu/drm/drm_syncobj.c drm_syncobj_transfer_to_binary() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_private->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_private | $0 |
| USER_DATA | 1 | handle | 0-u32max[u] |
drivers/gpu/drm/drm_syncobj.c drm_syncobj_transfer_to_timeline() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_private->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_private | $0 |
| USER_DATA | 1 | handle | 0-u32max[u] |
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_gem_update_timeline_node() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_private->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | handle | 1-u32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_private | $0 |
| DATA_SOURCE | 1 | handle | $1 |
| USER_DATA | 1 | handle | 1-u32max[u] |
| HALF_LOCKED2 | gobj->resv |
drivers/gpu/drm/vc4/vc4_gem.c vc4_submit_cl_ioctl() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_private->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | handle | 1-u32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_private | $2 |
| USER_DATA | 1 | handle | 1-u32max[u] |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c amdgpu_userq_signal_ioctl() -> drm_syncobj_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_private->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_private | $2 |
| USER_DATA | 1 | handle | 0-u32max |