Home
last modified time | relevance | path

Searched refs:zones_stack (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/powercap/
Darm_scmi_powercap.c371 struct scmi_powercap_zone *spz, **zones_stack; in scmi_zones_register() local
373 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()