Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:moyo_same_number_group - Check for duplicated "struct tomoyo_number_group" entry.*@a: Pointer to "struct tomoyo_acl_head".*@b: Pointer to "struct tomoyo_acl_head".* Returns true if @a == @b, false otherwise.

Proto:static bool tomoyo_same_number_group(const struct tomoyo_acl_head *a, const struct tomoyo_acl_head *b)

Type:bool

Parameter:

TypeParameterName
const struct tomoyo_acl_head *a
const struct tomoyo_acl_head *b
39  Return Not memcmp( & 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.(a, structtomoyo_number_group, head)->number, & 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.(b, structtomoyo_number_group, head)->number, sizeof(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.(a, structtomoyo_number_group, head)->number))