函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\policy_unpack.c Create Date:2022-07-27 21:34:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:aa_loaddata_alloc

函数原型:struct aa_loaddata *aa_loaddata_alloc(size_t size)

返回类型:struct aa_loaddata

参数:

类型参数名称
size_tsize
186  d等于分配内存并置零
187  如果(d == NULL)则返回:错误号
189  Pointer to payload. If @compressed_size > 0, then this is the* compressed version of the payload, else it is the uncompressed* version (with the size indicated by @size).等于kvzalloc(size, GFP_KERNEL)
190  如果非Pointer to payload. If @compressed_size > 0, then this is the* compressed version of the payload, else it is the uncompressed* version (with the size indicated by @size).
191  释放内存
192  返回:错误号
194  初始化对象
195  初始化链表头
197  返回:d