Searched refs:numentries (Results 1 – 3 of 3) sorted by relevance
2309 unsigned long numentries, in alloc_large_system_hash() argument2325 if (!numentries) { in alloc_large_system_hash()2327 numentries = nr_kernel_pages; in alloc_large_system_hash()2331 numentries = round_up(numentries, SZ_1M / PAGE_SIZE); in alloc_large_system_hash()2337 for (adapt = ADAPT_SCALE_NPAGES; adapt < numentries; in alloc_large_system_hash()2345 numentries >>= (scale - PAGE_SHIFT); in alloc_large_system_hash()2347 numentries <<= (PAGE_SHIFT - scale); in alloc_large_system_hash()2349 if (unlikely((numentries * bucketsize) < PAGE_SIZE)) in alloc_large_system_hash()2350 numentries = PAGE_SIZE / bucketsize; in alloc_large_system_hash()2352 numentries = roundup_pow_of_two(numentries); in alloc_large_system_hash()[all …]
300 unsigned long numentries, int scale,
482 unsigned long numentries = 16384; in ksmbd_inode_hash_init() local486 inode_hash_shift = ilog2(numentries); in ksmbd_inode_hash_init()