Home
last modified time | relevance | path

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

/openbmc/linux/net/netfilter/ipset/
H A Dip_set_hash_gen.h60 #define ahash_numof_locks(htable_bits) \ argument
61 ((htable_bits) < HTABLE_REGION_BITS ? 1 \
62 : jhash_size((htable_bits) - HTABLE_REGION_BITS))
63 #define ahash_sizeof_regions(htable_bits) \ argument
64 (ahash_numof_locks(htable_bits) * sizeof(struct ip_set_region))
65 #define ahash_region(n, htable_bits) \ argument
66 ((n) % ahash_numof_locks(htable_bits))
67 #define ahash_bucket_start(h, htable_bits) \ argument
68 ((htable_bits) < HTABLE_REGION_BITS ? 0 \
70 #define ahash_bucket_end(h, htable_bits) \ argument
[all …]