Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\dcache.c Create Date:2022-07-28 20:07:31
Last Modify:2020-03-18 10:27:32 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dcache_init

Proto:static void __init dcache_init(void)

Type:void

Parameter:Nothing

3170  dentry_cache = To whitelist a single field for copying to/from usercopy, use this* macro instead for KMEM_CACHE() above.(dentry, Objects are reclaimable | Panic if kmem_cache_create() fails | Spread some memory over cpuset | SLAB_ACCOUNT, d_iname)
3175  If Not hashdist Then Return
3178  dentry_hashtable = allocate a large system hash table from bootmem* - it is assumed that the hash table must contain an exact power-of-2* quantity of entries* - limit is the number of hash buckets, not the total allocation size
3188  This is the single most critical data structure when it comes* to the dcache: the hashtable for lookups. Somebody should try* to make this good - I've just made it work.* This hash-function tries to avoid losing too many bits of hash = 32 - This is the single most critical data structure when it comes* to the dcache: the hashtable for lookups. Somebody should try* to make this good - I've just made it work.* This hash-function tries to avoid losing too many bits of hash
Caller
NameDescribe
vfs_caches_init