Searched refs:bucketsize (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-6.6/net/netfilter/ipset/ |
H A D | ip_set_hash_gen.h | 45 #define AHASH_MAX(h) ((h)->bucketsize) 298 u8 bucketsize; /* max elements in an array block */ member 937 if (h->bucketsize >= AHASH_MAX_TUNED) in mtype_add() 939 else if (h->bucketsize <= multi) in mtype_add() 940 h->bucketsize += AHASH_INIT_SIZE; in mtype_add() 1309 if (nla_put_u8(skb, IPSET_ATTR_BUCKETSIZE, h->bucketsize) || in mtype_head() 1593 h->bucketsize = AHASH_MAX_SIZE; in IPSET_TOKEN() 1595 h->bucketsize = nla_get_u8(tb[IPSET_ATTR_BUCKETSIZE]); in IPSET_TOKEN() 1596 if (h->bucketsize < AHASH_INIT_SIZE) in IPSET_TOKEN() 1597 h->bucketsize in IPSET_TOKEN() [all...] |
/kernel/linux/linux-6.6/fs/smb/server/ |
H A D | vfs_cache.c | 223 unsigned long bucketsize = sizeof(struct hlist_head); in ksmbd_inode_hash_init() local 229 size = bucketsize << inode_hash_shift; in ksmbd_inode_hash_init()
|
/kernel/linux/linux-6.6/mm/ |
H A D | mm_init.c | 2464 unsigned long bucketsize, in alloc_large_system_hash() 2506 if (unlikely((numentries * bucketsize) < PAGE_SIZE)) in alloc_large_system_hash() 2507 numentries = PAGE_SIZE / bucketsize; in alloc_large_system_hash() 2514 do_div(max, bucketsize); in alloc_large_system_hash() 2528 size = bucketsize << log2qty; in alloc_large_system_hash() 2542 * If bucketsize is not a power-of-two, we may free in alloc_large_system_hash() 2463 alloc_large_system_hash(const char *tablename, unsigned long bucketsize, unsigned long numentries, int scale, int flags, unsigned int *_hash_shift, unsigned int *_hash_mask, unsigned long low_limit, unsigned long high_limit) alloc_large_system_hash() argument
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | memblock.h | 575 unsigned long bucketsize,
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | memblock.h | 576 unsigned long bucketsize,
|
/kernel/linux/linux-5.10/mm/ |
H A D | page_alloc.c | 8346 unsigned long bucketsize, in alloc_large_system_hash() 8395 } else if (unlikely((numentries * bucketsize) < PAGE_SIZE)) in alloc_large_system_hash() 8396 numentries = PAGE_SIZE / bucketsize; in alloc_large_system_hash() 8403 do_div(max, bucketsize); in alloc_large_system_hash() 8417 size = bucketsize << log2qty; in alloc_large_system_hash() 8429 * If bucketsize is not a power-of-two, we may free in alloc_large_system_hash() 8345 alloc_large_system_hash(const char *tablename, unsigned long bucketsize, unsigned long numentries, int scale, int flags, unsigned int *_hash_shift, unsigned int *_hash_mask, unsigned long low_limit, unsigned long high_limit) alloc_large_system_hash() argument
|
Completed in 23 milliseconds