/kernel/linux/linux-6.6/mm/ |
H A D | mm_init.c | 2465 unsigned long numentries, in alloc_large_system_hash() 2481 if (!numentries) { in alloc_large_system_hash() 2483 numentries = nr_kernel_pages; in alloc_large_system_hash() 2484 numentries -= arch_reserved_kernel_pages(); in alloc_large_system_hash() 2488 numentries = round_up(numentries, SZ_1M / PAGE_SIZE); in alloc_large_system_hash() 2494 for (adapt = ADAPT_SCALE_NPAGES; adapt < numentries; in alloc_large_system_hash() 2502 numentries >>= (scale - PAGE_SHIFT); in alloc_large_system_hash() 2504 numentries <<= (PAGE_SHIFT - scale); in alloc_large_system_hash() 2506 if (unlikely((numentries * bucketsiz 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 [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | page_alloc.c | 8347 unsigned long numentries, in alloc_large_system_hash() 8362 if (!numentries) { in alloc_large_system_hash() 8364 numentries = nr_kernel_pages; in alloc_large_system_hash() 8365 numentries -= arch_reserved_kernel_pages(); in alloc_large_system_hash() 8369 numentries = round_up(numentries, (1<<20)/PAGE_SIZE); in alloc_large_system_hash() 8375 for (adapt = ADAPT_SCALE_NPAGES; adapt < numentries; in alloc_large_system_hash() 8383 numentries >>= (scale - PAGE_SHIFT); in alloc_large_system_hash() 8385 numentries <<= (PAGE_SHIFT - scale); in alloc_large_system_hash() 8391 if (!(numentries >> *_hash_shif 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 [all...] |
/kernel/linux/linux-6.6/fs/smb/server/ |
H A D | vfs_cache.c | 222 unsigned long numentries = 16384; in ksmbd_inode_hash_init() local 226 inode_hash_shift = ilog2(numentries); in ksmbd_inode_hash_init()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | inet_hashtables.h | 234 unsigned long numentries, int scale,
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | inet_hashtables.c | 897 unsigned long numentries, int scale, in inet_hashinfo2_init() 903 numentries, in inet_hashinfo2_init() 896 inet_hashinfo2_init(struct inet_hashinfo *h, const char *name, unsigned long numentries, int scale, unsigned long low_limit, unsigned long high_limit) inet_hashinfo2_init() argument
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | memblock.h | 576 unsigned long numentries,
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | memblock.h | 577 unsigned long numentries,
|
/kernel/linux/linux-6.6/include/net/ |
H A D | inet_hashtables.h | 300 unsigned long numentries, int scale,
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | inet_hashtables.c | 1191 unsigned long numentries, int scale, in inet_hashinfo2_init() 1197 numentries, in inet_hashinfo2_init() 1190 inet_hashinfo2_init(struct inet_hashinfo *h, const char *name, unsigned long numentries, int scale, unsigned long low_limit, unsigned long high_limit) inet_hashinfo2_init() argument
|