Searched refs:zones_stack (Results 1 – 1 of 1) sorted by relevance
371 struct scmi_powercap_zone *spz, **zones_stack; in scmi_zones_register() local373 zones_stack = kcalloc(pr->num_zones, sizeof(spz), GFP_KERNEL); in scmi_zones_register()374 if (!zones_stack) in scmi_zones_register()384 zones_stack[sp++] = spz; in scmi_zones_register()403 spz = zones_stack[--sp]; in scmi_zones_register()412 kfree(zones_stack); in scmi_zones_register()