Home
last modified time | relevance | path

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

/linux-6.1.9/include/net/
Dip_vs.h925 int sysctl_sync_threshold[2]; member
984 static inline int sysctl_sync_threshold(struct netns_ipvs *ipvs) in sysctl_sync_threshold() function
986 return ipvs->sysctl_sync_threshold[0]; in sysctl_sync_threshold()
991 return READ_ONCE(ipvs->sysctl_sync_threshold[1]); in sysctl_sync_period()
1082 static inline int sysctl_sync_threshold(struct netns_ipvs *ipvs) in sysctl_sync_threshold() function
/linux-6.1.9/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.c1962 sizeof(((struct netns_ipvs *)0)->sysctl_sync_threshold),
4080 ipvs->sysctl_sync_threshold[0] = DEFAULT_SYNC_THRESHOLD; in ip_vs_control_net_init_sysctl()
4081 ipvs->sysctl_sync_threshold[1] = DEFAULT_SYNC_PERIOD; in ip_vs_control_net_init_sysctl()
4082 tbl[idx].data = &ipvs->sysctl_sync_threshold; in ip_vs_control_net_init_sysctl()
4083 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.c2082 pkts = sysctl_sync_threshold(ipvs); in ip_vs_in_hook()