Searched refs:rate_limit_cfg (Results 1 – 2 of 2) sorted by relevance
539 tick = ev_token_bucket_get_tick_(&now, &g->rate_limit_cfg); in bev_group_refill_callback_()540 ev_token_bucket_update_(&g->rate_limit, &g->rate_limit_cfg, tick); in bev_group_refill_callback_()651 memcpy(&g->rate_limit_cfg, cfg, sizeof(g->rate_limit_cfg)); in bufferevent_rate_limit_group_new()682 &g->rate_limit_cfg.tick_timeout, &cfg->tick_timeout, ==); in bufferevent_rate_limit_group_set_cfg()683 memcpy(&g->rate_limit_cfg, cfg, sizeof(g->rate_limit_cfg)); in bufferevent_rate_limit_group_set_cfg()714 if (share > g->rate_limit_cfg.read_rate) in bufferevent_rate_limit_group_set_min_share()715 share = g->rate_limit_cfg.read_rate; in bufferevent_rate_limit_group_set_min_share()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()
84 struct ev_token_bucket_cfg rate_limit_cfg; member