Searched refs:sysctl_sync_threshold (Results 1 – 5 of 5) sorted by relevance
989 int sysctl_sync_threshold[2]; member1062 static inline int sysctl_sync_threshold(struct netns_ipvs *ipvs) in sysctl_sync_threshold() function1064 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
524 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()
2186 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()
914 ip_vs_sync_conn(ipvs, cp, sysctl_sync_threshold(ipvs)); in ip_vs_conn_expire()
2080 pkts = sysctl_sync_threshold(ipvs); in ip_vs_in_hook()