Lines Matching refs:ER
124 enum qfq_state { ER, IR, EB, IB, QFQ_MAX_STATE };
750 * The state computation relies on ER=0, IR=1, EB=2, IB=3
758 unsigned long mask = mask_from(q->bitmaps[ER], grp->index);
786 unsigned long mask = mask_from(q->bitmaps[ER], index + 1);
796 qfq_move_groups(q, mask, EB, ER);
824 qfq_move_groups(q, mask, IR, ER);
972 if (!q->bitmaps[ER]) {
1039 * the ordering in EB (see [2]). So, if we have groups in ER,
1055 mask = mask_from(q->bitmaps[ER], agg->grp->index);
1183 if (!q->bitmaps[ER])
1186 grp = qfq_ffs(q, q->bitmaps[ER]);
1196 if (new_front_agg == NULL) /* group is now inactive, remove from ER */
1197 __clear_bit(grp->index, &q->bitmaps[ER]);
1207 __clear_bit(grp->index, &q->bitmaps[ER]);
1305 * was in ER make sure to adjust V.
1316 } else if (!q->bitmaps[ER] && qfq_gt(roundedS, q->V) &&
1395 if (test_bit(grp->index, &q->bitmaps[ER]) &&
1396 !(q->bitmaps[ER] & ~((1UL << grp->index) - 1))) {
1397 mask = q->bitmaps[ER] & ((1UL << grp->index) - 1);
1402 qfq_move_groups(q, mask, EB, ER);
1405 __clear_bit(grp->index, &q->bitmaps[ER]);
1410 __clear_bit(grp->index, &q->bitmaps[ER]);