Lines Matching defs:rate
588 * rate: byte_per_unittime << 32
686 * if the specified rate is zero, the token bucket regulator is deleted.
694 u_int64_t rate, old_rate;
704 rate = profile->rate;
712 rate = (eff_rate * profile->percent) / 100;
715 if (rate == 0) {
732 printf("%s: TBR %s (rate %llu bps depth %u)\n", if_name(ifp),
734 "enabled", rate, profile->depth);
739 tbr->tbr_rate_raw = rate;
753 tbr->tbr_rate = TBR_SCALE(rate / 8) / machclk_freq;
774 /* a little fudge factor to get closer to rate */