Lines Matching refs:roundedS
877 u64 roundedS) in qfq_slot_insert() argument
879 u64 slot = (roundedS - grp->S) >> grp->slot_shift; in qfq_slot_insert()
883 u64 deltaS = roundedS - grp->S - in qfq_slot_insert()
949 static void qfq_slot_rotate(struct qfq_group *grp, u64 roundedS) in qfq_slot_rotate() argument
951 unsigned int i = (grp->S - roundedS) >> grp->slot_shift; in qfq_slot_rotate()
1179 u64 roundedS = qfq_round_down(new_front_agg->S, in qfq_choose_next_agg() local
1183 if (grp->S == roundedS) in qfq_choose_next_agg()
1185 grp->S = roundedS; in qfq_choose_next_agg()
1186 grp->F = roundedS + (2ULL << grp->slot_shift); in qfq_choose_next_agg()
1273 u64 roundedS; in qfq_schedule_agg() local
1276 roundedS = qfq_round_down(agg->S, grp->slot_shift); in qfq_schedule_agg()
1292 qfq_slot_rotate(grp, roundedS); in qfq_schedule_agg()
1296 } else if (!q->bitmaps[ER] && qfq_gt(roundedS, q->V) && in qfq_schedule_agg()
1298 q->V = roundedS; in qfq_schedule_agg()
1300 grp->S = roundedS; in qfq_schedule_agg()
1301 grp->F = roundedS + (2ULL << grp->slot_shift); in qfq_schedule_agg()
1312 qfq_slot_insert(grp, agg, roundedS); in qfq_schedule_agg()
1335 u64 roundedS; in qfq_slot_remove() local
1337 roundedS = qfq_round_down(agg->S, grp->slot_shift); in qfq_slot_remove()
1338 offset = (roundedS - grp->S) >> grp->slot_shift; in qfq_slot_remove()
1358 u64 roundedS; in qfq_deactivate_agg() local
1388 roundedS = qfq_round_down(agg->S, grp->slot_shift); in qfq_deactivate_agg()
1389 if (grp->S != roundedS) { in qfq_deactivate_agg()
1394 grp->S = roundedS; in qfq_deactivate_agg()
1395 grp->F = roundedS + (2ULL << grp->slot_shift); in qfq_deactivate_agg()