Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/accel/amdxdna/aie2_ctx.c, line 641
- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c, line 1597
- drivers/gpu/drm/drm_syncobj.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_fence_to_handle_ioctl() -> drm_syncobj_get_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 0 | file_private->driver_priv | 1-u64max |
| 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 | 2 | *handle | 0-u32max[u] |
| USER_PTR | 2 | handle |
drivers/gpu/drm/drm_syncobj.c drm_syncobj_create_as_handle() -> drm_syncobj_get_handle()
| 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 | syncobj | 4096-ptr_max |
| PARAM_VALUE | 1 | syncobj->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 2 | handle | 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 | 2 | handle | $1 |
| USER_DATA | 2 | *handle | 0-u32max[u] |
| USER_PTR | 2 | handle |
drivers/accel/amdxdna/aie2_ctx.c aie2_ctx_syncobj_create() -> drm_syncobj_get_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_private | 4096-ptr_max |
| PARAM_VALUE | 1 | syncobj | 4096-ptr_max |
| PARAM_VALUE | 1 | syncobj->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 2 | handle | 2532064095706517504 |
| LOCK2 | _T->lock | ||
| LOCK2 | global &drm_unplug_srcu |