函数逻辑报告 | 
Source Code:fs\notify\fanotify\fanotify_user.c | 
Create Date:2022-07-29 10:50:19 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:fanotify_add_mark
函数原型:static int fanotify_add_mark(struct fsnotify_group *group, fsnotify_connp_t *connp, unsigned int type, __u32 mask, unsigned int flags, __kernel_fsid_t *fsid)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct fsnotify_group * | group | |
| fsnotify_connp_t * | connp | |
| unsigned int | type | |
| __u32 | mask | |
| unsigned int | flags | |
| __kernel_fsid_t * | fsid | 
| 711 | mutex_lock( & protect marks_list ) | 
| 712 | fsn_mark等于Given a list of marks, find the mark associated with given group. If found* take a reference to that mark and return it, else return NULL. | 
| 713 | 如果非fsn_mark则 | 
| 715 | 如果是错误则 | 
| 720 | added等于fanotify_mark_add_to_mask(fsn_mark, mask, flags) | 
| 726 | 返回:0 | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |