Home
last modified time | relevance | path

Searched refs:QFQ_MAX_SLOTS (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/net/sched/
H A Dsch_qfq.c94 #define QFQ_MAX_SLOTS 32 macro
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)) { in qfq_slot_insert()
892 ((u64)(QFQ_MAX_SLOTS - 2)<<grp->slot_shift); in qfq_slot_insert()
895 slot = QFQ_MAX_SLOTS - 2; in qfq_slot_insert()
898 i = (grp->front + slot) % QFQ_MAX_SLOTS; in qfq_slot_insert()
941 grp->front = (grp->front + i) % QFQ_MAX_SLOTS; in qfq_slot_scan()
[all...]
/kernel/linux/linux-6.6/net/sched/
H A Dsch_qfq.c94 #define QFQ_MAX_SLOTS 32 macro
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)) { in qfq_slot_insert()
887 ((u64)(QFQ_MAX_SLOTS - 2)<<grp->slot_shift); in qfq_slot_insert()
890 slot = QFQ_MAX_SLOTS - 2; in qfq_slot_insert()
893 i = (grp->front + slot) % QFQ_MAX_SLOTS; in qfq_slot_insert()
936 grp->front = (grp->front + i) % QFQ_MAX_SLOTS; in qfq_slot_scan()
[all...]

Completed in 4 milliseconds