Searched refs:write_rate (Results 1 – 3 of 3) sorted by relevance
67 bucket->write_limit = cfg->write_rate; in ev_token_bucket_init_()102 if ((cfg->write_maximum - bucket->write_limit) / n_ticks < cfg->write_rate) in ev_token_bucket_update_()105 bucket->write_limit += n_ticks * cfg->write_rate; in ev_token_bucket_update_()144 size_t write_rate, size_t write_burst, in ev_token_bucket_cfg_new() argument154 if (read_rate > read_burst || write_rate > write_burst || in ev_token_bucket_cfg_new()155 read_rate < 1 || write_rate < 1) in ev_token_bucket_cfg_new()158 write_rate > EV_RATE_LIMIT_MAX || in ev_token_bucket_cfg_new()166 r->write_rate = write_rate; in ev_token_bucket_cfg_new()716 if (share > g->rate_limit_cfg.write_rate) in bufferevent_rate_limit_group_set_min_share()717 share = g->rate_limit_cfg.write_rate; in bufferevent_rate_limit_group_set_min_share()
54 size_t write_rate; member
785 size_t write_rate, size_t write_burst,