Searched refs:LeakyBucket (Results 1 – 3 of 3) sorted by relevance
79 typedef struct LeakyBucket { struct85 } LeakyBucket; typedef93 LeakyBucket buckets[BUCKETS_COUNT]; /* leaky buckets */118 void throttle_leak_bucket(LeakyBucket *bkt, int64_t delta);120 int64_t throttle_compute_wait(LeakyBucket *bkt);
36 void throttle_leak_bucket(LeakyBucket *bkt, int64_t delta_ns) in throttle_leak_bucket()95 int64_t throttle_compute_wait(LeakyBucket *bkt) in throttle_compute_wait()353 LeakyBucket *bkt = &cfg->buckets[i]; in throttle_is_valid()491 LeakyBucket *bkt; in throttle_account()
27 static LeakyBucket bkt;455 LeakyBucket *b = &cfg.buckets[i]; in test_ranges()