Searched refs:avail_ (Results 1 – 2 of 2) sorted by relevance
48 avail_(burst), in RateLimit()63 return avail_; in avail()70 n = std::min(avail_, n); in drain()71 avail_ -= n; in drain()72 if (avail_ == 0) { in drain()81 if (avail_ + rate_ > burst_) { in regen()82 avail_ = burst_; in regen()84 avail_ += rate_; in regen()87 if (w_->fd >= 0 && avail_ > 0 && startw_req_) { in regen()98 if (rate_ == 0 || avail_ > 0) { in startw()
62 size_t avail_; variable