Lines Matching refs:hwm
1169 u32 hwm = WEIGHT_ONE;
1181 hwm = div64_u64((u64)hwm * inuse, child_inuse_sum);
1186 return max_t(u32, hwm, 1);
1685 * capacity. @hwm is the upper bound and used to signal no donation. This
1688 static u32 hweight_after_donation(struct ioc_gq *iocg, u32 old_hwi, u32 hwm,
1702 return hwm;
1734 return clamp_t(s64, new_hwi, 1, hwm);
2255 u32 hwa, old_hwi, hwm, new_hwi;
2262 hwm = current_hweight_max(iocg);
2263 new_hwi = hweight_after_donation(iocg, old_hwi, hwm,
2272 if (new_hwi < hwm && hwa >= 2) {