HomeSort by relevance Sort by last modified time
    Searched refs:write_limit (Results 1 - 2 of 2) sorted by null

  /external/libevent/
ratelim-internal.h 41 ev_ssize_t read_limit, write_limit; member in struct:ev_token_bucket
98 (b)->write_limit -= (n); \
bufferevent_ratelim.c 62 if (bucket->write_limit > (ev_int64_t) cfg->write_maximum)
63 bucket->write_limit = cfg->write_maximum;
66 bucket->write_limit = cfg->write_rate;
101 if ((cfg->write_maximum - bucket->write_limit) / n_ticks < cfg->write_rate)
102 bucket->write_limit = cfg->write_maximum;
104 bucket->write_limit += n_ticks * cfg->write_rate;
206 (is_write ? (x).write_limit : (x).read_limit)
322 bev->rate_limiting->limit.write_limit -= bytes;
323 if (bev->rate_limiting->limit.write_limit <= 0) {
337 bev->rate_limiting->group->rate_limit.write_limit -= bytes
    [all...]

Completed in 97 milliseconds