Lines Matching refs:roundedS

875 			    u64 roundedS)  in qfq_slot_insert()  argument
877 u64 slot = (roundedS - grp->S) >> grp->slot_shift; in qfq_slot_insert()
881 u64 deltaS = roundedS - grp->S - in qfq_slot_insert()
947 static void qfq_slot_rotate(struct qfq_group *grp, u64 roundedS) in qfq_slot_rotate() argument
949 unsigned int i = (grp->S - roundedS) >> grp->slot_shift; in qfq_slot_rotate()
1177 u64 roundedS = qfq_round_down(new_front_agg->S, in qfq_choose_next_agg() local
1181 if (grp->S == roundedS) in qfq_choose_next_agg()
1183 grp->S = roundedS; in qfq_choose_next_agg()
1184 grp->F = roundedS + (2ULL << grp->slot_shift); in qfq_choose_next_agg()
1271 u64 roundedS; in qfq_schedule_agg() local
1274 roundedS = qfq_round_down(agg->S, grp->slot_shift); in qfq_schedule_agg()
1290 qfq_slot_rotate(grp, roundedS); in qfq_schedule_agg()
1294 } else if (!q->bitmaps[ER] && qfq_gt(roundedS, q->V) && in qfq_schedule_agg()
1296 q->V = roundedS; in qfq_schedule_agg()
1298 grp->S = roundedS; in qfq_schedule_agg()
1299 grp->F = roundedS + (2ULL << grp->slot_shift); in qfq_schedule_agg()
1310 qfq_slot_insert(grp, agg, roundedS); in qfq_schedule_agg()
1333 u64 roundedS; in qfq_slot_remove() local
1335 roundedS = qfq_round_down(agg->S, grp->slot_shift); in qfq_slot_remove()
1336 offset = (roundedS - grp->S) >> grp->slot_shift; in qfq_slot_remove()
1356 u64 roundedS; in qfq_deactivate_agg() local
1386 roundedS = qfq_round_down(agg->S, grp->slot_shift); in qfq_deactivate_agg()
1387 if (grp->S != roundedS) { in qfq_deactivate_agg()
1392 grp->S = roundedS; in qfq_deactivate_agg()
1393 grp->F = roundedS + (2ULL << grp->slot_shift); in qfq_deactivate_agg()