Lines Matching defs:rate
568 * rate: byte_per_unittime << 32
666 * if the specified rate is zero, the token bucket regulator is deleted.
674 u_int64_t rate, old_rate;
684 rate = profile->rate;
692 rate = (eff_rate * profile->percent) / 100;
695 if (rate == 0) {
712 printf("%s: TBR %s (rate %llu bps depth %u)\n", if_name(ifp),
714 "enabled", rate, profile->depth);
719 tbr->tbr_rate_raw = rate;
733 tbr->tbr_rate = TBR_SCALE(rate / 8) / machclk_freq;
754 /* a little fudge factor to get closer to rate */