Searched refs:read_rate (Results 1 – 3 of 3) sorted by relevance
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_()99 bucket->read_limit += n_ticks * cfg->read_rate; in ev_token_bucket_update_()143 ev_token_bucket_cfg_new(size_t read_rate, size_t read_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()157 if (read_rate > EV_RATE_LIMIT_MAX || in ev_token_bucket_cfg_new()165 r->read_rate = read_rate; in ev_token_bucket_cfg_new()715 if (share > g->rate_limit_cfg.read_rate) in bufferevent_rate_limit_group_set_min_share()716 share = g->rate_limit_cfg.read_rate; in bufferevent_rate_limit_group_set_min_share()
50 size_t read_rate; member
781 size_t read_rate, size_t read_burst,