Home
last modified time | relevance | path

Searched refs:quantum (Results 1 – 7 of 7) sorted by relevance

/linux-2.6.39/net/sched/
Dsch_drr.c32 u32 quantum; member
72 u32 quantum; in drr_change_class() local
83 quantum = nla_get_u32(tb[TCA_DRR_QUANTUM]); in drr_change_class()
84 if (quantum == 0) in drr_change_class()
87 quantum = psched_mtu(qdisc_dev(sch)); in drr_change_class()
100 cl->quantum = quantum; in drr_change_class()
112 cl->quantum = quantum; in drr_change_class()
263 NLA_PUT_U32(skb, TCA_DRR_QUANTUM, cl->quantum); in drr_dump_class()
375 cl->deficit = cl->quantum; in drr_enqueue()
410 cl->deficit += cl->quantum; in drr_dequeue()
Dsch_sfq.c115 unsigned int quantum; /* Allotment per round: MUST BE >= MTU */ member
499 q->quantum = ctl->quantum ? : psched_mtu(qdisc_dev(sch)); in sfq_change()
500 q->scaled_quantum = SFQ_ALLOT_SIZE(q->quantum); in sfq_change()
540 q->quantum = psched_mtu(qdisc_dev(sch)); in sfq_init()
541 q->scaled_quantum = SFQ_ALLOT_SIZE(q->quantum); in sfq_init()
589 opt.quantum = q->quantum; in sfq_dump()
Dsch_htb.c90 int quantum; /* but stored for parent-to-leaf return */ member
842 cl->un.leaf.deficit[level] += cl->quantum; in htb_dequeue_tree()
1090 opt.quantum = cl->quantum; in htb_dump_class()
1442 cl->quantum = rtab->rate.rate / q->rate2quantum; in htb_change_class()
1443 if (!hopt->quantum && cl->quantum < 1000) { in htb_change_class()
1447 cl->quantum = 1000; in htb_change_class()
1449 if (!hopt->quantum && cl->quantum > 200000) { in htb_change_class()
1453 cl->quantum = 200000; in htb_change_class()
1455 if (hopt->quantum) in htb_change_class()
1456 cl->quantum = hopt->quantum; in htb_change_class()
Dsch_cbq.c103 long quantum; /* Allotment per WRR round */ member
846 cl->deficit += cl->quantum; in cbq_dequeue_prio()
876 cl->deficit += cl->quantum; in cbq_dequeue_prio()
1056 cl->quantum = (cl->weight*cl->allot*q->nclasses[prio])/ in cbq_normalize_quanta()
1059 if (cl->quantum <= 0 || cl->quantum>32*qdisc_dev(cl->qdisc)->mtu) { in cbq_normalize_quanta()
1061 cl->common.classid, cl->quantum); in cbq_normalize_quanta()
1062 cl->quantum = qdisc_dev(cl->qdisc)->mtu/2 + 1; in cbq_normalize_quanta()
1237 cl->deficit = cl->quantum; in cbq_reset()
1397 q->link.quantum = q->link.allot; in cbq_init()
1887 cl->quantum = cl->allot; in cbq_change_class()
/linux-2.6.39/include/linux/
Dpkt_sched.h158 unsigned quantum; /* Bytes per round allocated to flow */ member
289 __u32 quantum; member
/linux-2.6.39/Documentation/
Dhw_random.txt55 using thermal noise generated from inherently random quantum
/linux-2.6.39/block/
Dcfq-iosched.c4073 CFQ_ATTR(quantum),