Lines Matching refs:quantum
101 int quantum; /* but stored for parent-to-leaf return */ member
875 cl->leaf.deficit[level] += cl->quantum; in htb_dequeue_tree()
1097 opt.quantum = cl->quantum; in htb_dump_class()
1459 u64 quantum = cl->rate.rate_bytes_ps; in htb_change_class() local
1461 do_div(quantum, q->rate2quantum); in htb_change_class()
1462 cl->quantum = min_t(u64, quantum, INT_MAX); in htb_change_class()
1464 if (!hopt->quantum && cl->quantum < 1000) { in htb_change_class()
1466 cl->quantum = 1000; in htb_change_class()
1468 if (!hopt->quantum && cl->quantum > 200000) { in htb_change_class()
1470 cl->quantum = 200000; in htb_change_class()
1472 if (hopt->quantum) in htb_change_class()
1473 cl->quantum = hopt->quantum; in htb_change_class()