Searched refs:write_rate (Results 1 – 3 of 3) sorted by relevance
66 bucket->write_limit = cfg->write_rate; in ev_token_bucket_init()101 if ((cfg->write_maximum - bucket->write_limit) / n_ticks < cfg->write_rate) in ev_token_bucket_update()104 bucket->write_limit += n_ticks * cfg->write_rate; in ev_token_bucket_update()143 size_t write_rate, size_t write_burst, in ev_token_bucket_cfg_new() argument153 if (read_rate > read_burst || write_rate > write_burst || in ev_token_bucket_cfg_new()154 read_rate < 1 || write_rate < 1) in ev_token_bucket_cfg_new()157 write_rate > EV_RATE_LIMIT_MAX || in ev_token_bucket_cfg_new()165 r->write_rate = write_rate; in ev_token_bucket_cfg_new()713 if (share > g->rate_limit_cfg.write_rate) in bufferevent_rate_limit_group_set_min_share()714 share = g->rate_limit_cfg.write_rate; in bufferevent_rate_limit_group_set_min_share()
54 size_t write_rate; member
633 size_t write_rate, size_t write_burst,