Home
last modified time | relevance | path

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

/linux/net/netfilter/ipvs/
H A Dip_vs_est.c220 if (row >= IPVS_EST_NTICKS) in ip_vs_estimation_kthread()
295 kd->est_max_count = IPVS_EST_NTICKS * kd->tick_max; in ip_vs_est_set_params()
332 bitmap_fill(kd->avail, IPVS_EST_NTICKS); in ip_vs_est_add_kthread()
418 if (kd->est_count >= 2 * kd->tick_max || delay < IPVS_EST_NTICKS - 1) in ip_vs_enqueue_estimator()
423 if (crow >= IPVS_EST_NTICKS) in ip_vs_enqueue_estimator()
424 crow -= IPVS_EST_NTICKS; in ip_vs_enqueue_estimator()
426 if (delay >= IPVS_EST_NTICKS - 1) { in ip_vs_enqueue_estimator()
429 if (crow < IPVS_EST_NTICKS - 1) { in ip_vs_enqueue_estimator()
434 row = find_last_bit(kd->avail, IPVS_EST_NTICKS); in ip_vs_enqueue_estimator()
437 row = IPVS_EST_NTICKS; in ip_vs_enqueue_estimator()
[all …]
/linux/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 */