Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_guc_submit.c guc_exec_queue_add_msg() -> xe_sched_add_msg_locked()

Type Parameter Key Value
PARAM_VALUE 0 sched 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->opcode 0-6
PARAM_VALUE 1 msg->private_data 4096-ptr_max
BUF_SIZE 1 msg 32,64,96,128
BUF_SIZE 1 msg 32,64,96,128
BUF_SIZE 1 msg->private_data (-1),520-524800
DATA_SOURCE 1 msg $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &guc->submission_state.lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &sched->msg_lock

drivers/gpu/drm/xe/xe_gpu_scheduler.c xe_sched_add_msg() -> xe_sched_add_msg_locked()

Type Parameter Key Value
PARAM_VALUE 0 sched 4096-ptr_max
PARAM_VALUE 0 sched->msg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->opcode 0-5
PARAM_VALUE 1 msg->private_data 4096-ptr_max
BUF_SIZE 1 msg (-1),32,64,128
BUF_SIZE 1 msg (-1),32,64,128
BUF_SIZE 1 msg->private_data (-1),528-524800
DATA_SOURCE 0 sched $0
DATA_SOURCE 1 msg $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &sched->msg_lock
HALF_LOCKED2 &guc->submission_state.lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &sched->msg_lock
TYPE_LOCK (struct xe_gpu_scheduler)->msg_lock