函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:inotify_fdinfo

函数原型:static void inotify_fdinfo(struct seq_file *m, struct fsnotify_mark *mark)

返回类型:void

参数:

类型参数名称
struct seq_file *m
struct fsnotify_mark *mark
81  如果 Type of object [lock] 不等于FSNOTIFY_OBJ_TYPE_INODE则返回
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  如果inode
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  放置一个索引节点