Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/i915/i915_gem.c igt_gem_hibernate() -> switch_to_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->client | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->client->ctx_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->client->ctx_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->client->ctx_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->client_link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines->fence.error | 0 |
| PARAM_VALUE | 0 | ctx->engines->fence.pending.counter | 1 |
| PARAM_VALUE | 0 | ctx->engines->fence.wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines->fence.wait.head.prev | 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->file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->handles_vma.xa_flags | 3264 |
| PARAM_VALUE | 0 | ctx->handles_vma.xa_head | 0 |
| PARAM_VALUE | 0 | ctx->hang_timestamp | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->i915->gem.contexts.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->i915->gem.contexts.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->i915->gem.contexts.list.prev->next->next | 4096-ptr_max |
| 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->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->link.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->lut_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ctx->lut_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->lut_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ctx->lut_mutex.owner.counter | 0 |
| 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 |
| PARAM_VALUE | 0 | ctx->user_flags | 12,28 |
| PARAM_VALUE | 0 | *ctx->name | 0-255 |
| BUF_SIZE | 0 | ctx | 920 |
| BUF_SIZE | 0 | ctx->i915 | (-1),424,1216 |
| DATA_SOURCE | 0 | ctx | r live_context |
| BIT_INFO | 0 | ctx->user_flags | 0xc,0xffffffffffffffff |
drivers/gpu/drm/i915/i915_gem.c igt_gem_hibernate() -> switch_to_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->client | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->client->ctx_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->client->ctx_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->client->ctx_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->client_link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines->fence.error | 0 |
| PARAM_VALUE | 0 | ctx->engines->fence.pending.counter | 1 |
| PARAM_VALUE | 0 | ctx->engines->fence.wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines->fence.wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->handles_vma.xa_flags | 3264 |
| PARAM_VALUE | 0 | ctx->handles_vma.xa_head | 0 |
| PARAM_VALUE | 0 | ctx->hang_timestamp | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->i915->gem.contexts.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->i915->gem.contexts.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->i915->gem.contexts.list.prev->next->next | 4096-ptr_max |
| 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->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->link.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->lut_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ctx->lut_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->lut_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ctx->lut_mutex.owner.counter | 0 |
| 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 |
| PARAM_VALUE | 0 | ctx->user_flags | 12,28 |
| PARAM_VALUE | 0 | *ctx->name | 0-255 |
| BUF_SIZE | 0 | ctx | 920 |
| BUF_SIZE | 0 | ctx->i915 | (-1),424,1216 |
| CAPPED_DATA | 0 | ctx->engines | 1 |
| DATA_SOURCE | 0 | ctx | r live_context |
| BIT_INFO | 0 | ctx->user_flags | 0xc,0xffffffffffffffff |
drivers/gpu/drm/i915/i915_gem.c igt_gem_suspend() -> switch_to_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->client | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->client->ctx_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->client->ctx_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->client->ctx_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->client_link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines->fence.error | 0 |
| PARAM_VALUE | 0 | ctx->engines->fence.pending.counter | 1 |
| PARAM_VALUE | 0 | ctx->engines->fence.wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines->fence.wait.head.prev | 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->file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->handles_vma.xa_flags | 3264 |
| PARAM_VALUE | 0 | ctx->handles_vma.xa_head | 0 |
| PARAM_VALUE | 0 | ctx->hang_timestamp | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->i915->gem.contexts.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->i915->gem.contexts.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->i915->gem.contexts.list.prev->next->next | 4096-ptr_max |
| 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->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->link.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->lut_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ctx->lut_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->lut_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ctx->lut_mutex.owner.counter | 0 |
| 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 |
| PARAM_VALUE | 0 | ctx->user_flags | 12,28 |
| PARAM_VALUE | 0 | *ctx->name | 0-255 |
| BUF_SIZE | 0 | ctx | 920 |
| BUF_SIZE | 0 | ctx->i915 | (-1),424,1216 |
| DATA_SOURCE | 0 | ctx | r live_context |
| BIT_INFO | 0 | ctx->user_flags | 0xc,0xffffffffffffffff |
drivers/gpu/drm/i915/i915_gem.c igt_gem_suspend() -> switch_to_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->client | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->client->ctx_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->client->ctx_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->client->ctx_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->client_link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines->fence.error | 0 |
| PARAM_VALUE | 0 | ctx->engines->fence.pending.counter | 1 |
| PARAM_VALUE | 0 | ctx->engines->fence.wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines->fence.wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->handles_vma.xa_flags | 3264 |
| PARAM_VALUE | 0 | ctx->handles_vma.xa_head | 0 |
| PARAM_VALUE | 0 | ctx->hang_timestamp | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->i915->gem.contexts.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->i915->gem.contexts.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->i915->gem.contexts.list.prev->next->next | 4096-ptr_max |
| 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->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->link.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->lut_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ctx->lut_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->lut_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ctx->lut_mutex.owner.counter | 0 |
| 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 |
| PARAM_VALUE | 0 | ctx->user_flags | 12,28 |
| PARAM_VALUE | 0 | *ctx->name | 0-255 |
| BUF_SIZE | 0 | ctx | 920 |
| BUF_SIZE | 0 | ctx->i915 | (-1),424,1216 |
| CAPPED_DATA | 0 | ctx->engines | 1 |
| DATA_SOURCE | 0 | ctx | r live_context |
| BIT_INFO | 0 | ctx->user_flags | 0xc,0xffffffffffffffff |