Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\gc.c Create Date:2022-07-28 19:43:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:moyo_collect_member - Delete elements with "struct tomoyo_acl_head".*@id: One of values in "enum tomoyo_policy_id".*@member_list: Pointer to "struct list_head".* Returns nothing.

Proto:static void tomoyo_collect_member(const enum tomoyo_policy_id id, struct list_head *member_list)

Type:void

Parameter:

TypeParameterName
const enum tomoyo_policy_idid
struct list_head *member_list
492  If Not rue or false or TOMOYO_GC_IN_PROGRESS Then Continue
494  rue or false or TOMOYO_GC_IN_PROGRESS = Garbage collector is trying to kfree() this element.
495  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.
Caller
NameDescribe
tomoyo_collect_entrymoyo_collect_entry - Try to kfree() deleted elements.* Returns nothing.