Lines Matching defs:hopt
1307 struct tc_htb_opt *hopt;
1326 hopt = nla_data(tb[TCA_HTB_PARMS]);
1327 if (!hopt->rate.rate || !hopt->ceil.rate)
1331 if (hopt->rate.linklayer == TC_LINKLAYER_UNAWARE)
1332 qdisc_put_rtab(qdisc_get_rtab(&hopt->rate, tb[TCA_HTB_RTAB],
1335 if (hopt->ceil.linklayer == TC_LINKLAYER_UNAWARE)
1336 qdisc_put_rtab(qdisc_get_rtab(&hopt->ceil, tb[TCA_HTB_CTAB],
1426 cl->tokens = PSCHED_TICKS2NS(hopt->buffer);
1427 cl->ctokens = PSCHED_TICKS2NS(hopt->cbuffer);
1455 psched_ratecfg_precompute(&cl->rate, &hopt->rate, rate64);
1456 psched_ratecfg_precompute(&cl->ceil, &hopt->ceil, ceil64);
1467 if (!hopt->quantum && cl->quantum < 1000) {
1471 if (!hopt->quantum && cl->quantum > 200000) {
1475 if (hopt->quantum)
1476 cl->quantum = hopt->quantum;
1477 if ((cl->prio = hopt->prio) >= TC_HTB_NUMPRIO)
1481 cl->buffer = PSCHED_TICKS2NS(hopt->buffer);
1482 cl->cbuffer = PSCHED_TICKS2NS(hopt->cbuffer);