Lines Matching defs:SFQ_MAX_FLOWS
76 #define SFQ_MAX_FLOWS (0x10000 - SFQ_MAX_DEPTH - 1) /* max number of flows */
86 /* This type should contain at least SFQ_MAX_DEPTH + 1 + SFQ_MAX_FLOWS values */
91 * Small indexes [0 ... SFQ_MAX_FLOWS - 1] are 'pointers' to slots[] array
92 * while following values [SFQ_MAX_FLOWS ... SFQ_MAX_FLOWS + SFQ_MAX_DEPTH]
152 if (val < SFQ_MAX_FLOWS)
154 return &q->dep[val - SFQ_MAX_FLOWS];
201 * x : slot number [0 .. SFQ_MAX_FLOWS - 1]
209 p = qlen + SFQ_MAX_FLOWS;
369 if (x >= SFQ_MAX_FLOWS)
569 if (x >= SFQ_MAX_FLOWS) {
664 q->maxflows = min_t(u32, ctl->flows, SFQ_MAX_FLOWS);
746 q->dep[i].next = i + SFQ_MAX_FLOWS;
747 q->dep[i].prev = i + SFQ_MAX_FLOWS;