Lines Matching refs:BW_METER_BUCKETS
209 #define BW_METER_BUCKETS 1024
765 bzero(V_bw_meter_timers, BW_METER_BUCKETS * sizeof(*V_bw_meter_timers));
1826 x->bm_time_hash = BW_METER_BUCKETS;
2113 (hash) %= BW_METER_BUCKETS; \
2166 if (time_hash >= BW_METER_BUCKETS)
2183 x->bm_time_hash = BW_METER_BUCKETS;
2208 if (loops > BW_METER_BUCKETS)
2209 loops = BW_METER_BUCKETS;
2217 for (i = (now.tv_sec - loops) % BW_METER_BUCKETS; loops > 0; loops--) {
2220 if (++i >= BW_METER_BUCKETS)
2245 if (++time_hash >= BW_METER_BUCKETS)
2834 V_bw_meter_timers = mallocarray(BW_METER_BUCKETS,