Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c amdgpu_ctx_init_entity() -> drm_sched_entity_fini()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 0 entity->cb.func 0
PARAM_VALUE 0 entity->cb.node.next 0
PARAM_VALUE 0 entity->cb.node.prev 0
PARAM_VALUE 0 entity->dependency 0
PARAM_VALUE 0 entity->entity_idle.done u32max
PARAM_VALUE 0 entity->entity_idle.wait.lock.owner (-1)
PARAM_VALUE 0 entity->entity_idle.wait.lock.owner_cpu u32max
PARAM_VALUE 0 entity->entity_idle.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 entity->entity_idle.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 entity->guilty 0
PARAM_VALUE 0 entity->job_queue.head 0
PARAM_VALUE 0 entity->job_queue.job_count.counter 0
PARAM_VALUE 0 entity->job_queue.tail.counter s64min-(-4096),4096-s64max
PARAM_VALUE 0 entity->last_scheduled 0
PARAM_VALUE 0 entity->list.next 4096-ptr_max
PARAM_VALUE 0 entity->list.prev 4096-ptr_max
PARAM_VALUE 0 entity->num_sched_list 1-u32max
PARAM_VALUE 0 entity->rb_tree_node.__rb_parent_color 0
PARAM_VALUE 0 entity->rb_tree_node.rb_left 0
PARAM_VALUE 0 entity->rb_tree_node.rb_right 0
PARAM_VALUE 0 entity->rq 4096-ptr_max
PARAM_VALUE 0 entity->stats 4096-ptr_max
PARAM_VALUE 0 entity->stopped 0
MEM_ZERO 0 entity
NOCHECK_CALL

drivers/gpu/drm/xe/xe_guc_submit.c guc_exec_queue_fini() -> drm_sched_entity_fini()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/scheduler/sched_entity.c drm_sched_entity_destroy() -> drm_sched_entity_fini()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 0 entity->entity_idle.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 entity->entity_idle.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 entity->entity_idle.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 entity->last_scheduled->cb_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 entity->list.next->prev 4096-ptr_max
PARAM_VALUE 0 entity->list.prev->next 4096-ptr_max
PARAM_VALUE 0 entity->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 entity->rq->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 entity->rq->rb_tree_root.rb_leftmost 0,4096-ptr_max
PARAM_VALUE 0 entity->rq->rb_tree_root.rb_root.rb_node 4096-ptr_max
BUF_SIZE 0 entity (-1),352
BUF_SIZE 0 entity (-1),352
DATA_SOURCE 0 entity $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 entity->num_sched_list
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &drm_unplug_srcu

drivers/gpu/drm/nouveau/nouveau_sched.c nouveau_sched_fini() -> drm_sched_entity_fini()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
BUF_SIZE 0 entity 368
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/xe/xe_execlist.c execlist_exec_queue_fini() -> drm_sched_entity_fini()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 entity->num_sched_list

drivers/gpu/drm/xe/xe_dep_scheduler.c xe_dep_scheduler_fini() -> drm_sched_entity_fini()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL