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() -> proto_context_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i915->runtime_pm.debug.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | i915->runtime_pm.debug.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | i915->runtime_pm.kdev->power.request | 0-4 |
| PARAM_VALUE | 0 | i915->runtime_pm.kdev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | pc | 1-1025,1027-1029,1031-u64max |
| PARAM_VALUE | 1 | pc->vm | 0,4096-ptr_max |
| CAPPED_DATA | 1 | pc->num_user_engines | 1 |
| DATA_SOURCE | 1 | pc | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &file_priv->proto_context_lock | ||
| HALF_LOCKED2 | >->perf.lock | ||
| TYPE_LOCK | (struct drm_i915_file_private)->proto_context_lock |
drivers/gpu/drm/i915/gem/i915_gem_context.c i915_gem_context_close() -> proto_context_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | pc | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/gem/i915_gem_context.c i915_gem_context_create_ioctl() -> proto_context_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | i915->runtime_pm.debug.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | i915->runtime_pm.debug.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | i915->runtime_pm.kdev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | pc | 4096-ptr_max |
| PARAM_VALUE | 1 | pc->fpriv | 4096-ptr_max |
| PARAM_VALUE | 1 | pc->num_user_engines | (-1) |
| PARAM_VALUE | 1 | pc->sched.priority | 0 |
| PARAM_VALUE | 1 | pc->user_engines | 0 |
| PARAM_VALUE | 1 | pc->user_flags | 12,28 |
| PARAM_VALUE | 1 | pc->vm | 0,4096-ptr_max |
| BUF_SIZE | 1 | pc | 56 |
| BUF_SIZE | 1 | pc->fpriv | 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184 |
| DATA_SOURCE | 0 | i915 | r to_i915 |
| DATA_SOURCE | 1 | pc | r proto_context_create |
| BIT_INFO | 1 | pc->user_flags | 0xc,0xffffffffffffffff |
| NOCHECK_CALL |
drivers/gpu/drm/i915/gem/i915_gem_context.c i915_gem_context_create_ioctl() -> proto_context_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | pc | 4096-ptr_max |
| PARAM_VALUE | 1 | pc->fpriv | 4096-ptr_max |
| PARAM_VALUE | 1 | pc->num_user_engines | (-1) |
| PARAM_VALUE | 1 | pc->sched.priority | 0 |
| PARAM_VALUE | 1 | pc->user_engines | 0 |
| PARAM_VALUE | 1 | pc->user_flags | 12,28 |
| BUF_SIZE | 1 | pc | 56 |
| BUF_SIZE | 1 | pc->fpriv | 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184 |
| DATA_SOURCE | 0 | i915 | r to_i915 |
| DATA_SOURCE | 1 | pc | r proto_context_create |
| BIT_INFO | 1 | pc->user_flags | 0xc,0xffffffffffffffff |
| NOCHECK_CALL |
drivers/gpu/drm/i915/gem/i915_gem_context.c i915_gem_context_destroy_ioctl() -> proto_context_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pc | 1-u64max |
| DATA_SOURCE | 1 | pc | r xa_erase |
| NOCHECK_CALL |
drivers/gpu/drm/i915/gem/i915_gem_context.c i915_gem_context_open() -> proto_context_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | pc | 4096-ptr_max |
| PARAM_VALUE | 1 | pc->fpriv | 4096-ptr_max |
| PARAM_VALUE | 1 | pc->num_user_engines | (-1) |
| PARAM_VALUE | 1 | pc->sched.priority | 0 |
| PARAM_VALUE | 1 | pc->user_engines | 0 |
| PARAM_VALUE | 1 | pc->user_flags | 12,28 |
| BUF_SIZE | 1 | pc | 56 |
| BUF_SIZE | 1 | pc->fpriv | 464 |
| DATA_SOURCE | 0 | i915 | $0 |
| DATA_SOURCE | 1 | pc | r proto_context_create |
| CAPABLE | 0 | 21 | |
| BIT_INFO | 1 | pc->user_flags | 0xc,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/gem/i915_gem_context.c kernel_context() -> proto_context_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | pc | 4096-ptr_max |
| PARAM_VALUE | 1 | pc->fpriv | 0 |
| PARAM_VALUE | 1 | pc->num_user_engines | (-1) |
| PARAM_VALUE | 1 | pc->sched.priority | 0 |
| PARAM_VALUE | 1 | pc->user_engines | 0 |
| PARAM_VALUE | 1 | pc->user_flags | 12,28 |
| BUF_SIZE | 0 | i915 | (-1),424,1216 |
| BUF_SIZE | 0 | i915 | (-1),424,1216 |
| BUF_SIZE | 1 | pc | 56 |
| DATA_SOURCE | 0 | i915 | $0 |
| DATA_SOURCE | 1 | pc | r proto_context_create |
| BIT_INFO | 1 | pc->user_flags | 0xc,0xffffffffffffffff |
| NOCHECK_CALL |
drivers/gpu/drm/i915/gem/i915_gem_context.c live_context() -> proto_context_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | i915->drm.primary | 4096-ptr_max |
| PARAM_VALUE | 0 | i915->drm.primary->dev->driver->fops->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | pc | 4096-ptr_max |
| PARAM_VALUE | 1 | pc->num_user_engines | (-1) |
| PARAM_VALUE | 1 | pc->sched.priority | 0 |
| PARAM_VALUE | 1 | pc->user_engines | 0 |
| PARAM_VALUE | 1 | pc->user_flags | 12,28 |
| BUF_SIZE | 0 | i915 | (-1),424,1216 |
| BUF_SIZE | 0 | i915 | (-1),424,1216 |
| BUF_SIZE | 1 | pc | 56 |
| BUF_SIZE | 1 | pc->fpriv | 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184 |
| DATA_SOURCE | 0 | i915 | $0 |
| DATA_SOURCE | 1 | pc | r proto_context_create |
| BIT_INFO | 1 | pc->user_flags | 0xc,0xffffffffffffffff |
| NOCHECK_CALL |
drivers/gpu/drm/i915/gem/i915_gem_context.c proto_context_create() -> proto_context_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | i915->__info | 4096-ptr_max |
| PARAM_VALUE | 0 | i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | pc | 4096-ptr_max |
| PARAM_VALUE | 1 | pc->num_user_engines | (-1) |
| PARAM_VALUE | 1 | pc->sched.priority | 0 |
| PARAM_VALUE | 1 | pc->user_engines | 0 |
| PARAM_VALUE | 1 | pc->user_flags | 12,28 |
| BUF_SIZE | 0 | i915 | (-1),424,1216 |
| BUF_SIZE | 0 | i915 | (-1),424,1216 |
| BUF_SIZE | 1 | pc | 56 |
| BUF_SIZE | 1 | pc->fpriv | (-1),16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184 |
| DATA_SOURCE | 0 | i915 | $1 |
| DATA_SOURCE | 1 | pc | r _kzalloc_noprof |
| FUZZY_MAX | 1 | pc->user_flags | 12 |
| BIT_INFO | 1 | pc->user_flags | 0xc,0x1c |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | i915->uncore.fifo_count | 0-127,u32max |