Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:d_hash

Proto:static inline struct hlist_bl_head *d_hash(unsigned int hash)

Type:struct hlist_bl_head

Parameter:

TypeParameterName
unsigned inthash
103  Return dentry_hashtable + (hash >> 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
___d_dropd_drop - drop a dentry*@dentry: dentry to drop* d_drop() unhashes the entry from the parent dentry hashes, so that it won't* be found through a VFS lookup any more
__d_lookup_rcu__d_lookup_rcu - search for a dentry (racy, store-free)*@parent: parent dentry*@name: qstr of name we wish to find*@seqp: returns d_seq value at the point where the dentry was found* Returns: dentry, or NULL* __d_lookup_rcu is the dcache lookup function
__d_lookup__d_lookup - search for a dentry (racy)*@parent: parent dentry*@name: qstr of name we wish to find* Returns: dentry, or NULL* __d_lookup is like d_lookup, however it may (rarely) return a* false-negative result due to unrelated rename activity
__d_rehash