Home
last modified time | relevance | path

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

/net/netfilter/ipvs/
Dip_vs_mh.c59 #define IP_VS_MH_TAB_SIZE primes[IP_VS_MH_TAB_INDEX] macro
112 for (i = 0; i < IP_VS_MH_TAB_SIZE; i++) { in ip_vs_mh_reset()
145 IP_VS_MH_TAB_SIZE; in ip_vs_mh_permutate()
148 (IP_VS_MH_TAB_SIZE - 1) + 1; in ip_vs_mh_permutate()
177 table = kcalloc(BITS_TO_LONGS(IP_VS_MH_TAB_SIZE), in ip_vs_mh_populate()
185 while (n < IP_VS_MH_TAB_SIZE) { in ip_vs_mh_populate()
202 if (ds->perm >= IP_VS_MH_TAB_SIZE) in ip_vs_mh_populate()
203 ds->perm -= IP_VS_MH_TAB_SIZE; in ip_vs_mh_populate()
218 if (++n == IP_VS_MH_TAB_SIZE) in ip_vs_mh_populate()
240 % IP_VS_MH_TAB_SIZE; in ip_vs_mh_get()
[all …]