Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thermal/gov_power_allocator.c power_allocator_bind() -> power_allocator_update_weight()

Type Parameter Key Value
PARAM_VALUE 0 params 4096-ptr_max
PARAM_VALUE 0 params->trip_max 0,4096-ptr_max
BUF_SIZE 0 params 64
DATA_SOURCE 0 params r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 params->num_actors
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &tz->lock

drivers/thermal/gov_power_allocator.c power_allocator_update_tz() -> power_allocator_update_weight()

Type Parameter Key Value
PARAM_VALUE 0 params 4096-ptr_max
BUF_SIZE 0 params 64
CAPPED_DATA 0 params->num_actors 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 params->num_actors
LOCK2 &tz->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct thermal_zone_device)->lock