Lines Matching defs:hweight_after_donation
529 u32 hweight_after_donation;
1688 static u32 hweight_after_donation(struct ioc_gq *iocg, u32 old_hwi, u32 hwm,
1803 * hweight_after_donation's to be higher than WEIGHT_ONE, which will
1814 after_sum += iocg->hweight_after_donation;
1816 if (iocg->hweight_after_donation > hwa) {
1817 over_sum += iocg->hweight_after_donation;
1836 iocg->hweight_after_donation =
1837 div_u64((u64)iocg->hweight_after_donation *
1856 iocg->hweight_after_donation = 0;
1867 parent->hweight_after_donation += iocg->hweight_after_donation;
1875 parent->hweight_after_donation += iocg->hweight_after_donation;
1896 iocg->hweight_after_donation = min(iocg->hweight_after_donation,
1900 iocg->hweight_after_donation == 0)) {
1905 iocg->hweight_after_donation);
1924 (WEIGHT_ONE - root_iocg->hweight_after_donation) * WEIGHT_ONE,
1940 WEIGHT_ONE - iocg->hweight_after_donation);
1949 WEIGHT_ONE) + iocg->hweight_after_donation;
1965 (u64)inuse * iocg->hweight_after_donation,
1993 parent->child_adjusted_sum * iocg->hweight_after_donation,
1999 iocg->hweight_after_donation);
2263 new_hwi = hweight_after_donation(iocg, old_hwi, hwm,
2266 * Donation calculation assumes hweight_after_donation
2274 iocg->hweight_after_donation = new_hwi;