Home
last modified time | relevance | path

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

/external/libevent/
Dbufferevent_ratelim.c62 if (bucket->write_limit > (ev_int64_t) cfg->write_maximum) in ev_token_bucket_init()
63 bucket->write_limit = cfg->write_maximum; in ev_token_bucket_init()
101 if ((cfg->write_maximum - bucket->write_limit) / n_ticks < cfg->write_rate) in ev_token_bucket_update()
102 bucket->write_limit = cfg->write_maximum; in ev_token_bucket_update()
167 r->write_maximum = write_burst; in ev_token_bucket_cfg_new()
684 if (g->rate_limit.write_limit > (ev_ssize_t)cfg->write_maximum) in bufferevent_rate_limit_group_set_cfg()
685 g->rate_limit.write_limit = cfg->write_maximum; in bufferevent_rate_limit_group_set_cfg()
Dratelim-internal.h56 size_t write_maximum; member