Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:fanotify_fdinfo

Proto:static void fanotify_fdinfo(struct seq_file *m, struct fsnotify_mark *mark)

Type:void

Parameter:

TypeParameterName
struct seq_file *m
struct fsnotify_mark *mark
114  mflags = 0
117  If flags [mark->lock] & FSNOTIFY_MARK_FLAG_IGNORED_SURV_MODIFY Then mflags |= FAN_MARK_IGNORED_SURV_MODIFY
120  If Type of object [lock] == FSNOTIFY_OBJ_TYPE_INODE Then
121  inode = igrab(fsnotify_conn_inode( Head of list of marks for an object [mark ref] ))
122  If Not inode Then Return
124  seq_printf(m, "fanotify ino:%lx sdev:%x mflags:%x mask:%x ignored_mask:%x ", Stat data, not accessed from path walking , s_dev, mflags, Mask this mark is for [mark->lock, group->mark_mutex] , Events types to ignore [mark->lock, group->mark_mutex] )
127  show_mark_fhandle(m, inode)
128  seq_putc(m, '\n')
129  put an inode
130  Else if Type of object [lock] == FSNOTIFY_OBJ_TYPE_VFSMOUNT Then
131  mnt = fsnotify_conn_mount( Head of list of marks for an object [mark ref] )
133  seq_printf(m, "fanotify mnt_id:%x mflags:%x mask:%x ignored_mask:%x\n", mount identifier , mflags, Mask this mark is for [mark->lock, group->mark_mutex] , Events types to ignore [mark->lock, group->mark_mutex] )
135  Else if Type of object [lock] == FSNOTIFY_OBJ_TYPE_SB Then
136  sb = fsnotify_conn_sb( Head of list of marks for an object [mark ref] )
138  seq_printf(m, "fanotify sdev:%x mflags:%x mask:%x ignored_mask:%x\n", s_dev, mflags, Mask this mark is for [mark->lock, group->mark_mutex] , Events types to ignore [mark->lock, group->mark_mutex] )