函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\gc.c Create Date:2022-07-27 21:11:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:moyo_collect_acl - Delete elements in "struct tomoyo_domain_info".*@list: Pointer to "struct list_head".* Returns nothing.

函数原型:static void tomoyo_collect_acl(struct list_head *list)

返回类型:void

参数:

类型参数名称
struct list_head *list
512  如果非 true or false or TOMOYO_GC_IN_PROGRESS 则继续下一循环
514  true or false or TOMOYO_GC_IN_PROGRESS 等于Garbage collector is trying to kfree() this element.
515  moyo_try_to_gc - Try to kfree() an entry.*@type: One of values in "enum tomoyo_policy_id".*@element: Pointer to "struct list_head".* Returns nothing.* Caller holds tomoyo_policy_lock mutex.
调用者
名称描述
tomoyo_collect_entrymoyo_collect_entry - Try to kfree() deleted elements.* Returns nothing.