Lines Matching refs:qt_rate
77 rtnl_copy_ratespec(&tbf->qt_rate, &opts.rate); in tbf_msg_parser()
110 r = nl_cancel_down_bytes(tbf->qt_rate.rs_rate, &ru); in tbf_dump_line()
111 rbit = nl_cancel_down_bits(tbf->qt_rate.rs_rate*8, &rubit); in tbf_dump_line()
128 double cl = nl_cancel_down_bytes(1 << tbf->qt_rate.rs_cell_log, in tbf_dump_details()
174 tbf->qt_rate.rs_mpu = tbf->qt_mpu; in tbf_get_opts()
175 rtnl_rcopy_ratespec(&opts.rate, &tbf->qt_rate); in tbf_get_opts()
178 1 << tbf->qt_rate.rs_cell_log, in tbf_get_opts()
179 tbf->qt_rate.rs_rate); in tbf_get_opts()
275 limit = calc_limit(&tbf->qt_rate, latency, tbf->qt_rate_bucket); in rtnl_qdisc_tbf_set_limit_by_latency()
379 tbf->qt_rate.rs_rate = rate; in rtnl_qdisc_tbf_set_rate()
381 tbf->qt_rate.rs_cell_log = cell_log; in rtnl_qdisc_tbf_set_rate()
399 return tbf->qt_rate.rs_rate; in rtnl_qdisc_tbf_get_rate()
431 return (1 << tbf->qt_rate.rs_cell_log); in rtnl_qdisc_tbf_get_rate_cell()