函数逻辑报告 | 
Source Code:kernel\audit_tree.c | 
Create Date:2022-07-27 12:33:55 | 
| Last Modify:2022-05-22 16:43:11 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称: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.
函数原型:static void prune_tree_chunks(struct audit_tree *victim, bool tagged)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct audit_tree * | victim | |
| bool | tagged | 
| 575 | 加自旋锁 | 
| 583 | 如果tagged且非 index; upper bit indicates 'will prune' 按位与1U左移31位的值则退出 | 
| 587 | remove_chunk_node(chunk, p) | 
| 589 | 如果非mark则继续下一循环 | 
| 591 | fsnotify_get_mark(mark) | 
| 592 | 自旋锁解锁 | 
| 594 | untag_chunk(chunk, mark) | 
| 595 | fsnotify_put_mark(mark) | 
| 597 | 加自旋锁 | 
| 599 | 自旋锁解锁 | 
| 名称 | 描述 | 
|---|---|
| prune_one | sh killing struct audit_tree | 
| trim_marked | rim the uncommitted chunks from tree | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |