Lines Matching defs:hweight_after_donation
527 u32 hweight_after_donation;
1739 static u32 hweight_after_donation(struct ioc_gq *iocg, u32 old_hwi, u32 hwm,
1854 * hweight_after_donation's to be higher than WEIGHT_ONE, which will
1865 after_sum += iocg->hweight_after_donation;
1867 if (iocg->hweight_after_donation > hwa) {
1868 over_sum += iocg->hweight_after_donation;
1887 iocg->hweight_after_donation =
1888 div_u64((u64)iocg->hweight_after_donation *
1907 iocg->hweight_after_donation = 0;
1918 parent->hweight_after_donation += iocg->hweight_after_donation;
1926 parent->hweight_after_donation += iocg->hweight_after_donation;
1947 iocg->hweight_after_donation = min(iocg->hweight_after_donation,
1951 iocg->hweight_after_donation == 0)) {
1956 iocg->hweight_after_donation);
1975 (WEIGHT_ONE - root_iocg->hweight_after_donation) * WEIGHT_ONE,
1991 WEIGHT_ONE - iocg->hweight_after_donation);
2000 WEIGHT_ONE) + iocg->hweight_after_donation;
2016 (u64)inuse * iocg->hweight_after_donation,
2044 parent->child_adjusted_sum * iocg->hweight_after_donation,
2050 iocg->hweight_after_donation);
2335 new_hwi = hweight_after_donation(iocg, old_hwi, hwm,
2338 * Donation calculation assumes hweight_after_donation
2346 iocg->hweight_after_donation = new_hwi;