函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\dcache.h Create Date:2022-07-27 06:43:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:d_is_positive

函数原型:static inline bool d_is_positive(const struct dentry *dentry)

返回类型:bool

参数:

类型参数名称
const struct dentry *dentry
450  返回:非d_is_negative(dentry)
调用者
名称描述
audit_get_ndGet path information necessary for adding watches.
security_inode_rename
may_rename
smack_inode_linksmack_inode_link - Smack check on link*@old_dentry: the existing object*@dir: unused*@new_dentry: the new object* Returns 0 if access is permitted, an error code otherwise
smack_inode_renamesmack_inode_rename - Smack check on rename*@old_inode: unused*@old_dentry: the old object*@new_inode: unused*@new_dentry: the new object* Read and write access is required on both the old and* new directories
d_namespace_pathd_namespace_path - lookup a name associated with a given path*@path: path to lookup (NOT NULL)*@buf: buffer to store path to (NOT NULL)*@name: Returns - pointer for start of path name with in @buf (NOT NULL)*@flags: flags controlling path
filename_create
do_renameat2