Documented in 1 files:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/dma-buf/dma-resv.c, line 795
- drivers/gpu/drm/drm_exec.c, line 175
- drivers/gpu/drm/drm_mode_config.c, line 677
- drivers/gpu/drm/i915/i915_gem_ww.c, line 53
- include/drm/ttm/ttm_bo.h, line 338
Smatch caller information:
drivers/gpu/drm/ttm/ttm_execbuf_util.c ttm_bo_reserve_slowpath() -> dma_resv_lock_slow()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->lock.base.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->lock.ctx | 0 |
| PARAM_VALUE | 1 | ctx | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ctx->contending_lock | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->deadlock_inject_countdown | 0-3758096380,u32max |
| PARAM_VALUE | 1 | ctx->deadlock_inject_interval | 0-3758096380,u32max |
| PARAM_VALUE | 1 | ctx->dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ctx->first_lock_dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ctx->wounded | 0-1 |
| PARAM_VALUE | 1 | ctx->ww_class->acquire_name | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ctx->ww_class->is_wait_die | 0-s32max |
| PARAM_VALUE | 1 | ctx->ww_class->mutex_name | 0,4096-ptr_max |
| DATA_SOURCE | 1 | ctx | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev_priv->cmdbuf_mutex |
drivers/gpu/drm/nouveau/nouveau_gem.c ttm_bo_reserve_slowpath() -> dma_resv_lock_slow()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ctx | 3618475209504833552 |
| PARAM_VALUE | 1 | ctx->contending_lock | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->deadlock_inject_countdown | 0-3758096380,u32max |
| PARAM_VALUE | 1 | ctx->deadlock_inject_interval | 0-3758096380,u32max |
| PARAM_VALUE | 1 | ctx->wounded | 0-1 |
| DATA_SOURCE | 1 | ctx | $2 |
| NOCHECK_CALL | |||
| LOCK2 | &file_priv->driver_priv->mutex |
drivers/gpu/drm/i915/i915_gem_ww.c i915_gem_ww_ctx_backoff() -> dma_resv_lock_slow()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->deadlock_inject_countdown | 0-3758096380,u32max |
| PARAM_VALUE | 1 | ctx->deadlock_inject_interval | 0-3758096380,u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->clientlist_mutex | ||
| HALF_LOCKED2 | &helper->lock | ||
| HALF_LOCKED2 | &pxp->tee_mutex | ||
| HALF_LOCKED2 | &vgpu->vgpu_lock |
drivers/gpu/drm/drm_exec.c drm_exec_lock_contended() -> dma_resv_lock_slow()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &gpu->lock | ||
| HALF_LOCKED2 | &mem->lock | ||
| HALF_LOCKED2 | &mem->process_info->lock | ||
| HALF_LOCKED2 | &p->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &queue->lock | ||
| HALF_LOCKED2 | &vm->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/dma-buf/dma-resv.c dma_resv_lockdep() -> dma_resv_lock_slow()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 8500983754300416000 |
| PARAM_VALUE | 0 | obj->fences | 0 |
| PARAM_VALUE | 0 | obj->lock.base.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->lock.ctx | 0 |
| PARAM_VALUE | 0 | obj->lock.ww_class | 8825623990767841280 |
| PARAM_VALUE | 1 | ctx | 1271164601974165504 |
| PARAM_VALUE | 1 | ctx->contending_lock | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->wounded | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
drivers/gpu/drm/drm_mode_config.c drmm_mode_config_init() -> dma_resv_lock_slow()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 1386761667904524288 |
| PARAM_VALUE | 0 | obj->fences | 0 |
| PARAM_VALUE | 0 | obj->lock.base.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->lock.ctx | 0 |
| PARAM_VALUE | 0 | obj->lock.ww_class | 8825623990767841280 |
| PARAM_VALUE | 1 | ctx | 5576857051533688832 |
| PARAM_VALUE | 1 | ctx->contending_lock | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->wounded | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | global &component_mutex | ||
| HALF_LOCKED2 | global &xenwatch_mutex |