Searched refs:IPVS_EST_NTICKS (Results 1 - 2 of 2) sorted by relevance

/linux-master/net/netfilter/ipvs/
H A Dip_vs_est.c220 if (row >= IPVS_EST_NTICKS)
295 kd->est_max_count = IPVS_EST_NTICKS * kd->tick_max;
332 bitmap_fill(kd->avail, IPVS_EST_NTICKS);
418 if (kd->est_count >= 2 * kd->tick_max || delay < IPVS_EST_NTICKS - 1)
423 if (crow >= IPVS_EST_NTICKS)
424 crow -= IPVS_EST_NTICKS;
426 if (delay >= IPVS_EST_NTICKS - 1) {
429 if (crow < IPVS_EST_NTICKS - 1) {
434 row = find_last_bit(kd->avail, IPVS_EST_NTICKS);
437 row = IPVS_EST_NTICKS;
[all...]
/linux-master/include/net/
H A Dip_vs.h409 #define IPVS_EST_NTICKS 50 macro
411 #define IPVS_EST_TICK ((2 * HZ) / IPVS_EST_NTICKS)
427 ALIGN_DOWN(2 * 1000 * 10 / IPVS_EST_LOAD_DIVISOR / IPVS_EST_NTICKS, 8)
438 #if IPVS_EST_NTICKS > 127
455 struct ip_vs_est_tick_data __rcu *ticks[IPVS_EST_NTICKS];
456 DECLARE_BITMAP(avail, IPVS_EST_NTICKS); /* tick has space for ests */
459 int tick_len[IPVS_EST_NTICKS]; /* est count */

Completed in 109 milliseconds