Home
last modified time | relevance | path

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

/linux/net/netfilter/ipset/
H A Dip_set_hash_gen.h46 #define AHASH_MAX(h) ((h)->bucketsize)
299 u8 bucketsize; /* max elements in an array block */ member
938 if (h->bucketsize >= AHASH_MAX_TUNED) in mtype_add()
940 else if (h->bucketsize <= multi) in mtype_add()
941 h->bucketsize += AHASH_INIT_SIZE; in mtype_add()
1310 if (nla_put_u8(skb, IPSET_ATTR_BUCKETSIZE, h->bucketsize) || in mtype_head()
1594 h->bucketsize = AHASH_MAX_SIZE; in IPSET_TOKEN()
1596 h->bucketsize = nla_get_u8(tb[IPSET_ATTR_BUCKETSIZE]); in IPSET_TOKEN()
1597 if (h->bucketsize < AHASH_INIT_SIZE) in IPSET_TOKEN()
1598 h->bucketsize in IPSET_TOKEN()
[all...]
/linux/mm/
H A Dmm_init.c2450 unsigned long bucketsize, in alloc_large_system_hash() argument
2491 if (unlikely((numentries * bucketsize) < PAGE_SIZE)) in alloc_large_system_hash()
2492 numentries = PAGE_SIZE / bucketsize; in alloc_large_system_hash()
2499 do_div(max, bucketsize); in alloc_large_system_hash()
2513 size = bucketsize << log2qty; in alloc_large_system_hash()
2527 * If bucketsize is not a power-of-two, we may free in alloc_large_system_hash()