Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 19 files:

Smatch caller information:

drivers/gpu/drm/msm/msm_submitqueue.c __msm_context_destroy() -> drm_sched_entity_destroy()

Type Parameter Key Value
PARAM_VALUE 0 entity 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/msm/msm_submitqueue.c msm_submitqueue_destroy() -> drm_sched_entity_destroy()

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

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_buffer_entity_fini() -> drm_sched_entity_destroy()

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/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_buffer_entity_init() -> drm_sched_entity_destroy()

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
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 entity->num_sched_list

drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_fini_entities() -> drm_sched_entity_destroy()

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

drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_fini_entities() -> drm_sched_entity_destroy()

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

drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_init_entities() -> drm_sched_entity_destroy()

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

drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c amdgpu_ctx_fini_entity() -> drm_sched_entity_destroy()

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

drivers/gpu/drm/etnaviv/etnaviv_drv.c etnaviv_postclose() -> drm_sched_entity_destroy()

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

drivers/gpu/drm/panthor/panthor_sched.c group_free_queue() -> drm_sched_entity_destroy()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 0 entity->fence_context 1-u64max
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c amdgpu_vce_sw_fini() -> drm_sched_entity_destroy()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &component_mutex
HALF_LOCKED2 global &xenwatch_mutex

drivers/accel/ethosu/ethosu_job.c ethosu_job_close() -> drm_sched_entity_destroy()

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/amd/amdgpu/amdgpu_uvd.c amdgpu_uvd_sw_fini() -> drm_sched_entity_destroy()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &component_mutex
HALF_LOCKED2 global &xenwatch_mutex

drivers/accel/rocket/rocket_job.c rocket_job_close() -> drm_sched_entity_destroy()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
BUF_SIZE 0 entity 368
CAPPED_DATA 0 entity->sched_list 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/v3d/v3d_drv.c v3d_open() -> drm_sched_entity_destroy()

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

drivers/gpu/drm/v3d/v3d_drv.c v3d_postclose() -> drm_sched_entity_destroy()

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

drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_gfx_run_cleaner_shader_job() -> drm_sched_entity_destroy()

Type Parameter Key Value
PARAM_VALUE 0 entity 7824029060485750784
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
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
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/panfrost/panfrost_job.c panfrost_jm_ctx_release() -> drm_sched_entity_destroy()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ddev->filelist_mutex
HALF_LOCKED2 &m->lock

drivers/accel/amdxdna/aie2_ctx.c aie2_hwctx_fini() -> drm_sched_entity_destroy()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &xdna->client_lock
HALF_LOCKED2 &xdna->dev_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &drm_unplug_srcu

drivers/accel/amdxdna/aie2_ctx.c aie2_hwctx_init() -> drm_sched_entity_destroy()

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
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
LOCK2 _T->lock
LOCK2 global &drm_unplug_srcu

drivers/gpu/drm/lima/lima_sched.c lima_sched_context_fini() -> drm_sched_entity_destroy()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
NOCHECK_CALL

drivers/gpu/drm/scheduler/tests/mock_scheduler.c drm_mock_sched_entity_free() -> drm_sched_entity_destroy()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/panthor/panthor_mmu.c panthor_vm_free() -> drm_sched_entity_destroy()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &cli->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tlb_inval->seqno_lock