Lines Matching refs:roundedS

880 			    u64 roundedS)  in qfq_slot_insert()  argument
882 u64 slot = (roundedS - grp->S) >> grp->slot_shift; in qfq_slot_insert()
886 u64 deltaS = roundedS - grp->S - in qfq_slot_insert()
952 static void qfq_slot_rotate(struct qfq_group *grp, u64 roundedS) in qfq_slot_rotate() argument
954 unsigned int i = (grp->S - roundedS) >> grp->slot_shift; in qfq_slot_rotate()
1194 u64 roundedS = qfq_round_down(new_front_agg->S, in qfq_choose_next_agg() local
1198 if (grp->S == roundedS) in qfq_choose_next_agg()
1200 grp->S = roundedS; in qfq_choose_next_agg()
1201 grp->F = roundedS + (2ULL << grp->slot_shift); in qfq_choose_next_agg()
1287 u64 roundedS; in qfq_schedule_agg() local
1290 roundedS = qfq_round_down(agg->S, grp->slot_shift); in qfq_schedule_agg()
1306 qfq_slot_rotate(grp, roundedS); in qfq_schedule_agg()
1310 } else if (!q->bitmaps[ER] && qfq_gt(roundedS, q->V) && in qfq_schedule_agg()
1312 q->V = roundedS; in qfq_schedule_agg()
1314 grp->S = roundedS; in qfq_schedule_agg()
1315 grp->F = roundedS + (2ULL << grp->slot_shift); in qfq_schedule_agg()
1326 qfq_slot_insert(grp, agg, roundedS); in qfq_schedule_agg()
1349 u64 roundedS; in qfq_slot_remove() local
1351 roundedS = qfq_round_down(agg->S, grp->slot_shift); in qfq_slot_remove()
1352 offset = (roundedS - grp->S) >> grp->slot_shift; in qfq_slot_remove()
1372 u64 roundedS; in qfq_deactivate_agg() local
1402 roundedS = qfq_round_down(agg->S, grp->slot_shift); in qfq_deactivate_agg()
1403 if (grp->S != roundedS) { in qfq_deactivate_agg()
1408 grp->S = roundedS; in qfq_deactivate_agg()
1409 grp->F = roundedS + (2ULL << grp->slot_shift); in qfq_deactivate_agg()