Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 23 files:

Smatch caller information:

drivers/gpu/drm/msm/msm_submitqueue.c get_sched_entity() -> drm_sched_entity_init()

Type Parameter Key Value
PARAM_VALUE 0 entity 0,4096-ptr_max
PARAM_VALUE 1 priority 0-2
PARAM_VALUE 2 sched_list 1366396559866458112
PARAM_VALUE 2 *sched_list 4096-ptr_max
PARAM_VALUE 3 num_sched_list 1
PARAM_VALUE 4 guilty 0
BUF_SIZE 0 entity 368
DATA_SOURCE 0 entity r _kzalloc_noprof
DATA_SOURCE 1 priority $3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 priority 1-2[c]
LOCK2 &entity_lock

drivers/gpu/drm/msm/msm_submitqueue.c msm_submitqueue_create() -> drm_sched_entity_init()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 1 priority 0
PARAM_VALUE 2 sched_list 95571046565625856
PARAM_VALUE 2 *sched_list 4096-ptr_max
PARAM_VALUE 3 num_sched_list 1
PARAM_VALUE 4 guilty 0
BUF_SIZE 0 entity 368
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_buffer_entity_init() -> drm_sched_entity_init()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 1 priority 0
PARAM_VALUE 3 num_sched_list 1-u32max
PARAM_VALUE 4 guilty 0
BUF_SIZE 2 sched_list 1192
BUF_SIZE 2 sched_list 1192
DATA_SOURCE 1 priority $2
DATA_SOURCE 2 sched_list $3
DATA_SOURCE 3 num_sched_list $4
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 entity->num_sched_list

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

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 1 priority 2
PARAM_VALUE 4 guilty 0
BUF_SIZE 2 sched_list 1192
RX_PATH
TASK_NOT_RUNNING
UNITS 3 num_sched_list unit_array_size

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

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 1 priority 2
PARAM_VALUE 2 sched_list 4096-ptr_max
PARAM_VALUE 3 num_sched_list 1-u32max
PARAM_VALUE 4 guilty 0
BUF_SIZE 2 sched_list 1192
RX_PATH
TASK_NOT_RUNNING
UNITS 3 num_sched_list unit_array_size

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

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 1 priority 1-3
PARAM_VALUE 3 num_sched_list 1-u32max
PARAM_VALUE 4 guilty 0
BUF_SIZE 2 sched_list (-1),8,512
BUF_SIZE 2 sched_list (-1),8,512
CAPPED_DATA 3 num_sched_list 1
DATA_SOURCE 1 priority r amdgpu_ctx_to_drm_sched_prio
FUZZY_MAX 3 num_sched_list 1

drivers/gpu/drm/etnaviv/etnaviv_drv.c etnaviv_open() -> drm_sched_entity_init()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 1 priority 2
PARAM_VALUE 2 sched_list 8972047998487461888
PARAM_VALUE 2 *sched_list 4096-ptr_max
PARAM_VALUE 3 num_sched_list 1
PARAM_VALUE 4 guilty 0
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/panthor/panthor_sched.c group_create_queue() -> drm_sched_entity_init()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 1 priority 0
PARAM_VALUE 2 sched_list 9170293105583923200
PARAM_VALUE 2 *sched_list 4096-ptr_max
PARAM_VALUE 3 num_sched_list 1
PARAM_VALUE 4 guilty 0

drivers/gpu/drm/xe/xe_guc_submit.c xe_sched_entity_init() -> drm_sched_entity_init()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 1 priority 0
PARAM_VALUE 2 *sched_list 4096-ptr_max
PARAM_VALUE 3 num_sched_list 1
PARAM_VALUE 4 guilty 0
DATA_SOURCE 0 entity $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &param.hwe->gt->oa.gt_lock
HALF_LOCKED2 &vm->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c amdgpu_vce_entity_init() -> drm_sched_entity_init()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 1 priority 2
PARAM_VALUE 2 sched_list 2478216305393238016
PARAM_VALUE 2 *sched_list 4096-ptr_max
PARAM_VALUE 3 num_sched_list 1
PARAM_VALUE 4 guilty 0

drivers/accel/ethosu/ethosu_job.c ethosu_job_open() -> drm_sched_entity_init()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 1 priority 2
PARAM_VALUE 2 sched_list 5120105200266698752
PARAM_VALUE 2 *sched_list 4096-ptr_max
PARAM_VALUE 3 num_sched_list 1
PARAM_VALUE 4 guilty 0
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c amdgpu_uvd_entity_init() -> drm_sched_entity_init()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 1 priority 2
PARAM_VALUE 2 sched_list 2668012233215823872
PARAM_VALUE 2 *sched_list 4096-ptr_max
PARAM_VALUE 3 num_sched_list 1
PARAM_VALUE 4 guilty 0

