Searched refs:sysctl_sync_threshold (Results 1 – 5 of 5) sorted by relevance
925 int sysctl_sync_threshold[2]; member984 static inline int sysctl_sync_threshold(struct netns_ipvs *ipvs) in sysctl_sync_threshold() function986 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
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()
1962 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()
914 ip_vs_sync_conn(ipvs, cp, sysctl_sync_threshold(ipvs)); in ip_vs_conn_expire()
2082 pkts = sysctl_sync_threshold(ipvs); in ip_vs_in_hook()