Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/radeon/atom.c atom_execute_table() -> atom_execute_table_scratch_unlocked()

Type Parameter Key Value
PARAM_VALUE 0 ctx->scratch_mutex.dep_map->name 0-255
PARAM_VALUE 0 ctx->scratch_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctx->scratch_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctx->scratch_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctx->scratch_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->scratch_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ctx->scratch_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 index 0,4,6,8,10-13,17,21-27,29-35,39-40,42,44,47-51,57,60,63,65-70,73-77,79-80
PARAM_VALUE 2 params 4096-ptr_max
PARAM_VALUE 3 params_size 4,8,12,16,20,24
BUF_SIZE 2 params (-1),8,12,16,20,24,64
BUF_SIZE 2 params (-1),8,12,16,20,24,64
CAPPED_DATA 0 &ctx->scratch_mutex 1
DATA_SOURCE 0 ctx $0
DATA_SOURCE 1 index $1
DATA_SOURCE 2 params $2
DATA_SOURCE 3 params_size $3
FUZZY_MAX 1 index 77
HARD_MAX 1 index 80
HARD_MAX 3 params_size 24
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 3 params_size unit_byte
LOCK2 0 &ctx->scratch_mutex
HALF_LOCKED2 &rdev->pm.mutex
TYPE_LOCK (struct atom_context)->scratch_mutex

drivers/gpu/drm/radeon/atombios_i2c.c radeon_process_i2c_ch() -> atom_execute_table_scratch_unlocked()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->scratch_mutex.dep_map->name 0-255
PARAM_VALUE 0 ctx->scratch_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctx->scratch_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctx->scratch_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->scratch_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ctx->scratch_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 index 54
PARAM_VALUE 2 params 1888608266681839616
PARAM_VALUE 3 params_size 8
BUF_SIZE 2 params 8
CAPPED_DATA 0 &ctx->scratch_mutex 1
MEM_ZERO 2 params
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 params_size unit_byte
LOCK2 &chan->mutex
LOCK2 0 &ctx->scratch_mutex
TYPE_LOCK (struct atom_context)->scratch_mutex
TYPE_LOCK (struct radeon_i2c_chan)->mutex

drivers/gpu/drm/radeon/atombios_dp.c radeon_process_aux_ch() -> atom_execute_table_scratch_unlocked()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->scratch_mutex.dep_map->name 0-255
PARAM_VALUE 0 ctx->scratch_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctx->scratch_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctx->scratch_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->scratch_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ctx->scratch_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 index 78
PARAM_VALUE 2 params 1075955998731399168
PARAM_VALUE 3 params_size 8
BUF_SIZE 2 params 8
CAPPED_DATA 0 &ctx->scratch_mutex 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 params_size unit_byte
LOCK2 &chan->mutex
LOCK2 0 &ctx->scratch_mutex
HALF_LOCKED2 &aux->hw_mutex
TYPE_LOCK (struct atom_context)->scratch_mutex
TYPE_LOCK (struct radeon_i2c_chan)->mutex