Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 11 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c, line 474
- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c, line 75
- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
- drivers/gpu/drm/drm_syncobj.c
- drivers/gpu/drm/imagination/pvr_sync.c
- drivers/gpu/drm/nouveau/nouveau_sched.c, line 154
- drivers/gpu/drm/panthor/panthor_drv.c
- drivers/gpu/drm/scheduler/sched_main.c, line 718
- drivers/gpu/drm/tegra/submit.c, line 534
- drivers/gpu/drm/vc4/vc4_gem.c, line 1077
- drivers/gpu/drm/virtio/virtgpu_submit.c, line 131
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_syncobj_lookup_and_add() -> drm_syncobj_find_fence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 0-u32max |
| PARAM_VALUE | 4 | fence | 386092110999175168 |
| DATA_SOURCE | 1 | handle | $1 |
| DATA_SOURCE | 2 | point | $2 |
| DATA_SOURCE | 3 | flags | $3 |
drivers/gpu/drm/panthor/panthor_drv.c panthor_submit_ctx_add_sync_deps_to_job() -> drm_syncobj_find_fence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->minor | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | fence | 4873641372866785280 |
| LOCK2 | global &drm_unplug_srcu |
drivers/gpu/drm/panthor/panthor_drv.c panthor_submit_ctx_add_sync_signal() -> drm_syncobj_find_fence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | fence | 5223538464320512000 |
| DATA_SOURCE | 1 | handle | $1 |
| DATA_SOURCE | 2 | point | $2 |
| LOCK2 | global &drm_unplug_srcu |
drivers/gpu/drm/nouveau/nouveau_sched.c sync_find_fence() -> drm_syncobj_find_fence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | fence | 4310402325842923520 |
| DATA_SOURCE | 4 | fence | $2 |
| HALF_LOCKED2 | &file_priv->driver_priv->mutex |
drivers/gpu/drm/tegra/submit.c tegra_drm_ioctl_channel_submit() -> drm_syncobj_find_fence()
| 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 |
| PARAM_VALUE | 2 | point | 0 |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | fence | 7056006492315705344 |
| 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/virtio/virtgpu_submit.c virtio_gpu_parse_deps() -> drm_syncobj_find_fence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | fence | 2678074368529739776 |
| USER_DATA | 1 | handle | 0-u32max |
| USER_DATA | 2 | point | 0-u64max |
drivers/gpu/drm/drm_syncobj.c drm_syncobj_export_sync_file() -> drm_syncobj_find_fence()
| 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 | 3 | flags | 0 |
| PARAM_VALUE | 4 | fence | 8512759609993113600 |
| 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 |
| DATA_SOURCE | 2 | point | $2 |
| USER_DATA | 1 | handle | 0-u32max[u] |
| USER_DATA | 2 | point | 0-u64max[u] |
drivers/gpu/drm/drm_syncobj.c drm_syncobj_transfer_to_binary() -> drm_syncobj_find_fence()
| 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 | 4 | fence | 5942446599974379520 |
| 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] |
| USER_DATA | 2 | point | 0-u64max[u] |
| USER_DATA | 3 | flags | 0-u32max[u] |
drivers/gpu/drm/drm_syncobj.c drm_syncobj_transfer_to_timeline() -> drm_syncobj_find_fence()
| 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 | 4 | fence | 6926365872547971072 |
| 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] |
| USER_DATA | 2 | point | 0-u64max[u] |
| USER_DATA | 3 | flags | 0-u32max[u] |
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_gem_add_input_fence() -> drm_syncobj_find_fence()
| 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 |
| PARAM_VALUE | 2 | point | 0 |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | fence | 6553113805539454976 |
| 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 |
drivers/gpu/drm/vc4/vc4_gem.c vc4_submit_cl_ioctl() -> drm_syncobj_find_fence()
| 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 |
| PARAM_VALUE | 2 | point | 0 |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | fence | 8688604654435819520 |
| 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/scheduler/sched_main.c drm_sched_job_add_syncobj_dependency() -> drm_syncobj_find_fence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | fence | 8134679092680937472 |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_private | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_private | $1 |
| DATA_SOURCE | 1 | handle | $2 |
| DATA_SOURCE | 2 | point | $3 |
| USER_DATA | 1 | handle | 0-u32max |
| USER_DATA | 2 | point | 0-u32max |
| HALF_LOCKED2 | &queue->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c amdgpu_userq_wait_count_fences() -> drm_syncobj_find_fence()
| 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 | 3 | flags | 2 |
| PARAM_VALUE | 4 | fence | 6687973759790211072 |
| 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 |
| USER_DATA | 2 | point | 0-u64max |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c amdgpu_userq_wait_count_fences() -> drm_syncobj_find_fence()
| 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 | 2 | point | 0 |
| PARAM_VALUE | 3 | flags | 2 |
| PARAM_VALUE | 4 | fence | 6687973759790211072 |
| 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/amd/amdgpu/amdgpu_userq_fence.c amdgpu_userq_wait_return_fence_info() -> drm_syncobj_find_fence()
| 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 | 3 | flags | 2 |
| PARAM_VALUE | 4 | fence | 2444442916529885184 |
| 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 |
| USER_DATA | 2 | point | 0-u64max |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c amdgpu_userq_wait_return_fence_info() -> drm_syncobj_find_fence()
| 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 | 2 | point | 0 |
| PARAM_VALUE | 3 | flags | 2 |
| PARAM_VALUE | 4 | fence | 2444442916529885184 |
| 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 |