Home
last modified time | relevance | path

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

/Linux-v5.15/net/netfilter/ipset/
Dip_set_hash_gen.h83 #define ahash_numof_locks(htable_bits) \ argument
84 ((htable_bits) < HTABLE_REGION_BITS ? 1 \
85 : jhash_size((htable_bits) - HTABLE_REGION_BITS))
86 #define ahash_sizeof_regions(htable_bits) \ argument
87 (ahash_numof_locks(htable_bits) * sizeof(struct ip_set_region))
88 #define ahash_region(n, htable_bits) \ argument
89 ((n) % ahash_numof_locks(htable_bits))
90 #define ahash_bucket_start(h, htable_bits) \ argument
91 ((htable_bits) < HTABLE_REGION_BITS ? 0 \
93 #define ahash_bucket_end(h, htable_bits) \ argument
[all …]