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:inotify_fdinfo

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

Type:void

Parameter:

TypeParameterName
struct seq_file *m
struct fsnotify_mark *mark
81  If Type of object [lock] != FSNOTIFY_OBJ_TYPE_INODE Then Return
84  inode_mark = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(mark, structinotify_inode_mark, fsn_mark)
85  inode = igrab(fsnotify_conn_inode( Head of list of marks for an object [mark ref] ))
86  If inode Then
93  mask = Mask this mark is for [mark->lock, group->mark_mutex] & All of the events - we build the list by hand so that we can add flags in* the future and not break backward compatibility. Apps will get only the* events that they originally wanted. Be sure to add new events here!
94  seq_printf(m, "inotify wd:%x ino:%lx sdev:%x mask:%x ignored_mask:%x ", wd, Stat data, not accessed from path walking , s_dev, mask, Events types to ignore [mark->lock, group->mark_mutex] )
97  show_mark_fhandle(m, inode)
98  seq_putc(m, '\n')
99  put an inode