Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:static void ___d_drop(struct dentry *dentry)

Type:void

Parameter:

TypeParameterName
struct dentry *dentry
484  If Value for the false possibility is greater at compile time(linux/include/linux/dcache.h* Dirent cache data structures* (C) Copyright 1997 Thomas Schoebel-Theuer,* with heavy changes by Linus Torvalds(dentry)) Then b = s_roots
486  Else b = d_hash(hash)
489  hlist_bl_lock(b)
490  __hlist_bl_del( & lookup hash list )
491  hlist_bl_unlock(b)
Caller
NameDescribe
__d_dropdrop a dentry
__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