Home
last modified time | relevance | path

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

/linux-6.12.1/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 = bitmap_zalloc(IP_VS_MH_TAB_SIZE, GFP_KERNEL); in ip_vs_mh_populate()
184 while (n < IP_VS_MH_TAB_SIZE) { in ip_vs_mh_populate()
201 if (ds->perm >= IP_VS_MH_TAB_SIZE) in ip_vs_mh_populate()
202 ds->perm -= IP_VS_MH_TAB_SIZE; in ip_vs_mh_populate()
217 if (++n == IP_VS_MH_TAB_SIZE) in ip_vs_mh_populate()
239 % IP_VS_MH_TAB_SIZE; in ip_vs_mh_get()
[all …]