Function report |
Source Code:kernel\audit_tree.c |
Create Date:2022-07-28 11:30:19 |
Last Modify:2022-05-22 16:43:11 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:untag_chunk
Proto:static void untag_chunk(struct audit_chunk *chunk, struct fsnotify_mark *mark)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct audit_chunk * | chunk | |
struct fsnotify_mark * | mark |
358 | mutex_lock( & protect marks_list ) |
363 | If Not ( flags [mark->lock] & FSNOTIFY_MARK_FLAG_ATTACHED) || mark_chunk(mark) != chunk Then Go to out_mutex |
367 | size = chunk_count_trees(chunk) |
368 | If Not size Then |
381 | new = alloc_chunk(size) |
390 | replace_chunk(new, chunk) |
391 | spin_unlock( & hash_lock) |
394 | Return |
396 | out_mutex : |
Name | Describe |
---|---|
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. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |