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))
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
72 ((htable_bits) < HTABLE_REGION_BITS ? jhash_size(htable_bits) \
85 u8 htable_bits; /* size of hash table == 2^htable_bits */ member
[all …]