函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:snotify_unlink - 'name' was unlinked* Caller must make sure that dentry->d_name is stable.

函数原型:static inline void fsnotify_unlink(struct inode *dir, struct dentry *dentry)

返回类型:void

参数:

类型参数名称
struct inode *dir
struct dentry *dentry
199  WARN_ON_ONCE(d_is_negative(dentry))
201  Notify 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.
调用者
名称描述
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
devpts_pty_killdevpts_pty_kill -- remove inode form /dev/pts/*@inode: inode of the slave to be removed* This is an inverse operation of devpts_pty_new.