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_set_inode_and_type

Proto:static inline void __d_set_inode_and_type(struct dentry *dentry, struct inode *inode, unsigned type_flags)

Type:void

Parameter:

TypeParameterName
struct dentry *dentry
struct inode *inode
unsignedtype_flags
318  Where the name belongs to - NULL is * negative = inode
319  flags = READ_ONCE( protected by d_lock )
320  flags &= ~(DCACHE_ENTRY_TYPE | Fall through to lower layer )
321  flags |= type_flags
322  smp_store_release( & protected by d_lock , flags)
Caller
NameDescribe
__d_instantiate
__d_instantiate_anon
__d_add