drivers/accel/rocket/rocket_job.c rocket_job_open() -> drm_sched_entity_init()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 1 priority 2
PARAM_VALUE 2 sched_list 0,16,4096-ptr_max
PARAM_VALUE 4 guilty 0
BUF_SIZE 2 sched_list 0-34359738360
BUF_SIZE 2 sched_list 0-34359738360
CAPPED_DATA 3 num_sched_list 1
DATA_SOURCE 2 sched_list r _kmalloc_noprof
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 3 num_sched_list
UNITS 3 num_sched_list unit_array_size

drivers/gpu/drm/nouveau/nouveau_sched.c nouveau_sched_init() -> drm_sched_entity_init()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 1 priority 0
PARAM_VALUE 2 sched_list 5137901494246416384
PARAM_VALUE 2 *sched_list 4096-ptr_max
PARAM_VALUE 3 num_sched_list 1
PARAM_VALUE 4 guilty 0
BUF_SIZE 0 entity 368
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &file_priv->driver_priv->mutex

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

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 1 priority 2
PARAM_VALUE 2 sched_list 6573733541757005824
PARAM_VALUE 3 num_sched_list 1
PARAM_VALUE 4 guilty 0
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_execlist.c execlist_exec_queue_init() -> drm_sched_entity_init()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 1 priority 0
PARAM_VALUE 2 sched_list 8726272980634931200
PARAM_VALUE 2 *sched_list 4096-ptr_max
PARAM_VALUE 3 num_sched_list 1
PARAM_VALUE 4 guilty 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &param.hwe->gt->oa.gt_lock
HALF_LOCKED2 &vm->lock

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

Type Parameter Key Value
PARAM_VALUE 0 entity 7824029060485750784
PARAM_VALUE 1 priority 2
PARAM_VALUE 2 sched_list 8714665078009348096
PARAM_VALUE 2 *sched_list 4096-ptr_max
PARAM_VALUE 3 num_sched_list 1
PARAM_VALUE 4 guilty 0
RX_PATH
TASK_NOT_RUNNING
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_create() -> drm_sched_entity_init()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 1 priority 1-3
PARAM_VALUE 2 sched_list 3648176685105930240
PARAM_VALUE 3 num_sched_list 1
PARAM_VALUE 4 guilty 0
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 1 priority 2
PARAM_VALUE 2 sched_list 411637566959505408
PARAM_VALUE 2 *sched_list 4096-ptr_max
PARAM_VALUE 3 num_sched_list 1
PARAM_VALUE 4 guilty 0
LOCK2 _T->lock
LOCK2 global &drm_unplug_srcu

drivers/gpu/drm/lima/lima_sched.c lima_sched_context_init() -> drm_sched_entity_init()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 1 priority 2
PARAM_VALUE 2 sched_list 3236695456976478208
PARAM_VALUE 2 *sched_list 4096-ptr_max
PARAM_VALUE 3 num_sched_list 1
PARAM_VALUE 4 guilty 0

drivers/gpu/drm/xe/xe_dep_scheduler.c xe_dep_scheduler_create() -> drm_sched_entity_init()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 1 priority 0
PARAM_VALUE 2 sched_list 2378431148211974144
PARAM_VALUE 2 *sched_list 4096-ptr_max
PARAM_VALUE 3 num_sched_list 1
PARAM_VALUE 4 guilty 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &param.hwe->gt->oa.gt_lock
HALF_LOCKED2 &vm->lock

drivers/gpu/drm/scheduler/tests/mock_scheduler.c drm_mock_sched_entity_new() -> drm_sched_entity_init()

Type Parameter Key Value
PARAM_VALUE 0 entity 16,4096-ptr_max
PARAM_VALUE 2 sched_list 7248626559758028800
PARAM_VALUE 3 num_sched_list 1
PARAM_VALUE 4 guilty 0
DATA_SOURCE 1 priority $1
MEM_ZERO 0 entity

drivers/gpu/drm/panthor/panthor_mmu.c panthor_vm_create() -> drm_sched_entity_init()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 1 priority 0
PARAM_VALUE 2 sched_list 6830816352032759808
PARAM_VALUE 2 *sched_list 4096-ptr_max
PARAM_VALUE 3 num_sched_list 1
PARAM_VALUE 4 guilty 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &drm_unplug_srcu