Lines Matching refs:rate64
50 __u64 rate64 = 0, prate64 = 0; in tbf_parse_opt() local
125 if (rate64) { in tbf_parse_opt()
129 if (get_rate64(&rate64, *argv)) { in tbf_parse_opt()
176 if (rate64 == 0) { in tbf_parse_opt()
201 opt.rate.rate = (rate64 >= (1ULL << 32)) ? ~0U : rate64; in tbf_parse_opt()
205 double lim = rate64*(double)latency/TIME_UNITS_PER_SEC + buffer; in tbf_parse_opt()
238 if (rate64 >= (1ULL << 32)) in tbf_parse_opt()
239 addattr_l(n, 2124, TCA_TBF_RATE64, &rate64, sizeof(rate64)); in tbf_parse_opt()
258 __u64 rate64 = 0, prate64 = 0; in tbf_print_opt() local
275 rate64 = qopt->rate.rate; in tbf_print_opt()
277 RTA_PAYLOAD(tb[TCA_TBF_RATE64]) >= sizeof(rate64)) in tbf_print_opt()
278 rate64 = rta_getattr_u64(tb[TCA_TBF_RATE64]); in tbf_print_opt()
279 fprintf(f, "rate %s ", sprint_rate(rate64, b1)); in tbf_print_opt()
280 buffer = tc_calc_xmitsize(rate64, qopt->buffer); in tbf_print_opt()
308 latency = TIME_UNITS_PER_SEC*(qopt->limit/(double)rate64) - tc_core_tick2time(qopt->buffer); in tbf_print_opt()