Searched refs:read_limit (Results 1 – 2 of 2) sorted by relevance
61 if (bucket->read_limit > (ev_int64_t) cfg->read_maximum) in ev_token_bucket_init_()62 bucket->read_limit = cfg->read_maximum; in ev_token_bucket_init_()66 bucket->read_limit = cfg->read_rate; in ev_token_bucket_init_()96 if ((cfg->read_maximum - bucket->read_limit) / n_ticks < cfg->read_rate) in ev_token_bucket_update_()97 bucket->read_limit = cfg->read_maximum; in ev_token_bucket_update_()99 bucket->read_limit += n_ticks * cfg->read_rate; in ev_token_bucket_update_()204 (is_write ? (x).write_limit : (x).read_limit) in bufferevent_get_rlim_max_()282 bev->rate_limiting->limit.read_limit -= bytes; in bufferevent_decrement_read_buckets_()283 if (bev->rate_limiting->limit.read_limit <= 0) { in bufferevent_decrement_read_buckets_()297 bev->rate_limiting->group->rate_limit.read_limit -= bytes; in bufferevent_decrement_read_buckets_()[all …]
41 ev_ssize_t read_limit, write_limit; member93 (b)->read_limit -= (n); \