Home
last modified time | relevance | path

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

/linux/net/netfilter/ipset/
H A Dip_set_hash_gen.h47 #define AHASH_MAX(h) ((h)->bucketsize)
323 u8 bucketsize; /* max elements in an array block */ member
1081 if (h->bucketsize >= AHASH_MAX_TUNED) in mtype_add()
1083 else if (h->bucketsize <= multi) in mtype_add()
1084 h->bucketsize += AHASH_INIT_SIZE; in mtype_add()
1451 return h->bucketsize; in mtype_bucket_size()
1803 h->bucketsize = AHASH_MAX_SIZE; in IPSET_TOKEN()
1805 h->bucketsize = nla_get_u8(tb[IPSET_ATTR_BUCKETSIZE]); in IPSET_TOKEN()
1806 if (h->bucketsize < AHASH_INIT_SIZE) in IPSET_TOKEN()
1807 h->bucketsize = AHASH_INIT_SIZE; in IPSET_TOKEN()
[all …]
/linux/mm/
H A Dmm_init.c2308 unsigned long bucketsize, in alloc_large_system_hash() argument
2349 if (unlikely((numentries * bucketsize) < PAGE_SIZE)) in alloc_large_system_hash()
2350 numentries = PAGE_SIZE / bucketsize; in alloc_large_system_hash()
2357 max = div64_ul(max, bucketsize); in alloc_large_system_hash()
2371 size = bucketsize << log2qty; in alloc_large_system_hash()
/linux/fs/smb/server/
H A Dvfs_cache.c483 unsigned long bucketsize = sizeof(struct hlist_head); in ksmbd_inode_hash_init() local
489 size = bucketsize << inode_hash_shift; in ksmbd_inode_hash_init()