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
1024 if (h->bucketsize >= AHASH_MAX_TUNED) in mtype_add()
1026 else if (h->bucketsize <= multi) in mtype_add()
1027 h->bucketsize += AHASH_INIT_SIZE; in mtype_add()
1378 return h->bucketsize; in mtype_bucket_size()
1729 h->bucketsize = AHASH_MAX_SIZE; in IPSET_TOKEN()
1731 h->bucketsize = nla_get_u8(tb[IPSET_ATTR_BUCKETSIZE]); in IPSET_TOKEN()
1732 if (h->bucketsize < AHASH_INIT_SIZE) in IPSET_TOKEN()
1733 h->bucketsize = AHASH_INIT_SIZE; in IPSET_TOKEN()
[all …]
/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()