Lines Matching defs:share
231 ev_ssize_t share;
243 share = 0;
247 share = LIM(g->rate_limit) / g->n_members;
248 if (share < g->min_share)
249 share = g->min_share;
252 CLAMPTO(share);
706 size_t share)
708 if (share > EV_SSIZE_MAX)
711 g->configured_min_share = share;
713 /* Can't set share to less than the one-tick maximum. IOW, at steady
715 if (share > g->rate_limit_cfg.read_rate)
716 share = g->rate_limit_cfg.read_rate;
717 if (share > g->rate_limit_cfg.write_rate)
718 share = g->rate_limit_cfg.write_rate;
720 g->min_share = share;