Lines Matching defs:hopt
1781 struct tc_htb_opt *hopt;
1800 hopt = nla_data(tb[TCA_HTB_PARMS]);
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],
1821 if (hopt->ceil.linklayer == TC_LINKLAYER_UNAWARE)
1822 qdisc_put_rtab(qdisc_get_rtab(&hopt->ceil, tb[TCA_HTB_CTAB],
1907 .rate = max_t(u64, hopt->rate.rate, rate64),
1908 .ceil = max_t(u64, hopt->ceil.rate, ceil64),
1909 .prio = hopt->prio,
1910 .quantum = hopt->quantum,
1929 .rate = max_t(u64, hopt->rate.rate, rate64),
1930 .ceil = max_t(u64, hopt->ceil.rate, ceil64),
1931 .prio = hopt->prio,
1932 .quantum = hopt->quantum,
1987 cl->tokens = PSCHED_TICKS2NS(hopt->buffer);
1988 cl->ctokens = PSCHED_TICKS2NS(hopt->cbuffer);
2016 .rate = max_t(u64, hopt->rate.rate, rate64),
2017 .ceil = max_t(u64, hopt->ceil.rate, ceil64),
2018 .prio = hopt->prio,
2019 .quantum = hopt->quantum,
2036 psched_ratecfg_precompute(&cl->rate, &hopt->rate, rate64);
2037 psched_ratecfg_precompute(&cl->ceil, &hopt->ceil, ceil64);
2048 if (!hopt->quantum && cl->quantum < 1000) {
2052 if (!hopt->quantum && cl->quantum > 200000) {
2056 if (hopt->quantum)
2057 cl->quantum = hopt->quantum;
2058 if ((cl->prio = hopt->prio) >= TC_HTB_NUMPRIO)
2062 cl->buffer = PSCHED_TICKS2NS(hopt->buffer);
2063 cl->cbuffer = PSCHED_TICKS2NS(hopt->cbuffer);