Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\nfs_common\nfsacl.c Create Date:2022-07-28 20:29:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:cmp_acl_entry

Proto:static int cmp_acl_entry(const void *x, const void *y)

Type:int

Parameter:

TypeParameterName
const void *x
const void *y
199  a = x , b = y
201  If e_tag != e_tag Then Return e_tag - e_tag
203  Else if e_tag == ACL_USER && uid_gt(e_uid, e_uid) Then Return 1
205  Else if e_tag == ACL_USER && uid_lt(e_uid, e_uid) Then Return -1
207  Else if e_tag == ACL_GROUP && gid_gt(e_gid, e_gid) Then Return 1
209  Else if e_tag == ACL_GROUP && gid_lt(e_gid, e_gid) Then Return -1
211  Else Return 0