Home
last modified time | relevance | path

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

/linux/mm/
H A Dmm_init.c2367 unsigned long numentries, in alloc_large_system_hash() argument
2383 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 …]
/linux/include/net/
H A Dinet_hashtables.h300 unsigned long numentries, int scale,
/linux/fs/smb/server/
H A Dvfs_cache.c345 unsigned long numentries = 16384; in ksmbd_inode_hash_init() local
349 inode_hash_shift = ilog2(numentries); in ksmbd_inode_hash_init()
/linux/net/ipv4/
H A Dinet_hashtables.c1280 unsigned long numentries, int scale, in inet_hashinfo2_init() argument
1288 numentries, in inet_hashinfo2_init()