Home
last modified time | relevance | path

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

/linux-6.1.9/net/netfilter/ipset/
Dip_set_hash_gen.h45 #define AHASH_MAX(h) ((h)->bucketsize)
285 u8 bucketsize; /* max elements in an array block */ member
917 if (h->bucketsize >= AHASH_MAX_TUNED) in mtype_add()
919 else if (h->bucketsize <= multi) in mtype_add()
920 h->bucketsize += AHASH_INIT_SIZE; in mtype_add()
1277 if (nla_put_u8(skb, IPSET_ATTR_BUCKETSIZE, h->bucketsize) || in mtype_head()
1531 h->bucketsize = AHASH_MAX_SIZE; in IPSET_TOKEN()
1533 h->bucketsize = nla_get_u8(tb[IPSET_ATTR_BUCKETSIZE]); in IPSET_TOKEN()
1534 if (h->bucketsize < AHASH_INIT_SIZE) in IPSET_TOKEN()
1535 h->bucketsize = AHASH_INIT_SIZE; in IPSET_TOKEN()
[all …]
/linux-6.1.9/fs/ksmbd/
Dvfs_cache.c221 unsigned long bucketsize = sizeof(struct hlist_head); in ksmbd_inode_hash_init() local
227 size = bucketsize << inode_hash_shift; in ksmbd_inode_hash_init()
/linux-6.1.9/include/linux/
Dmemblock.h575 unsigned long bucketsize,
/linux-6.1.9/mm/
Dpage_alloc.c9054 unsigned long bucketsize, in alloc_large_system_hash() argument
9104 } else if (unlikely((numentries * bucketsize) < PAGE_SIZE)) in alloc_large_system_hash()
9105 numentries = PAGE_SIZE / bucketsize; in alloc_large_system_hash()
9112 do_div(max, bucketsize); in alloc_large_system_hash()
9126 size = bucketsize << log2qty; in alloc_large_system_hash()