Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\notify\fanotify\fanotify_user.c Create Date:2022-07-28 20:18:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:fanotify_add_inode_mark

Proto:static int fanotify_add_inode_mark(struct fsnotify_group *group, struct inode *inode, __u32 mask, unsigned int flags, __kernel_fsid_t *fsid)

Type:int

Parameter:

TypeParameterName
struct fsnotify_group *group
struct inode *inode
__u32mask
unsigned intflags
__kernel_fsid_t *fsid
749  pr_debug("%s: group=%p inode=%p\n", __func__, group, inode)
756  If flags & FAN_MARK_MOUNT is 0x00000010 && Not (flags & FAN_MARK_IGNORED_SURV_MODIFY) && inode_is_open_for_write(inode) Then Return 0
761  Return fanotify_add_mark(group, & i_fsnotify_marks, FSNOTIFY_OBJ_TYPE_INODE, mask, flags, fsid)
Caller
NameDescribe
do_fanotify_mark