Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/power/energy_model.c em_create_perf_table() -> em_compute_costs()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->em_pd 0
PARAM_VALUE 2 cb 506283064629043200,856926804404768768,6304146191061172224,8565639888859004928
PARAM_VALUE 2 cb->active_power 273928386749112320,431456458289328128,4182095532106928128,4189520309930512384,4382815594377748480
PARAM_VALUE 2 cb->get_cost 0,7309037254629912576
PARAM_VALUE 3 nr_states s32min-(-1),1-s32max
PARAM_VALUE 4 flags 0-1,4
CAPPED_DATA 3 nr_states 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 table $2
DATA_SOURCE 2 cb $3
DATA_SOURCE 4 flags $4
FUZZY_MAX 4 flags 0
STR_LEN 0 dev (-1)
STR_LEN 0 dev (-1)
BIT_INFO 2 cb->active_power 0x0,0x3ffffffffffff000
BIT_INFO 4 flags 0x0,0x5
BIT_INFO 4 flags 0x0,0x5
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
UNITS 3 nr_states unit_array_size
LOCK2 global &em_pd_mutex

kernel/power/energy_model.c em_dev_compute_costs() -> em_compute_costs()

Type Parameter Key Value
PARAM_VALUE 2 cb 0
PARAM_VALUE 4 flags 0
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 table $1
DATA_SOURCE 3 nr_states $2

kernel/power/energy_model.c em_recalc_and_update() -> em_compute_costs()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 2 cb 0
CAPPED_DATA 0 dev 1
DATA_SOURCE 0 dev $0
BIT_INFO 4 flags 0x0,0xfffffffffffffffb
BIT_INFO 4 flags 0x0,0xfffffffffffffffb
RX_PATH
TASK_NOT_RUNNING
UNITS 3 nr_states unit_array_size