函数逻辑报告 |
Source Code:fs\notify\mark.c |
Create Date:2022-07-29 10:48:08 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Get mark reference when we found the mark via lockless traversal of object* list. Mark can be already removed from the list by now and on its way to be* destroyed once SRCU period ends.* Also pin the group so it doesn't disappear under us.
函数原型:static bool fsnotify_get_mark_safe(struct fsnotify_mark *mark)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct fsnotify_mark * | mark |
| 290 | 如果非mark则返回:true |
| 294 | 加自旋锁 |
| 295 | 如果 flags [mark->lock] 按位与FSNOTIFY_MARK_FLAG_ATTACHED则 |
| 301 | 自旋锁解锁 |
| 302 | fsnotify_put_mark(mark) |
| 304 | 返回:false |
| 名称 | 描述 |
|---|---|
| fsnotify_prepare_user_wait |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |