Home
last modified time | relevance | path

Searched refs:deficit (Results 1 – 8 of 8) sorted by relevance

/net/sched/
Dsch_drr.c29 u32 deficit; member
268 xstats.deficit = cl->deficit; in drr_dump_class_stats()
370 cl->deficit = cl->quantum; in drr_enqueue()
396 if (len <= cl->deficit) { in drr_dequeue()
397 cl->deficit -= len; in drr_dequeue()
411 cl->deficit += cl->quantum; in drr_dequeue()
Dsch_fq_codel.c46 int deficit; member
212 flow->deficit = q->quantum; in fq_codel_enqueue()
297 if (flow->deficit <= 0) { in fq_codel_dequeue()
298 flow->deficit += q->quantum; in fq_codel_dequeue()
316 flow->deficit -= qdisc_pkt_len(skb); in fq_codel_dequeue()
634 xstats.class_stats.deficit = flow->deficit; in fq_codel_dump_class_stats()
Dsch_fq_pie.c46 s32 deficit; member
189 sel_flow->deficit = q->quantum; in fq_pie_qdisc_enqueue()
253 if (flow->deficit <= 0) { in fq_pie_qdisc_dequeue()
254 flow->deficit += q->quantum; in fq_pie_qdisc_dequeue()
277 flow->deficit -= pkt_len; in fq_pie_qdisc_dequeue()
Dsch_hhf.c124 int deficit; member
400 bucket->deficit = weight * q->quantum; in hhf_enqueue()
434 if (bucket->deficit <= 0) { in hhf_dequeue()
438 bucket->deficit += weight * q->quantum; in hhf_dequeue()
458 bucket->deficit -= qdisc_pkt_len(skb); in hhf_dequeue()
Dsch_ets.c43 u32 deficit; member
447 cl->deficit = cl->quantum; in ets_qdisc_enqueue()
491 if (len <= cl->deficit) { in ets_qdisc_dequeue()
492 cl->deficit -= len; in ets_qdisc_dequeue()
501 cl->deficit += cl->quantum; in ets_qdisc_dequeue()
667 q->classes[i].deficit = quanta[i]; in ets_qdisc_change()
Dsch_qfq.c141 int deficit; /* DRR deficit counter. */ member
479 cl->deficit = lmax; in qfq_change_class()
991 cl->deficit -= (int) len; in agg_dequeue()
995 else if (cl->deficit < qdisc_pkt_len(cl->qdisc->ops->peek(cl->qdisc))) { in agg_dequeue()
996 cl->deficit += agg->lmax; in agg_dequeue()
1269 == cl && cl->deficit < len) in qfq_enqueue()
1276 cl->deficit = agg->lmax; in qfq_enqueue()
Dsch_cake.c130 s32 deficit; member
1874 flow->deficit = (b->flow_quantum * in cake_enqueue()
2061 if (flow->deficit <= 0) { in cake_dequeue()
2098 flow->deficit += (b->flow_quantum * quantum_div[host_load] + in cake_dequeue()
2171 flow->deficit -= len; in cake_dequeue()
2195 flow->deficit -= len; in cake_dequeue()
3031 PUT_STAT_S32(DEFICIT, flow->deficit); in cake_dump_class_stats()
Dsch_htb.c126 int deficit[TC_HTB_MAXDEPTH]; member
918 cl->leaf.deficit[level] -= qdisc_pkt_len(skb); in htb_dequeue_tree()
919 if (cl->leaf.deficit[level] < 0) { in htb_dequeue_tree()
920 cl->leaf.deficit[level] += cl->quantum; in htb_dequeue_tree()