函数逻辑报告 |
Source Code:fs\notify\inotify\inotify_fsnotify.c |
Create Date:2022-07-29 10:49:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:inotify_handle_event
函数原型:int inotify_handle_event(struct fsnotify_group *group, struct inode *inode, unsigned int mask, const void *data, int data_type, const struct qstr *file_name, unsigned int cookie, struct fsnotify_iter_info *iter_info)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct fsnotify_group * | group | |
struct inode * | inode | |
unsigned int | mask | |
const void * | data | |
int | data_type | |
const struct qstr * | file_name | |
unsigned int | cookie | |
struct fsnotify_iter_info * | iter_info |
69 | len等于0 |
70 | alloc_len等于sizeof(structinotify_event_info) |
72 | 如果WARN_ON(fsnotify_iter_vfsmount_mark(iter_info))则返回:0 |
79 | 如果d_unlinked(dentry)则返回:0 |
82 | 如果file_name则 |
102 | 如果此条件成立可能性小(为编译器优化)(!event)则 |
108 | 返回:负ENOMEM |
117 | 如果mask按位与Self was moved 按位或Self was deleted 的值则mask与等于vent occurred against dir 的反 |
124 | sync_cookie等于cookie |
130 | 如果ret则 |
135 | 如果 Mask this mark is for [mark->lock, group->mark_mutex] 按位与ly send event once 则fsnotify_destroy_mark(inode_mark, group) |
138 | 返回:0 |
名称 | 描述 |
---|---|
inotify_ignored_and_remove_idr | Send IN_IGNORED for this wd, remove this wd from the idr. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |