Lines Matching defs:flows
29 * Packets are classified (internal classifier or external) on flows.
30 * This is a Stochastic model (as we use a hash, several flows
34 * so that new flows have priority on old ones.
53 struct fq_codel_flow *flows; /* Flows table [flows_cnt] */
55 u32 flows_cnt; /* number of flows */
66 struct list_head new_flows; /* list of new flows */
67 struct list_head old_flows; /* list of old flows */
148 * This might sound expensive, but with 1024 flows, we scan
164 flow = &q->flows[idx];
205 flow = &q->flows[idx];
266 q->backlogs[flow - q->flows] -= qdisc_pkt_len(skb);
342 struct fq_codel_flow *flow = q->flows + i;
380 if (q->flows)
466 kvfree(q->flows);
498 if (!q->flows) {
499 q->flows = kvcalloc(q->flows_cnt,
502 if (!q->flows) {
512 struct fq_codel_flow *flow = q->flows + i;
528 kvfree(q->flows);
529 q->flows = NULL;
655 const struct fq_codel_flow *flow = &q->flows[idx];
702 if (list_empty(&q->flows[i].flowchain)) {