Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\posix_acl_xattr.h Create Date:2022-07-28 20:09:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:posix_acl_xattr_count

Proto:static inline int posix_acl_xattr_count(size_t size)

Type:int

Parameter:

TypeParameterName
size_tsize
27  If size < sizeof(structposix_acl_xattr_header) Then Return -1
29  size -= sizeof(structposix_acl_xattr_header)
30  If size % sizeof(structposix_acl_xattr_entry) Then Return -1
32  Return size / sizeof(structposix_acl_xattr_entry)
Caller
NameDescribe
posix_acl_fix_xattr_usernsFix up the uids and gids in posix acl extended attributes in place.
posix_acl_from_xattrConvert from extended attribute to in-memory representation.