函数逻辑报告 |
Source Code:fs\notify\fanotify\fanotify.c |
Create Date:2022-07-29 10:49:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:This function returns a mask for an event that only contains the flags* that have been specifically requested by the user. Flags that may have* been included within the event mask, but have not been explicitly
函数原型:static unsigned int fanotify_group_event_mask(struct fsnotify_group *group, struct fsnotify_iter_info *iter_info, unsigned int event_mask, const void *data, int data_type)
返回类型:unsigned int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct fsnotify_group * | group | |
struct fsnotify_iter_info * | iter_info | |
unsigned int | event_mask | |
const void * | data | |
int | data_type |
152 | marks_mask等于0, marks_ignored_mask等于0 |
158 | pr_debug("%s: report_mask=%x mask=%x data=%p data_type=%d\n", __func__, report_mask, event_mask, data, data_type) |
161 | 如果非FAN_GROUP_FLAG(group, Report unique file id )则 |
163 | 如果data_type不等于FSNOTIFY_EVENT_PATH则返回:0 |
166 | 如果非d_is_reg(dentry)且非d_can_lookup(dentry)则返回:0 |
171 | 如果非fsnotify_iter_should_report_type(iter_info, type)则继续下一循环 |
187 | test_mask等于event_mask按位与marks_mask按位与marks_ignored_mask的反 |
198 | 如果FAN_GROUP_FLAG(group, Report unique file id )则 |
200 | 如果非test_mask按位与vent occurred against dir 的反的值则返回:0 |
202 | 否则 |
203 | user_mask与等于vent occurred against dir 的反 |
206 | 如果event_mask按位与vent occurred against dir 且非marks_mask按位与vent occurred against dir 按位与marks_ignored_mask的反的值则返回:0 |
名称 | 描述 |
---|---|
fanotify_handle_event |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |