函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:d_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

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

返回类型:void

参数:

类型参数名称
struct dentry *dentry
484  如果此条件成立可能性小(为编译器优化)(linux/include/linux/dcache.h* Dirent cache data structures* (C) Copyright 1997 Thomas Schoebel-Theuer,* with heavy changes by Linus Torvalds(dentry))则b等于s_roots
486  否则b等于d_hash(hash)
489  hlist_bl_lock(b)
490  __hlist_bl_del( & lookup hash list )
491  hlist_bl_unlock(b)
调用者
名称描述
__d_drop删除目录项
__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