函数逻辑报告 |
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 |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:fanotify_fdinfo
函数原型:static void fanotify_fdinfo(struct seq_file *m, struct fsnotify_mark *mark)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct seq_file * | m | |
struct fsnotify_mark * | mark |
114 | mflags等于0 |
117 | 如果 flags [mark->lock] 按位与FSNOTIFY_MARK_FLAG_IGNORED_SURV_MODIFY则mflags或等于FAN_MARK_IGNORED_SURV_MODIFY |
120 | 如果 Type of object [lock] 恒等于FSNOTIFY_OBJ_TYPE_INODE则 |
122 | 如果非inode则返回 |
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) |
129 | 放置一个索引节点 |
130 | 否则如果 Type of object [lock] 恒等于FSNOTIFY_OBJ_TYPE_VFSMOUNT则 |
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 | 否则如果 Type of object [lock] 恒等于FSNOTIFY_OBJ_TYPE_SB则 |
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] ) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |