函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\audit_tree.c Create Date:2022-07-27 12:34:06
Last Modify:2022-05-22 16:43:11 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:That gets run when evict_chunk() ends up needing to kill audit_tree.* Runs from a separate thread.

函数原型:static int prune_tree_thread(void *unused)

返回类型:int

参数:

类型参数名称
void *unused
760  循环
761  如果链表为空
763  进程调度
766  audit_ctl_lock - Take the audit control lock
767  mutex_lock( & audit_filter_mutex)
769  当非链表为空循环
783  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
784  audit_ctl_unlock - Drop the audit control lock
786  返回:0