函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:snotify_link_count - inode's link count changed

函数原型:static inline void fsnotify_link_count(struct inode *inode)

返回类型:void

参数:

类型参数名称
struct inode *inode
93  mask等于Metadata changed
95  如果S_ISDIR(i_mode)则mask或等于vent occurred against dir
98  fsnotify(inode, mask, inode, FSNOTIFY_EVENT_INODE, NULL, 0)
调用者
名称描述
vfs_unlinkvfs_unlink - unlink a filesystem object*@dir: parent directory*@dentry: victim*@delegated_inode: returns victim inode, if the inode is delegated.* The caller must hold dir->i_mutex.* If vfs_unlink discovers a delegation, it will return -EWOULDBLOCK and
fsnotify_movesnotify_move - file old_name at old_dir was moved to new_name at new_dir
fsnotify_linksnotify_link - new hardlink in 'inode' directory* Note: We have to pass also the linked inode ptr as some filesystems leave