Home
last modified time | relevance | path

Searched refs:IPVS_EST_NTICKS (Results 1 – 3 of 3) sorted by relevance

/linux/net/netfilter/ipvs/
H A Dip_vs_est.c224 if (row >= IPVS_EST_NTICKS) in ip_vs_estimation_kthread()
303 kd->est_max_count = IPVS_EST_NTICKS * kd->tick_max; in ip_vs_est_set_params()
345 bitmap_fill(kd->avail, IPVS_EST_NTICKS); in ip_vs_est_add_kthread()
428 if (kd->est_count >= 2 * kd->tick_max || delay < IPVS_EST_NTICKS - 1) in ip_vs_enqueue_estimator()
433 if (crow >= IPVS_EST_NTICKS) in ip_vs_enqueue_estimator()
434 crow -= IPVS_EST_NTICKS; in ip_vs_enqueue_estimator()
436 if (delay >= IPVS_EST_NTICKS - 1) { in ip_vs_enqueue_estimator()
439 if (crow < IPVS_EST_NTICKS - 1) { in ip_vs_enqueue_estimator()
444 row = find_last_bit(kd->avail, IPVS_EST_NTICKS); in ip_vs_enqueue_estimator()
447 row = IPVS_EST_NTICKS; in ip_vs_enqueue_estimator()
[all …]
H A Dip_vs_ctl.c3192 IPVS_EST_NTICKS); in ip_vs_status_show()
/linux/include/net/
H A Dip_vs.h444 #define IPVS_EST_NTICKS 50 macro
446 #define IPVS_EST_TICK ((2 * HZ) / IPVS_EST_NTICKS)
462 ALIGN_DOWN(2 * 1000 * 10 / IPVS_EST_LOAD_DIVISOR / IPVS_EST_NTICKS, 8)
473 #if IPVS_EST_NTICKS > 127
490 struct ip_vs_est_tick_data __rcu *ticks[IPVS_EST_NTICKS];
491 DECLARE_BITMAP(avail, IPVS_EST_NTICKS); /* tick has space for ests */
495 int tick_len[IPVS_EST_NTICKS]; /* est count */