Lines Matching refs:flows_cnt
61 u32 flows_cnt; /* number of flows */ member
79 return reciprocal_scale(skb_get_hash(skb), q->flows_cnt); in fq_codel_hash()
92 TC_H_MIN(skb->priority) <= q->flows_cnt) in fq_codel_classify()
113 if (TC_H_MIN(res.classid) <= q->flows_cnt) in fq_codel_classify()
160 for (i = 0; i < q->flows_cnt; i++) { in fq_codel_drop()
355 for (i = 0; i < q->flows_cnt; i++) { in fq_codel_reset()
362 memset(q->backlogs, 0, q->flows_cnt * sizeof(u32)); in fq_codel_reset()
397 q->flows_cnt = nla_get_u32(tb[TCA_FQ_CODEL_FLOWS]); in fq_codel_change()
398 if (!q->flows_cnt || in fq_codel_change()
399 q->flows_cnt > 65536) in fq_codel_change()
470 q->flows_cnt = 1024; in fq_codel_init()
492 q->flows = kvcalloc(q->flows_cnt, in fq_codel_init()
499 q->backlogs = kvcalloc(q->flows_cnt, sizeof(u32), GFP_KERNEL); in fq_codel_init()
504 for (i = 0; i < q->flows_cnt; i++) { in fq_codel_init()
521 q->flows_cnt = 0; in fq_codel_init()
549 q->flows_cnt)) in fq_codel_dump()
637 if (idx < q->flows_cnt) { in fq_codel_dump_class_stats()
671 if (idx < q->flows_cnt) in fq_codel_dump_class_stats()
684 for (i = 0; i < q->flows_cnt; i++) { in fq_codel_walk()