Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/powercap/arm_scmi_powercap.c scmi_powercap_register_zone() -> powercap_register_zone()

Type Parameter Key Value
PARAM_VALUE 0 power_zone 4096-ptr_max
PARAM_VALUE 3 parent 0,4096-ptr_max
PARAM_VALUE 4 ops 4924441939181965312
PARAM_VALUE 5 nr_constraints 1
PARAM_VALUE 6 const_ops 166035954664284160
BUF_SIZE 2 name 64
BUF_SIZE 3 parent 0,1864
RX_PATH
TASK_NOT_RUNNING

drivers/powercap/dtpm.c dtpm_register() -> powercap_register_zone()

Type Parameter Key Value
PARAM_VALUE 0 power_zone 4096-ptr_max
PARAM_VALUE 1 control_type 4096-u64max
PARAM_VALUE 3 parent 0,4096-ptr_max
PARAM_VALUE 4 ops 7924108149480771584
PARAM_VALUE 5 nr_constraints 1
PARAM_VALUE 6 const_ops 6955573684361003008
BUF_SIZE 2 name s32min,(-10),(-1),1-s32max
BUF_SIZE 2 name s32min,(-10),(-1),1-s32max
BUF_SIZE 3 parent 0,1864
DATA_SOURCE 2 name $0
STR_LEN 0 power_zone (-1),15
STR_LEN 2 name (-1),15
HALF_LOCKED2 global &dtpm_lock

drivers/powercap/intel_rapl_common.c rapl_package_register_powercap() -> powercap_register_zone()

Type Parameter Key Value
PARAM_VALUE 0 power_zone 4096-ptr_max
PARAM_VALUE 3 parent 0
PARAM_VALUE 4 ops 6898440264968171520
PARAM_VALUE 5 nr_constraints 0-s32max
PARAM_VALUE 6 const_ops 5510471096700674048
BUF_SIZE 2 name 30
BUF_SIZE 4 ops 320
DATA_SOURCE 5 nr_constraints r find_nr_power_limit
STR_LEN 0 power_zone 29
RX_PATH
TASK_NOT_RUNNING

drivers/powercap/intel_rapl_common.c rapl_package_register_powercap() -> powercap_register_zone()

Type Parameter Key Value
PARAM_VALUE 0 power_zone 4096-ptr_max
PARAM_VALUE 0 power_zone->constraints 16,4096-ptr_max
PARAM_VALUE 0 power_zone->control_type_inst 4096-ptr_max
PARAM_VALUE 0 power_zone->dev_zone_attr_group.attrs 4096-ptr_max
PARAM_VALUE 0 power_zone->dev_zone_attr_group.attrs_const 4096-ptr_max
PARAM_VALUE 0 power_zone->id 0-s32max
PARAM_VALUE 0 power_zone->idr.idr_rt.xa_flags 33554436
PARAM_VALUE 0 power_zone->name 4096-ptr_max
PARAM_VALUE 0 power_zone->parent_idr 4096-ptr_max
PARAM_VALUE 0 power_zone->zone_attr_count 1-s32max
PARAM_VALUE 0 power_zone->zone_dev_attrs 4096-ptr_max
PARAM_VALUE 1 control_type 4096-ptr_max
PARAM_VALUE 1 control_type->lock.dep_map->name 0-255
PARAM_VALUE 1 control_type->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 control_type->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 control_type->lock.osq.tail.counter 0-s32max
PARAM_VALUE 3 parent 0,4096-ptr_max
PARAM_VALUE 3 parent->allocated 1
PARAM_VALUE 3 parent->constraints 16,4096-ptr_max
PARAM_VALUE 3 parent->control_type_inst 4096-ptr_max
PARAM_VALUE 3 parent->dev_zone_attr_group.attrs 4096-ptr_max
PARAM_VALUE 3 parent->dev_zone_attr_group.attrs_const 4096-ptr_max
PARAM_VALUE 3 parent->id 0-s32max
PARAM_VALUE 3 parent->idr.idr_base 0
PARAM_VALUE 3 parent->idr.idr_next 0
PARAM_VALUE 3 parent->idr.idr_rt.xa_flags 33554436
PARAM_VALUE 3 parent->idr.idr_rt.xa_head 0
PARAM_VALUE 3 parent->name 4096-ptr_max
PARAM_VALUE 3 parent->ops 6898440264968171520
PARAM_VALUE 3 parent->parent_idr 4096-ptr_max
PARAM_VALUE 3 parent->zone_attr_count 1-s32max
PARAM_VALUE 3 parent->zone_dev_attrs 4096-ptr_max
PARAM_VALUE 3 *parent->dev_zone_attr_group.attrs 0,4096-ptr_max
PARAM_VALUE 3 *parent->zone_dev_attrs 0,4096-ptr_max
PARAM_VALUE 4 ops 4096-ptr_max
PARAM_VALUE 5 nr_constraints 0-s32max
PARAM_VALUE 6 const_ops 5510471096700674048
PARAM_VALUE 6 const_ops->get_max_power_uw 4096-ptr_max
PARAM_VALUE 6 const_ops->get_name 4096-ptr_max
BUF_SIZE 2 name 16
BUF_SIZE 3 parent (-1)-0,1864
BUF_SIZE 3 parent (-1)-0,1864
CAPPED_DATA 1 control_type 1
CAPPED_DATA 5 nr_constraints 1
DATA_SOURCE 5 nr_constraints r find_nr_power_limit
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 5 nr_constraints