Lines Matching defs:rate
65 static int htb_rate_est = 0; /* htb classes have a default rate estimator */
67 MODULE_PARM_DESC(htb_rate_est, "setup a default rate estimator (4sec 16sec) for htb classes");
96 struct psched_ratecfg rate;
98 s64 buffer, cbuffer;/* token bucket depth/rate */
152 int rate2quantum; /* quant = rate / rate2quantum */
663 toks -= (s64) psched_l2t_ns(&cl->rate, bytes);
692 * leaf and all ancestors and to rate bucket for ancestors at levels
1270 psched_ratecfg_getrate(&opt.rate, &cl->rate);
1281 if ((cl->rate.rate_bytes_ps >= (1ULL << 32)) &&
1282 nla_put_u64_64bit(skb, TCA_HTB_RATE64, cl->rate.rate_bytes_ps,
1801 if (!hopt->rate.rate || !hopt->ceil.rate)
1806 if (hopt->rate.overhead || hopt->ceil.overhead) {
1810 if (hopt->rate.mpu || hopt->ceil.mpu) {
1817 if (hopt->rate.linklayer == TC_LINKLAYER_UNAWARE)
1818 qdisc_put_rtab(qdisc_get_rtab(&hopt->rate, tb[TCA_HTB_RTAB],
1907 .rate = max_t(u64, hopt->rate.rate, rate64),
1908 .ceil = max_t(u64, hopt->ceil.rate, ceil64),
1929 .rate = max_t(u64, hopt->rate.rate, rate64),
1930 .ceil = max_t(u64, hopt->ceil.rate, ceil64),
2016 .rate = max_t(u64, hopt->rate.rate, rate64),
2017 .ceil = max_t(u64, hopt->ceil.rate, ceil64),
2036 psched_ratecfg_precompute(&cl->rate, &hopt->rate, rate64);
2043 u64 quantum = cl->rate.rate_bytes_ps;