Lines Matching refs:roundedS
890 u64 roundedS) in qfq_slot_insert() argument
892 u64 slot = (roundedS - grp->S) >> grp->slot_shift; in qfq_slot_insert()
896 u64 deltaS = roundedS - grp->S - in qfq_slot_insert()
962 static void qfq_slot_rotate(struct qfq_group *grp, u64 roundedS) in qfq_slot_rotate() argument
964 unsigned int i = (grp->S - roundedS) >> grp->slot_shift; in qfq_slot_rotate()
1192 u64 roundedS = qfq_round_down(new_front_agg->S, in qfq_choose_next_agg() local
1196 if (grp->S == roundedS) in qfq_choose_next_agg()
1198 grp->S = roundedS; in qfq_choose_next_agg()
1199 grp->F = roundedS + (2ULL << grp->slot_shift); in qfq_choose_next_agg()
1282 u64 roundedS; in qfq_schedule_agg() local
1285 roundedS = qfq_round_down(agg->S, grp->slot_shift); in qfq_schedule_agg()
1301 qfq_slot_rotate(grp, roundedS); in qfq_schedule_agg()
1305 } else if (!q->bitmaps[ER] && qfq_gt(roundedS, q->V) && in qfq_schedule_agg()
1307 q->V = roundedS; in qfq_schedule_agg()
1309 grp->S = roundedS; in qfq_schedule_agg()
1310 grp->F = roundedS + (2ULL << grp->slot_shift); in qfq_schedule_agg()
1321 qfq_slot_insert(grp, agg, roundedS); in qfq_schedule_agg()
1344 u64 roundedS; in qfq_slot_remove() local
1346 roundedS = qfq_round_down(agg->S, grp->slot_shift); in qfq_slot_remove()
1347 offset = (roundedS - grp->S) >> grp->slot_shift; in qfq_slot_remove()
1367 u64 roundedS; in qfq_deactivate_agg() local
1397 roundedS = qfq_round_down(agg->S, grp->slot_shift); in qfq_deactivate_agg()
1398 if (grp->S != roundedS) { in qfq_deactivate_agg()
1403 grp->S = roundedS; in qfq_deactivate_agg()
1404 grp->F = roundedS + (2ULL << grp->slot_shift); in qfq_deactivate_agg()