函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:fsnotify

函数原型:static inline int fsnotify(struct inode *to_tell, __u32 mask, const void *data, int data_is, const struct qstr *name, unsigned int cookie)

返回类型:int

参数:

类型参数名称
struct inode *to_tell
__u32mask
const void *data
intdata_is
const struct qstr *name
unsigned intcookie
514  返回:0
调用者
名称描述
fsnotify_direntNotify this @dir inode about a change in the directory entry @dentry.* Unlike fsnotify_parent(), the event will be reported regardless of the* FS_EVENT_ON_CHILD mask on the parent inode.
fsnotify_pathSimple wrapper to consolidate calls fsnotify_parent()/fsnotify() when* an event is on a path.
fsnotify_link_countsnotify_link_count - inode's link count changed
fsnotify_movesnotify_move - file old_name at old_dir was moved to new_name at new_dir
fsnotify_inoderemovesnotify_inoderemove - an inode is going away
fsnotify_linksnotify_link - new hardlink in 'inode' directory* Note: We have to pass also the linked inode ptr as some filesystems leave
fsnotify_xattrsnotify_xattr - extended attributes were changed
fsnotify_changesnotify_change - notify_change event. file was modified and/or metadata* was changed.