函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Simple wrapper to consolidate calls fsnotify_parent()/fsnotify() when* an event is on a path.

函数原型:static inline int fsnotify_path(struct inode *inode, const struct path *path, __u32 mask)

返回类型:int

参数:

类型参数名称
struct inode *inode
const struct path *path
__u32mask
50  ret等于Notify this dentry's parent about a child's events.
52  如果ret则返回:ret
54  返回:fsnotify(inode, mask, path, FSNOTIFY_EVENT_PATH, NULL, 0)
调用者
名称描述
fsnotify_permSimple call site for access decisions
fsnotify_accesssnotify_access - file was read
fsnotify_modifysnotify_modify - file was modified
fsnotify_opensnotify_open - file was opened
fsnotify_closesnotify_close - file was closed