Lines Matching refs:ctl
385 struct tc_gred_qopt *ctl, int prio, in gred_change_vq() argument
401 if (ctl->limit > sch->limit) in gred_change_vq()
404 q->limit = ctl->limit; in gred_change_vq()
410 ctl->qth_min, ctl->qth_max, ctl->Wlog, ctl->Plog, in gred_change_vq()
411 ctl->Scell_log, stab, max_P); in gred_change_vq()
427 struct tc_gred_qopt *ctl; in gred_change() local
455 ctl = nla_data(tb[TCA_GRED_PARMS]); in gred_change()
458 if (ctl->DP >= table->DPs) in gred_change()
462 if (ctl->prio == 0) { in gred_change()
469 "setting default to %d\n", ctl->DP, def_prio); in gred_change()
473 prio = ctl->prio; in gred_change()
479 err = gred_change_vq(sch, ctl->DP, ctl, prio, stab, max_P, &prealloc); in gred_change()