Lines Matching refs:ER
124 enum qfq_state { ER, IR, EB, IB, QFQ_MAX_STATE };
745 * The state computation relies on ER=0, IR=1, EB=2, IB=3
753 unsigned long mask = mask_from(q->bitmaps[ER], grp->index);
781 unsigned long mask = mask_from(q->bitmaps[ER], index + 1);
791 qfq_move_groups(q, mask, EB, ER);
819 qfq_move_groups(q, mask, IR, ER);
967 if (!q->bitmaps[ER]) {
1034 * the ordering in EB (see [2]). So, if we have groups in ER,
1050 mask = mask_from(q->bitmaps[ER], agg->grp->index);
1178 if (!q->bitmaps[ER])
1181 grp = qfq_ffs(q, q->bitmaps[ER]);
1191 if (new_front_agg == NULL) /* group is now inactive, remove from ER */
1192 __clear_bit(grp->index, &q->bitmaps[ER]);
1202 __clear_bit(grp->index, &q->bitmaps[ER]);
1299 * was in ER make sure to adjust V.
1310 } else if (!q->bitmaps[ER] && qfq_gt(roundedS, q->V) &&
1389 if (test_bit(grp->index, &q->bitmaps[ER]) &&
1390 !(q->bitmaps[ER] & ~((1UL << grp->index) - 1))) {
1391 mask = q->bitmaps[ER] & ((1UL << grp->index) - 1);
1396 qfq_move_groups(q, mask, EB, ER);
1399 __clear_bit(grp->index, &q->bitmaps[ER]);
1404 __clear_bit(grp->index, &q->bitmaps[ER]);