Home
last modified time | relevance | path

Searched refs:sysctl_sync_threshold (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/include/net/
Dip_vs.h989 int sysctl_sync_threshold[2]; member
1062 static inline int sysctl_sync_threshold(struct netns_ipvs *ipvs) in sysctl_sync_threshold() function
1064 return ipvs->sysctl_sync_threshold[0]; in sysctl_sync_threshold()
1069 return READ_ONCE(ipvs->sysctl_sync_threshold[1]); in sysctl_sync_period()
1173 static inline int sysctl_sync_threshold(struct netns_ipvs *ipvs) in sysctl_sync_threshold() function
/linux-6.12.1/net/netfilter/ipvs/
Dip_vs_sync.c524 pkts % sync_period != sysctl_sync_threshold(ipvs)) in ip_vs_sync_conn_needed()
527 pkts != sysctl_sync_threshold(ipvs)) in ip_vs_sync_conn_needed()
620 pkts = sysctl_sync_threshold(ipvs); in ip_vs_sync_conn_v0()
781 pkts = sysctl_sync_threshold(ipvs); in ip_vs_sync_conn()
928 atomic_set(&cp->in_pkts, sysctl_sync_threshold(ipvs)); in ip_vs_proc_conn()
Dip_vs_ctl.c2186 sizeof(((struct netns_ipvs *)0)->sysctl_sync_threshold),
4329 ipvs->sysctl_sync_threshold[0] = DEFAULT_SYNC_THRESHOLD; in ip_vs_control_net_init_sysctl()
4330 ipvs->sysctl_sync_threshold[1] = DEFAULT_SYNC_PERIOD; in ip_vs_control_net_init_sysctl()
4331 tbl[idx].data = &ipvs->sysctl_sync_threshold; in ip_vs_control_net_init_sysctl()
4333 tbl[idx++].maxlen = sizeof(ipvs->sysctl_sync_threshold); in ip_vs_control_net_init_sysctl()
Dip_vs_conn.c914 ip_vs_sync_conn(ipvs, cp, sysctl_sync_threshold(ipvs)); in ip_vs_conn_expire()
Dip_vs_core.c2080 pkts = sysctl_sync_threshold(ipvs); in ip_vs_in_hook()