Lines Matching refs:idx
140 unsigned int maxbacklog = 0, idx = 0, i, len; in fq_codel_drop() local
151 idx = i; in fq_codel_drop()
154 flow = &q->flows[idx]; in fq_codel_drop()
157 q->backlogs[idx] -= len; in fq_codel_drop()
163 return idx; in fq_codel_drop()
178 unsigned int idx, prev_backlog; in fq_codel_enqueue() local
182 idx = fq_codel_classify(skb, sch, &ret); in fq_codel_enqueue()
183 if (idx == 0) { in fq_codel_enqueue()
189 idx--; in fq_codel_enqueue()
192 flow = &q->flows[idx]; in fq_codel_enqueue()
194 q->backlogs[idx] += qdisc_pkt_len(skb); in fq_codel_enqueue()
211 if (fq_codel_drop(sch) == idx) in fq_codel_enqueue()
560 u32 idx = cl - 1; in fq_codel_dump_class_stats() local
564 if (idx < q->flows_cnt) { in fq_codel_dump_class_stats()
565 const struct fq_codel_flow *flow = &q->flows[idx]; in fq_codel_dump_class_stats()
588 qs.backlog = q->backlogs[idx]; in fq_codel_dump_class_stats()
593 if (idx < q->flows_cnt) in fq_codel_dump_class_stats()