Searched refs:read_rate (Results 1 – 3 of 3) sorted by relevance
65 bucket->read_limit = cfg->read_rate; in ev_token_bucket_init()95 if ((cfg->read_maximum - bucket->read_limit) / n_ticks < cfg->read_rate) in ev_token_bucket_update()98 bucket->read_limit += n_ticks * cfg->read_rate; in ev_token_bucket_update()142 ev_token_bucket_cfg_new(size_t read_rate, size_t read_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()156 if (read_rate > EV_RATE_LIMIT_MAX || in ev_token_bucket_cfg_new()164 r->read_rate = read_rate; in ev_token_bucket_cfg_new()711 if (share > g->rate_limit_cfg.read_rate) in bufferevent_rate_limit_group_set_min_share()712 share = g->rate_limit_cfg.read_rate; in bufferevent_rate_limit_group_set_min_share()
50 size_t read_rate; member
632 size_t read_rate, size_t read_burst,