Lines Matching defs:hwa
1170 u32 hwa, hwi;
1190 hwa = hwi = WEIGHT_ONE;
1204 hwa = div64_u64((u64)hwa * active, active_sum);
1210 iocg->hweight_active = max_t(u32, hwa, 1);
1352 u32 hwa;
1371 current_hweight(iocg, &hwa, NULL);
1373 abs_cost_to_cost(iocg->abs_vdebt, hwa) - now->vnow;
1496 u32 hwa;
1500 current_hweight(iocg, &hwa, NULL);
1505 u64 abs_vbudget = cost_to_abs_cost(vbudget, hwa);
1507 u64 vpay = abs_cost_to_cost(abs_vpay, hwa);
1527 s64 vdebt = abs_cost_to_cost(iocg->abs_vdebt, hwa);
1862 u32 hwa;
1864 current_hweight(iocg, &hwa, NULL);
1867 if (iocg->hweight_after_donation > hwa) {
1931 * Calculate inner hwa's (b) and make sure the donation values are
2307 u32 hwa, old_hwi, hwm, new_hwi, usage;
2333 current_hweight(iocg, &hwa, &old_hwi);
2339 * to be positive, a condition that a donor w/ hwa < 2
2340 * can't meet. Don't bother with donation if hwa is
2344 if (new_hwi < hwm && hwa >= 2) {
2345 iocg->hweight_donating = hwa;