Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/sched/
Dsch_cbq.c147 long deficit; /* Saved deficit for WRR */ member
872 int deficit; in cbq_dequeue_prio() local
878 deficit = 0; in cbq_dequeue_prio()
888 if (cl->deficit <= 0) { in cbq_dequeue_prio()
892 deficit = 1; in cbq_dequeue_prio()
893 cl->deficit += cl->quantum; in cbq_dequeue_prio()
906 cl->deficit -= skb->len; in cbq_dequeue_prio()
920 if (cl->deficit <= 0) { in cbq_dequeue_prio()
923 cl->deficit += cl->quantum; in cbq_dequeue_prio()
962 } while (deficit); in cbq_dequeue_prio()
[all …]
Dsch_htb.c169 int deficit[TC_HTB_MAXDEPTH]; member
1012 prio,level,cl->classid,cl->un.leaf.deficit[level]); in htb_dequeue_tree()
1047 if ((cl->un.leaf.deficit[level] -= skb->len) < 0) { in htb_dequeue_tree()
1050 cl->un.leaf.deficit[level] += cl->un.leaf.quantum; in htb_dequeue_tree()