Home
last modified time | relevance | path

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

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