Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/powercap/powercap_sys.c powercap_register_zone() -> create_constraints()

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->zone_attr_count 1-5
PARAM_VALUE 0 power_zone->zone_dev_attrs 4096-ptr_max
PARAM_VALUE 1 nr_constraints 0-10
PARAM_VALUE 2 const_ops 166035954664284160,5510471096700674048,6955573684361003008
BUF_SIZE 0 power_zone 1864,u64max
BUF_SIZE 0 power_zone 1864,u64max
BUF_SIZE 0 power_zone->constraints 0-240
BUF_SIZE 0 power_zone->dev.class 96
BUF_SIZE 0 power_zone->dev.parent 1616
BUF_SIZE 0 power_zone->ops (-1),320
BUF_SIZE 0 power_zone->parent_idr 96
BUF_SIZE 0 power_zone->zone_dev_attrs 8
CAPPED_DATA 0 power_zone->parent_idr->idr_base 1
CAPPED_DATA 1 nr_constraints 1
DATA_SOURCE 0 power_zone $0 [m]
DATA_SOURCE 1 nr_constraints $5
DATA_SOURCE 2 const_ops $6
STR_LEN 0 power_zone (-1),15,29
STR_LEN 0 power_zone (-1),15,29
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 nr_constraints
UNITS 1 nr_constraints unit_array_size
LOCK2 &control_type->lock
TYPE_LOCK (struct powercap_control_type)->lock