函数逻辑报告 |
Source Code:fs\notify\inotify\inotify_user.c |
Create Date:2022-07-29 10:49:26 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:inotify_update_existing_watch
函数原型:static int inotify_update_existing_watch(struct fsnotify_group *group, struct inode *inode, unsigned int arg)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct fsnotify_group * | group | |
| struct inode * | inode | |
| unsigned int | arg |
| 512 | create等于arg按位与ly create watches |
| 515 | mask等于inotify_arg_to_mask(arg) |
| 517 | 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. |
| 520 | 否则如果create则 |
| 527 | 加自旋锁 |
| 534 | 自旋锁解锁 |
| 540 | do_inode等于new_mask按位与i_fsnotify_mask的反 |
| 551 | out : |
| 555 | 返回:ret |
| 名称 | 描述 |
|---|---|
| inotify_update_watch |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |