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.c227 if (row >= IPVS_EST_NTICKS) in ip_vs_estimation_kthread()
307 kd->est_max_count = IPVS_EST_NTICKS * kd->tick_max; in ip_vs_est_set_params()
349 bitmap_fill(kd->avail, IPVS_EST_NTICKS); in ip_vs_est_add_kthread()
432 if (kd->est_count >= 2 * kd->tick_max || delay < IPVS_EST_NTICKS - 1) in ip_vs_enqueue_estimator()
437 if (crow >= IPVS_EST_NTICKS) in ip_vs_enqueue_estimator()
438 crow -= IPVS_EST_NTICKS; in ip_vs_enqueue_estimator()
440 if (delay >= IPVS_EST_NTICKS - 1) { in ip_vs_enqueue_estimator()
443 if (crow < IPVS_EST_NTICKS - 1) { in ip_vs_enqueue_estimator()
448 row = find_last_bit(kd->avail, IPVS_EST_NTICKS); in ip_vs_enqueue_estimator()
451 row = IPVS_EST_NTICKS; in ip_vs_enqueue_estimator()
[all …]
H A Dip_vs_ctl.c3345 IPVS_EST_NTICKS); in ip_vs_status_show()
/linux/include/net/
H A Dip_vs.h458 #define IPVS_EST_NTICKS 50 macro
460 #define IPVS_EST_TICK ((2 * HZ) / IPVS_EST_NTICKS)
476 ALIGN_DOWN(2 * 1000 * 10 / IPVS_EST_LOAD_DIVISOR / IPVS_EST_NTICKS, 8)
487 #if IPVS_EST_NTICKS > 127
504 struct ip_vs_est_tick_data __rcu *ticks[IPVS_EST_NTICKS];
505 DECLARE_BITMAP(avail, IPVS_EST_NTICKS); /* tick has space for ests */
509 int tick_len[IPVS_EST_NTICKS]; /* est count */