Searched refs:numentries (Results 1 – 4 of 4) sorted by relevance
2367 unsigned long numentries, in alloc_large_system_hash() argument2383 if (!numentries) { in alloc_large_system_hash()2385 numentries = nr_kernel_pages; in alloc_large_system_hash()2389 numentries = round_up(numentries, SZ_1M / PAGE_SIZE); in alloc_large_system_hash()2395 for (adapt = ADAPT_SCALE_NPAGES; adapt < numentries; in alloc_large_system_hash()2403 numentries >>= (scale - PAGE_SHIFT); in alloc_large_system_hash()2405 numentries <<= (PAGE_SHIFT - scale); in alloc_large_system_hash()2407 if (unlikely((numentries * bucketsize) < PAGE_SIZE)) in alloc_large_system_hash()2408 numentries = PAGE_SIZE / bucketsize; in alloc_large_system_hash()2410 numentries = roundup_pow_of_two(numentries); in alloc_large_system_hash()[all …]
300 unsigned long numentries, int scale,
345 unsigned long numentries = 16384; in ksmbd_inode_hash_init() local349 inode_hash_shift = ilog2(numentries); in ksmbd_inode_hash_init()
1280 unsigned long numentries, int scale, in inet_hashinfo2_init() argument1288 numentries, in inet_hashinfo2_init()