函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\posix_acl.c Create Date:2022-07-29 11:04:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Allocate a new ACL with the specified number of entries.

函数原型:struct posix_acl *posix_acl_alloc(int count, gfp_t flags)

返回类型:struct posix_acl

参数:

类型参数名称
intcount
gfp_tflags
179  size等于sizeof(structposix_acl)加countsizeof(structposix_acl_entry)
181  acl等于开辟内存
182  如果aclInit a fresh posix_acl
184  返回:acl
调用者
名称描述
posix_acl_from_modeCreate an ACL representing the file mode permission bits of an inode.
posix_acl_from_xattrConvert from extended attribute to in-memory representation.
xdr_nfsace_decode