Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/i915/gem/i915_gem_context.c default_engines() -> free_engines()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
PARAM_VALUE 0 e->fence.error 0
PARAM_VALUE 0 e->fence.pending.counter 1
PARAM_VALUE 0 e->fence.wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 e->fence.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 e->fence.wait.head.prev->prev 4096-ptr_max
BUF_SIZE 0 e 360
BUF_SIZE 0 e 360
DATA_SOURCE 0 e r alloc_engines
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/i915/gem/i915_gem_context.c free_engines_rcu() -> free_engines()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
PARAM_VALUE 0 e->fence.flags 0-u32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 bh
HALF_LOCKED2 rcu

drivers/gpu/drm/i915/gem/i915_gem_context.c i915_gem_create_context() -> free_engines()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
PARAM_VALUE 0 e->fence.error 0
PARAM_VALUE 0 e->fence.pending.counter 1
PARAM_VALUE 0 e->fence.wait.head.next 4096-ptr_max
PARAM_VALUE 0 e->fence.wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 e->fence.wait.head.prev 4096-ptr_max
PARAM_VALUE 0 e->fence.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 e->fence.wait.head.prev->prev 4096-ptr_max
BUF_SIZE 0 e 144-s32max
BUF_SIZE 0 e 144-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &file_priv->proto_context_lock

drivers/gpu/drm/i915/gem/i915_gem_context.c user_engines() -> free_engines()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
PARAM_VALUE 0 e->fence.error 0
PARAM_VALUE 0 e->fence.pending.counter 1
PARAM_VALUE 0 e->fence.wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 e->fence.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 e->fence.wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 e->num_engines 0-s32max
BUF_SIZE 0 e 144-s32max
BUF_SIZE 0 e 144-s32max
DATA_SOURCE 0 e r alloc_engines
RX_PATH
NOCHECK_CALL
LOCK2 &file_priv->proto_context_lock
HALF_LOCKED2 &gt->perf.lock
TYPE_LOCK (struct drm_i915_file_private)->proto_context_lock