Lines Matching refs:QFQ_MAX_SLOTS
94 #define QFQ_MAX_SLOTS 32
177 struct hlist_head slots[QFQ_MAX_SLOTS];
831 * inserted must not be higher than QFQ_MAX_SLOTS-2. There is a '-2'
856 * index is never higher than QFQ_MAX_SLOTS-2. This backward-shift may
862 * the slot index, and 2 < QFQ_MAX_SLOTS-2. Hence the aggregates whose
890 if (unlikely(slot > QFQ_MAX_SLOTS - 2)) {
892 ((u64)(QFQ_MAX_SLOTS - 2)<<grp->slot_shift);
895 slot = QFQ_MAX_SLOTS - 2;
898 i = (grp->front + slot) % QFQ_MAX_SLOTS;
941 grp->front = (grp->front + i) % QFQ_MAX_SLOTS;
950 * we move the index down (modulo QFQ_MAX_SLOTS) so we don't need to
962 grp->front = (grp->front - i) % QFQ_MAX_SLOTS;
1360 i = (grp->front + offset) % QFQ_MAX_SLOTS;
1460 for (j = 0; j < QFQ_MAX_SLOTS; j++)