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_clear_type_and_inode

Proto:static inline void __d_clear_type_and_inode(struct dentry *dentry)

Type:void

Parameter:

TypeParameterName
struct dentry *dentry
327  flags = READ_ONCE( protected by d_lock )
329  flags &= ~(DCACHE_ENTRY_TYPE | Fall through to lower layer )
330  WRITE_ONCE( protected by d_lock , flags)
331  Where the name belongs to - NULL is * negative = NULL
332  If protected by d_lock & DCACHE_LRU_LIST Then this_cpu_inc(nr_dentry_negative)
Caller
NameDescribe
dentry_unlink_inodeRelease the dentry's inode, using the filesystem* d_iput() operation if defined.