函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\dcache.c Create Date:2022-07-29 10:37:34
Last Modify:2020-03-18 10:27:32 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__d_rehash

函数原型:static void __d_rehash(struct dentry *entry)

返回类型:void

参数:

类型参数名称
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)
调用者
名称描述
d_rehash在哈希表中添加目录项
__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