Searched refs:R_tab (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/net/sched/
H A Dact_police.c123 struct qdisc_rate_table *R_tab = NULL, *P_tab = NULL; tcf_act_police_locate() local
167 R_tab = qdisc_get_rtab(&parm->rate, tb[TCA_POLICE_RATE]); tcf_act_police_locate()
168 if (R_tab == NULL) tcf_act_police_locate()
198 if (R_tab) tcf_act_police_locate()
199 police->tcfp_mtu = 255 << R_tab->rate.cell_log; tcf_act_police_locate()
201 if (R_tab) { tcf_act_police_locate()
203 psched_ratecfg_precompute(&police->rate, &R_tab->rate, 0); tcf_act_police_locate()
204 qdisc_put_rtab(R_tab); tcf_act_police_locate()
249 qdisc_put_rtab(R_tab); tcf_act_police_locate()
H A Dsch_cbq.c95 struct qdisc_rate_table *R_tab; member in struct:cbq_class
175 #define L2T(cl, len) qdisc_l2t((cl)->R_tab, len)
1359 if ((q->link.R_tab = qdisc_get_rtab(r, tb[TCA_CBQ_RTAB])) == NULL) cbq_init()
1382 q->link.weight = q->link.R_tab->rate.rate; cbq_init()
1403 qdisc_put_rtab(q->link.R_tab); cbq_init()
1411 if (nla_put(skb, TCA_CBQ_RATE, sizeof(cl->R_tab->rate), &cl->R_tab->rate)) cbq_dump_rate()
1667 qdisc_put_rtab(cl->R_tab); cbq_destroy_class()
1773 qdisc_put_rtab(cl->R_tab); cbq_change_class()
1774 cl->R_tab = rtab; cbq_change_class()
1859 cl->R_tab = rtab; cbq_change_class()
1870 cl->weight = cl->R_tab->rate.rate; cbq_change_class()

Completed in 208 milliseconds