Home
last modified time | relevance | path

Searched refs:read_maximum (Results 1 – 2 of 2) sorted by relevance

/external/libevent/
Dbufferevent_ratelim.c60 if (bucket->read_limit > (ev_int64_t) cfg->read_maximum) in ev_token_bucket_init()
61 bucket->read_limit = cfg->read_maximum; in ev_token_bucket_init()
95 if ((cfg->read_maximum - bucket->read_limit) / n_ticks < cfg->read_rate) in ev_token_bucket_update()
96 bucket->read_limit = cfg->read_maximum; in ev_token_bucket_update()
166 r->read_maximum = read_burst; in ev_token_bucket_cfg_new()
682 if (g->rate_limit.read_limit > (ev_ssize_t)cfg->read_maximum) in bufferevent_rate_limit_group_set_cfg()
683 g->rate_limit.read_limit = cfg->read_maximum; in bufferevent_rate_limit_group_set_cfg()
Dratelim-internal.h52 size_t read_maximum; member