HomeSort by relevance Sort by last modified time
    Searched refs:read_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
93 (b)->read_limit -= (n); \
bufferevent_ratelim.c 60 if (bucket->read_limit > (ev_int64_t) cfg->read_maximum)
61 bucket->read_limit = cfg->read_maximum;
65 bucket->read_limit = cfg->read_rate;
95 if ((cfg->read_maximum - bucket->read_limit) / n_ticks < cfg->read_rate)
96 bucket->read_limit = cfg->read_maximum;
98 bucket->read_limit += n_ticks * cfg->read_rate;
206 (is_write ? (x).write_limit : (x).read_limit)
284 bev->rate_limiting->limit.read_limit -= bytes;
285 if (bev->rate_limiting->limit.read_limit <= 0) {
299 bev->rate_limiting->group->rate_limit.read_limit -= bytes
    [all...]

Completed in 340 milliseconds