Lines Matching refs:hwm
1226 u32 hwm = WEIGHT_ONE;
1238 hwm = div64_u64((u64)hwm * inuse, child_inuse_sum);
1243 return max_t(u32, hwm, 1);
1736 * capacity. @hwm is the upper bound and used to signal no donation. This
1739 static u32 hweight_after_donation(struct ioc_gq *iocg, u32 old_hwi, u32 hwm,
1753 return hwm;
1785 return clamp_t(s64, new_hwi, 1, hwm);
2307 u32 hwa, old_hwi, hwm, new_hwi, usage;
2334 hwm = current_hweight_max(iocg);
2335 new_hwi = hweight_after_donation(iocg, old_hwi, hwm,
2344 if (new_hwi < hwm && hwa >= 2) {