函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\notify\fanotify\fanotify_user.c Create Date:2022-07-29 10:50:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:fanotify_add_inode_mark

函数原型:static int fanotify_add_inode_mark(struct fsnotify_group *group, struct inode *inode, __u32 mask, unsigned int flags, __kernel_fsid_t *fsid)

返回类型:int

参数:

类型参数名称
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  如果flags按位与FAN_MARK_MOUNT is 0x00000010 且非flags按位与FAN_MARK_IGNORED_SURV_MODIFY的值且inode_is_open_for_write(inode)则返回:0
761  返回:fanotify_add_mark(group, & i_fsnotify_marks, FSNOTIFY_OBJ_TYPE_INODE, mask, flags, fsid)
调用者
名称描述
do_fanotify_mark