Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:moyo_del_acl - Delete members in "struct tomoyo_acl_info".*@element: Pointer to "struct list_head".* Returns nothing.

Proto:static void tomoyo_del_acl(struct list_head *element)

Type:void

Parameter:

TypeParameterName
struct list_head *element
158  acl = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(element, typeof( * acl), list)
161  moyo_put_condition - Drop reference on "struct tomoyo_condition".*@cond: Pointer to "struct tomoyo_condition". Maybe NULL.* Returns nothing.
163  Case One of values in "enum tomoyo_acl_entry_type_index". == TOMOYO_TYPE_PATH_ACL
165  entry = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(acl, typeof( * entry), head)
167  moyo_put_name_union - Drop reference on "struct tomoyo_name_union".*@ptr: Pointer to "struct tomoyo_name_union".* Returns nothing.
169  Break
170  Case One of values in "enum tomoyo_acl_entry_type_index". == TOMOYO_TYPE_PATH2_ACL
172  entry = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(acl, typeof( * entry), head)
174  moyo_put_name_union - Drop reference on "struct tomoyo_name_union".*@ptr: Pointer to "struct tomoyo_name_union".* Returns nothing.
175  moyo_put_name_union - Drop reference on "struct tomoyo_name_union".*@ptr: Pointer to "struct tomoyo_name_union".* Returns nothing.
177  Break
178  Case One of values in "enum tomoyo_acl_entry_type_index". == TOMOYO_TYPE_PATH_NUMBER_ACL
180  entry = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(acl, typeof( * entry), head)
182  moyo_put_name_union - Drop reference on "struct tomoyo_name_union".*@ptr: Pointer to "struct tomoyo_name_union".* Returns nothing.
183  moyo_put_number_union - Drop reference on "struct tomoyo_number_union".*@ptr: Pointer to "struct tomoyo_number_union".* Returns nothing.
185  Break
186  Case One of values in "enum tomoyo_acl_entry_type_index". == TOMOYO_TYPE_MKDEV_ACL
188  entry = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(acl, typeof( * entry), head)
190  moyo_put_name_union - Drop reference on "struct tomoyo_name_union".*@ptr: Pointer to "struct tomoyo_name_union".* Returns nothing.
191  moyo_put_number_union - Drop reference on "struct tomoyo_number_union".*@ptr: Pointer to "struct tomoyo_number_union".* Returns nothing.
192  moyo_put_number_union - Drop reference on "struct tomoyo_number_union".*@ptr: Pointer to "struct tomoyo_number_union".* Returns nothing.
193  moyo_put_number_union - Drop reference on "struct tomoyo_number_union".*@ptr: Pointer to "struct tomoyo_number_union".* Returns nothing.
195  Break
196  Case One of values in "enum tomoyo_acl_entry_type_index". == TOMOYO_TYPE_MOUNT_ACL
198  entry = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(acl, typeof( * entry), head)
200  moyo_put_name_union - Drop reference on "struct tomoyo_name_union".*@ptr: Pointer to "struct tomoyo_name_union".* Returns nothing.
201  moyo_put_name_union - Drop reference on "struct tomoyo_name_union".*@ptr: Pointer to "struct tomoyo_name_union".* Returns nothing.
202  moyo_put_name_union - Drop reference on "struct tomoyo_name_union".*@ptr: Pointer to "struct tomoyo_name_union".* Returns nothing.
203  moyo_put_number_union - Drop reference on "struct tomoyo_number_union".*@ptr: Pointer to "struct tomoyo_number_union".* Returns nothing.
205  Break
206  Case One of values in "enum tomoyo_acl_entry_type_index". == TOMOYO_TYPE_ENV_ACL
208  entry = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(acl, typeof( * entry), head)
211  moyo_put_name - Drop reference on "struct tomoyo_name".*@name: Pointer to "struct tomoyo_path_info". Maybe NULL.* Returns nothing.
213  Break
214  Case One of values in "enum tomoyo_acl_entry_type_index". == TOMOYO_TYPE_INET_ACL
216  entry = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(acl, typeof( * entry), head)
219  moyo_put_group - Drop reference on "struct tomoyo_group".*@group: Pointer to "struct tomoyo_group". Maybe NULL.* Returns nothing.
220  moyo_put_number_union - Drop reference on "struct tomoyo_number_union".*@ptr: Pointer to "struct tomoyo_number_union".* Returns nothing.
222  Break
223  Case One of values in "enum tomoyo_acl_entry_type_index". == TOMOYO_TYPE_UNIX_ACL
225  entry = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(acl, typeof( * entry), head)
228  moyo_put_name_union - Drop reference on "struct tomoyo_name_union".*@ptr: Pointer to "struct tomoyo_name_union".* Returns nothing.
230  Break
231  Case One of values in "enum tomoyo_acl_entry_type_index". == TOMOYO_TYPE_MANUAL_TASK_ACL
233  entry = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(acl, typeof( * entry), head)
236  moyo_put_name - Drop reference on "struct tomoyo_name".*@name: Pointer to "struct tomoyo_path_info". Maybe NULL.* Returns nothing.
238  Break
Caller
NameDescribe
tomoyo_del_domainmoyo_del_domain - Delete members in "struct tomoyo_domain_info".*@element: Pointer to "struct list_head".* Returns nothing.* Caller holds tomoyo_policy_lock mutex.
tomoyo_try_to_gcmoyo_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.