Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/i915/gem/i915_gem_context.c finalize_create_context_locked() -> gem_context_register()

Type Parameter Key Value
PARAM_VALUE 0 ctx 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->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->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->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->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 1 fpriv 4096-ptr_max
PARAM_VALUE 1 fpriv->i915->runtime_pm.debug.list.next->next 4096-ptr_max
PARAM_VALUE 1 fpriv->i915->runtime_pm.debug.list.next->prev 4096-ptr_max
PARAM_VALUE 1 fpriv->i915->runtime_pm.kdev->power.request 0-4
PARAM_VALUE 1 fpriv->i915->runtime_pm.kdev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 1 fpriv->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 fpriv->proto_context_lock.dep_map->name 0-255
PARAM_VALUE 1 fpriv->proto_context_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 fpriv->proto_context_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 fpriv->proto_context_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 fpriv->proto_context_lock.wait_lock.owner (-1)
PARAM_VALUE 1 fpriv->proto_context_lock.wait_lock.owner_cpu u32max
BUF_SIZE 0 ctx 920
BUF_SIZE 1 fpriv 16,48,104,120,152,248,256,264,424,464,576,768,968,1120,1424,2256,4712,13184
BUF_SIZE 1 fpriv 16,48,104,120,152,248,256,264,424,464,576,768,968,1120,1424,2256,4712,13184
DATA_SOURCE 0 ctx r i915_gem_create_context
DATA_SOURCE 1 fpriv $0
DATA_SOURCE 2 id $2
NOCHECK_CALL
USER_DATA 2 id 0-u32max
LOCK2 1 &fpriv->proto_context_lock
HALF_LOCKED2 &gt->perf.lock
TYPE_LOCK (struct drm_i915_file_private)->proto_context_lock

drivers/gpu/drm/i915/gem/i915_gem_context.c i915_gem_context_create_ioctl() -> gem_context_register()

Type Parameter Key Value
PARAM_VALUE 0 ctx 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->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->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->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 1 fpriv 4096-ptr_max
PARAM_VALUE 1 fpriv->ban_score.counter s32min-8
PARAM_VALUE 1 fpriv->context_xa.xa_flags 4-u32max
PARAM_VALUE 1 fpriv->context_xa.xa_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 ctx 920
BUF_SIZE 1 fpriv 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184
BUF_SIZE 1 fpriv 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184
DATA_SOURCE 0 ctx r i915_gem_create_context
BIT_INFO 0 ctx->user_flags 0xc,0x1f
NOCHECK_CALL

drivers/gpu/drm/i915/gem/i915_gem_context.c i915_gem_context_open() -> gem_context_register()

Type Parameter Key Value
PARAM_VALUE 0 ctx 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->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->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->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 1 fpriv 4096-ptr_max
PARAM_VALUE 1 fpriv->context_xa.xa_flags 12
PARAM_VALUE 1 fpriv->context_xa.xa_head 0
PARAM_VALUE 1 fpriv->proto_context_lock.dep_map->name 0-255
PARAM_VALUE 1 fpriv->proto_context_lock.magic 4096-ptr_max
PARAM_VALUE 1 fpriv->proto_context_xa.xa_flags 33554436
PARAM_VALUE 1 fpriv->proto_context_xa.xa_head 0
PARAM_VALUE 1 fpriv->vm_xa.xa_flags 12
PARAM_VALUE 1 fpriv->vm_xa.xa_head 0
PARAM_VALUE 2 id 0
BUF_SIZE 0 ctx 920
BUF_SIZE 1 fpriv 464
DATA_SOURCE 0 ctx r i915_gem_create_context
CAPABLE 0 21
BIT_INFO 0 ctx->user_flags 0xc,0x1f
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/i915/gem/i915_gem_context.c live_context() -> gem_context_register()

Type Parameter Key Value
PARAM_VALUE 0 ctx 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->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->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->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 1 fpriv 4096-ptr_max
PARAM_VALUE 1 fpriv->context_xa.xa_flags 4-u32max
PARAM_VALUE 1 fpriv->context_xa.xa_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 ctx 920
BUF_SIZE 0 ctx->i915 (-1),424,1216
BUF_SIZE 1 fpriv 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184
BUF_SIZE 1 fpriv 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184
DATA_SOURCE 0 ctx r i915_gem_create_context
BIT_INFO 0 ctx->user_flags 0xc,0xffffffffffffffff
NOCHECK_CALL