Lines Matching refs:rate_ns
221 u64 rate_ns; member
1465 if (q->rate_ns) { in cake_advance_shaper()
1467 u64 global_dur = (len * q->rate_ns) >> q->rate_shft; in cake_advance_shaper()
1962 if (!q->rate_ns) { in cake_dequeue()
2254 u64 rate_ns = 0; in cake_set_rate() local
2260 rate_ns = ((u64)NSEC_PER_SEC) << rate_shft; in cake_set_rate()
2261 rate_ns = div64_u64(rate_ns, max(MIN_RATE, rate)); in cake_set_rate()
2262 while (!!(rate_ns >> 34)) { in cake_set_rate()
2263 rate_ns >>= 1; in cake_set_rate()
2269 b->tin_rate_ns = rate_ns; in cake_set_rate()
2272 byte_target_ns = (byte_target * rate_ns) >> rate_shft; in cake_set_rate()
2535 q->rate_ns = q->tins[ft].tin_rate_ns; in cake_reconfigure()