Searched refs:total_weight (Results 1 – 1 of 1) sorted by relevance
362 float total_weight = 0; in allocatePowerToCdev() local401 total_weight += cdev_weight; in allocatePowerToCdev()443 auto cdev_power_budget = total_power_budget * (cdev_weight / total_weight); in allocatePowerToCdev()493 cdev_power_budget = total_power_budget * (cdev_weight / total_weight); in allocatePowerToCdev()571 total_weight -= allocated_weight; in allocatePowerToCdev()