函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__d_set_inode_and_type

函数原型:static inline void __d_set_inode_and_type(struct dentry *dentry, struct inode *inode, unsigned type_flags)

返回类型:void

参数:

类型参数名称
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)
调用者
名称描述
__d_instantiate
__d_instantiate_anon
__d_add