Lines Matching refs:qdisc
178 void rtnl_qdisc_tbf_set_limit(struct rtnl_qdisc *qdisc, int limit) in rtnl_qdisc_tbf_set_limit() argument
182 if (!(tbf = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_tbf_set_limit()
218 int rtnl_qdisc_tbf_set_limit_by_latency(struct rtnl_qdisc *qdisc, int latency) in rtnl_qdisc_tbf_set_limit_by_latency() argument
223 if (!(tbf = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_tbf_set_limit_by_latency()
239 rtnl_qdisc_tbf_set_limit(qdisc, (int) limit); in rtnl_qdisc_tbf_set_limit_by_latency()
249 int rtnl_qdisc_tbf_get_limit(struct rtnl_qdisc *qdisc) in rtnl_qdisc_tbf_get_limit() argument
253 if (!(tbf = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_tbf_get_limit()
276 void rtnl_qdisc_tbf_set_rate(struct rtnl_qdisc *qdisc, int rate, int bucket, in rtnl_qdisc_tbf_set_rate() argument
282 if (!(tbf = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_tbf_set_rate()
302 int rtnl_qdisc_tbf_get_rate(struct rtnl_qdisc *qdisc) in rtnl_qdisc_tbf_get_rate() argument
306 if (!(tbf = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_tbf_get_rate()
320 int rtnl_qdisc_tbf_get_rate_bucket(struct rtnl_qdisc *qdisc) in rtnl_qdisc_tbf_get_rate_bucket() argument
324 if (!(tbf = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_tbf_get_rate_bucket()
338 int rtnl_qdisc_tbf_get_rate_cell(struct rtnl_qdisc *qdisc) in rtnl_qdisc_tbf_get_rate_cell() argument
342 if (!(tbf = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_tbf_get_rate_cell()
359 int rtnl_qdisc_tbf_set_peakrate(struct rtnl_qdisc *qdisc, int rate, int bucket, in rtnl_qdisc_tbf_set_peakrate() argument
365 if (!(tbf = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_tbf_set_peakrate()
387 int rtnl_qdisc_tbf_get_peakrate(struct rtnl_qdisc *qdisc) in rtnl_qdisc_tbf_get_peakrate() argument
391 if (!(tbf = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_tbf_get_peakrate()
405 int rtnl_qdisc_tbf_get_peakrate_bucket(struct rtnl_qdisc *qdisc) in rtnl_qdisc_tbf_get_peakrate_bucket() argument
409 if (!(tbf = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_tbf_get_peakrate_bucket()
423 int rtnl_qdisc_tbf_get_peakrate_cell(struct rtnl_qdisc *qdisc) in rtnl_qdisc_tbf_get_peakrate_cell() argument
427 if (!(tbf = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_tbf_get_peakrate_cell()