Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/drm_gem.c drm_gem_change_handle_ioctl() -> drm_prime_remove_buf_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | prime_fpriv | 4096-ptr_max |
| PARAM_VALUE | 0 | prime_fpriv->dmabufs.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | prime_fpriv->handles.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | prime_fpriv->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | prime_fpriv->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | prime_fpriv->lock.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 1 | handle | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &file_priv->prime.lock | ||
| TYPE_LOCK | (struct drm_prime_file_private)->lock |
drivers/gpu/drm/drm_gem.c drm_gem_object_release_handle() -> drm_prime_remove_buf_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | prime_fpriv | 4096-ptr_max |
| PARAM_VALUE | 0 | prime_fpriv->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | prime_fpriv->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | prime_fpriv->lock.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 1 | handle | 1 |
| DATA_SOURCE | 1 | handle | $0 |
| NOSPEC | 1 | handle | |
| NOSPEC | 1 | handle | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | handle | 0-s32max[c] |
| LOCK2 | &file_priv->prime.lock | ||
| HALF_LOCKED2 | &dev->object_name_lock | ||
| TYPE_LOCK | (struct drm_prime_file_private)->lock |