Lines Matching refs:QFQ_MAX_SLOTS
94 #define QFQ_MAX_SLOTS 32
175 struct hlist_head slots[QFQ_MAX_SLOTS];
826 * inserted must not be higher than QFQ_MAX_SLOTS-2. There is a '-2'
851 * index is never higher than QFQ_MAX_SLOTS-2. This backward-shift may
857 * the slot index, and 2 < QFQ_MAX_SLOTS-2. Hence the aggregates whose
885 if (unlikely(slot > QFQ_MAX_SLOTS - 2)) {
887 ((u64)(QFQ_MAX_SLOTS - 2)<<grp->slot_shift);
890 slot = QFQ_MAX_SLOTS - 2;
893 i = (grp->front + slot) % QFQ_MAX_SLOTS;
936 grp->front = (grp->front + i) % QFQ_MAX_SLOTS;
945 * we move the index down (modulo QFQ_MAX_SLOTS) so we don't need to
957 grp->front = (grp->front - i) % QFQ_MAX_SLOTS;
1354 i = (grp->front + offset) % QFQ_MAX_SLOTS;
1454 for (j = 0; j < QFQ_MAX_SLOTS; j++)