Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/gpu/drm/vmwgfx/vmwgfx_context.c, line 567
- drivers/gpu/drm/vmwgfx/vmwgfx_validation.c, line 310
Smatch caller information:
drivers/gpu/drm/vmwgfx/vmwgfx_validation.c vmw_validation_add_resource() -> vmw_resource_reference_unless_doomed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | res | (-1),152 |
| BUF_SIZE | 0 | res | (-1),152 |
| DATA_SOURCE | 0 | res | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/vmwgfx/vmwgfx_context.c vmw_dx_context_scrub_cotables() -> vmw_resource_reference_unless_doomed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 1-u64max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev_priv->binding_mutex | ||
| LOCK2 | &uctx->cotable_lock | ||
| HALF_LOCKED2 | bo->base.resv | ||
| TYPE_LOCK | (struct vmw_private)->binding_mutex | ||
| TYPE_LOCK | (struct vmw_user_context)->cotable_lock |