Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__d_rehash

Proto:static void __d_rehash(struct dentry *entry)

Type:void

Parameter:

TypeParameterName
struct dentry *entry
2462  b = d_hash(hash)
2464  hlist_bl_lock(b)
2465  hlist_bl_add_head_rcu*@n: the element to add to the hash list
2466  hlist_bl_unlock(b)
Caller
NameDescribe
d_rehashd_rehash - add an entry back to the hash*@entry: dentry to add to the hash* Adds a dentry to the hash according to its name.
__d_add
d_exact_aliasd_exact_alias - find and hash an exact unhashed alias*@entry: dentry to add*@inode: The inode to go with this dentry* If an unhashed dentry with the same name/parent and desired* inode already exists, hash and return it. Otherwise, return* NULL.
__d_move__d_move - move a dentry*@dentry: entry to move*@target: new dentry*@exchange: exchange the two dentries* Update the dcache to reflect the move of a file name