Searched refs:nr_constraints (Results 1 – 2 of 2) sorted by relevance
284 int nr_constraints, in create_constraints() argument299 for (i = 0; i < nr_constraints; ++i) { in create_constraints()488 int nr_constraints, in powercap_register_zone() argument495 nr_constraints > MAX_CONSTRAINTS_PER_ZONE || in powercap_register_zone()533 power_zone->constraints = kcalloc(nr_constraints, in powercap_register_zone()539 nr_attrs = nr_constraints * POWERCAP_CONSTRAINTS_ATTRS + in powercap_register_zone()546 result = create_constraints(power_zone, nr_constraints, const_ops); in powercap_register_zone()
298 int nr_constraints,