Lines Matching refs:S
149 u64 S, F; /* flow timestamps (exact) */ member
173 u64 S, F; /* group timestamps (approx). */ member
770 unsigned int state = qfq_gt(grp->S, q->V); in qfq_calc_state()
900 u64 slot = (roundedS - grp->S) >> grp->slot_shift; in qfq_slot_insert()
904 u64 deltaS = roundedS - grp->S - in qfq_slot_insert()
906 agg->S -= deltaS; in qfq_slot_insert()
972 unsigned int i = (grp->S - roundedS) >> grp->slot_shift; in qfq_slot_rotate()
987 if (qfq_gt(grp->S, q->V)) in qfq_update_eligible()
988 q->V = grp->S; in qfq_update_eligible()
1037 agg->F = agg->S + (u64)service_received * agg->inv_w; in charge_actual_service()
1068 agg->S = next->F; in qfq_update_start()
1070 agg->S = limit; in qfq_update_start()
1074 agg->S = q->V; in qfq_update_start()
1076 agg->S = agg->F; in qfq_update_start()
1091 agg->S = agg->F; in qfq_update_agg_ts()
1093 agg->F = agg->S + (u64)agg->budgetmax * agg->inv_w; in qfq_update_agg_ts()
1199 u64 roundedS = qfq_round_down(new_front_agg->S, in qfq_choose_next_agg()
1203 if (grp->S == roundedS) in qfq_choose_next_agg()
1205 grp->S = roundedS; in qfq_choose_next_agg()
1288 roundedS = qfq_round_down(agg->S, grp->slot_shift); in qfq_schedule_agg()
1300 if (!qfq_gt(grp->S, agg->S)) in qfq_schedule_agg()
1312 grp->S = roundedS; in qfq_schedule_agg()
1319 (unsigned long long) agg->S, in qfq_schedule_agg()
1338 q->oldV = q->V = agg->S; in qfq_activate_agg()
1349 roundedS = qfq_round_down(agg->S, grp->slot_shift); in qfq_slot_remove()
1350 offset = (roundedS - grp->S) >> grp->slot_shift; in qfq_slot_remove()
1379 agg->F = agg->S; in qfq_deactivate_agg()
1400 roundedS = qfq_round_down(agg->S, grp->slot_shift); in qfq_deactivate_agg()
1401 if (grp->S != roundedS) { in qfq_deactivate_agg()
1406 grp->S = roundedS; in qfq_deactivate_agg()