Searched refs:sysctl_sync_threshold (Results 1 – 5 of 5) sorted by relevance
925 int sysctl_sync_threshold[2]; member983 static inline int sysctl_sync_threshold(struct netns_ipvs *ipvs) in sysctl_sync_threshold() function985 return ipvs->sysctl_sync_threshold[0]; in sysctl_sync_threshold()990 return READ_ONCE(ipvs->sysctl_sync_threshold[1]); in sysctl_sync_period()1076 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()
1966 sizeof(((struct netns_ipvs *)0)->sysctl_sync_threshold),4077 ipvs->sysctl_sync_threshold[0] = DEFAULT_SYNC_THRESHOLD; in ip_vs_control_net_init_sysctl()4078 ipvs->sysctl_sync_threshold[1] = DEFAULT_SYNC_PERIOD; in ip_vs_control_net_init_sysctl()4079 tbl[idx].data = &ipvs->sysctl_sync_threshold; in ip_vs_control_net_init_sysctl()4080 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()
2138 pkts = sysctl_sync_threshold(ipvs); in ip_vs_in()