Searched refs:bucketsize (Results 1 – 4 of 4) sorted by relevance
46 #define AHASH_MAX(h) ((h)->bucketsize)65 ((h)->bucketsize = tune_bucketsize((h)->bucketsize, multi))308 u8 bucketsize; /* max elements in an array block */ member1549 h->bucketsize = AHASH_MAX_SIZE; in IPSET_TOKEN()1551 h->bucketsize = nla_get_u8(tb[IPSET_ATTR_BUCKETSIZE]); in IPSET_TOKEN()1552 if (h->bucketsize < AHASH_INIT_SIZE) in IPSET_TOKEN()1553 h->bucketsize = AHASH_INIT_SIZE; in IPSET_TOKEN()1554 else if (h->bucketsize > AHASH_MAX_SIZE) in IPSET_TOKEN()1555 h->bucketsize = AHASH_MAX_SIZE; in IPSET_TOKEN()1556 else if (h->bucketsize % 2) in IPSET_TOKEN()[all …]
221 unsigned long bucketsize = sizeof(struct hlist_head); in ksmbd_inode_hash_init() local227 size = bucketsize << inode_hash_shift; in ksmbd_inode_hash_init()
576 unsigned long bucketsize,
8693 unsigned long bucketsize, in alloc_large_system_hash() argument8743 } else if (unlikely((numentries * bucketsize) < PAGE_SIZE)) in alloc_large_system_hash()8744 numentries = PAGE_SIZE / bucketsize; in alloc_large_system_hash()8751 do_div(max, bucketsize); in alloc_large_system_hash()8765 size = bucketsize << log2qty; in alloc_large_system_hash()
Completed in 26 milliseconds