Defined in 1 files as a function:
Referenced in 2 files:
- drivers/gpu/drm/i915/gem/i915_gem_context.c, line 1660
- drivers/gpu/drm/i915/gem/selftests/mock_context.c, line 49
Smatch caller information:
drivers/gpu/drm/i915/gem/i915_gem_context.c i915_gem_create_context() -> default_engines()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ctx->engines_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ctx->engines_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ctx->link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->link.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->link.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->link.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->link.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ctx->mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ctx->mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ctx->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | ctx->stale.engines.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->stale.engines.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->stale.engines.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->stale.engines.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->stale.engines.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | 920 |
| BUF_SIZE | 0 | ctx->i915 | (-1),424,1216 |
| BUF_SIZE | 0 | ctx->vm | (-1),1208 |
| DATA_SOURCE | 0 | ctx | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ctx->i915->uncore.fifo_count | 0-127,u32max |
| HALF_LOCKED2 | &file_priv->proto_context_lock |
drivers/gpu/drm/i915/gem/i915_gem_context.c mock_context() -> default_engines()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ctx->engines_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ctx->engines_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ctx->link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->link.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->link.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->link.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->link.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ctx->mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ctx->mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ctx->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | ctx->stale.engines.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->stale.engines.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->stale.engines.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->stale.engines.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->stale.engines.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | 920 |
| BUF_SIZE | 0 | ctx->i915 | (-1),424,1216 |
| BUF_SIZE | 0 | ctx->vm | (-1),1208 |
| DATA_SOURCE | 0 | ctx | r _kzalloc_noprof |
| STR_LEN | 0 | ctx->i915 | 1,4 |
| STR_LEN | 0 | ctx->vm->i915 | (-1),1,4 |