函数逻辑报告 |
Source Code:kernel\audit_tree.c |
Create Date:2022-07-27 12:33:44 |
| Last Modify:2022-05-22 16:43:11 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:untag_chunk
函数原型:static void untag_chunk(struct audit_chunk *chunk, struct fsnotify_mark *mark)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct audit_chunk * | chunk | |
| struct fsnotify_mark * | mark |
| 358 | mutex_lock( & protect marks_list ) |
| 363 | 如果非 flags [mark->lock] 按位与FSNOTIFY_MARK_FLAG_ATTACHED的值或mark_chunk(mark)不等于chunk则转到:out_mutex |
| 367 | size等于chunk_count_trees(chunk) |
| 368 | 如果非size则 |
| 381 | new等于alloc_chunk(size) |
| 385 | 加自旋锁 |
| 390 | replace_chunk(new, chunk) |
| 391 | 自旋锁解锁 |
| 394 | 返回 |
| 396 | out_mutex : |
| 名称 | 描述 |
|---|---|
| prune_tree_chunks | Remove tree from chunks. If 'tagged' is set, remove tree only from tagged* chunks. The function expects tagged chunks are all at the beginning of the* chunks list. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |