Lines Matching defs:hwa
1113 u32 hwa, hwi;
1133 hwa = hwi = WEIGHT_ONE;
1147 hwa = div64_u64((u64)hwa * active, active_sum);
1153 iocg->hweight_active = max_t(u32, hwa, 1);
1295 u32 hwa;
1314 current_hweight(iocg, &hwa, NULL);
1316 abs_cost_to_cost(iocg->abs_vdebt, hwa) - now->vnow;
1439 u32 hwa;
1443 current_hweight(iocg, &hwa, NULL);
1448 u64 abs_vbudget = cost_to_abs_cost(vbudget, hwa);
1450 u64 vpay = abs_cost_to_cost(abs_vpay, hwa);
1470 s64 vdebt = abs_cost_to_cost(iocg->abs_vdebt, hwa);
1811 u32 hwa;
1813 current_hweight(iocg, &hwa, NULL);
1816 if (iocg->hweight_after_donation > hwa) {
1880 * Calculate inner hwa's (b) and make sure the donation values are
2255 u32 hwa, old_hwi, hwm, new_hwi;
2261 current_hweight(iocg, &hwa, &old_hwi);
2267 * to be positive, a condition that a donor w/ hwa < 2
2268 * can't meet. Don't bother with donation if hwa is
2272 if (new_hwi < hwm && hwa >= 2) {
2273 iocg->hweight_donating = hwa;