函数逻辑报告

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_can_lookup

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

返回类型:bool

参数:

类型参数名称
const struct dentry *dentry
404  返回:Directory cache entry type accessor functions.恒等于Normal directory
调用者
名称描述
SYSCALL_DEFINE1
link_path_walkName resolution.* This is the basic name resolution function, turning a pathname into* the final dentry. We expect 'base' to be positive and a directory.* Returns 0 and nd will have valid dentry and mnt on success.
path_initmust be paired with terminate_walk()
path_lookupatReturns 0 and nd will be valid on success; Retuns error, otherwise.
do_lastHandle the last step of open()
fanotify_group_event_maskThis function returns a mask for an event that only contains the flags* that have been specifically requested by the user. Flags that may have* been included within the event mask, but have not been explicitly
d_is_dir