函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\netlabel.h Create Date:2022-07-27 20:19:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:lbl_secattr_cache_alloc - Allocate and initialize a secattr cache*@flags: the memory allocation flags* Description:* Allocate and initialize a netlbl_lsm_cache structure. Returns a pointer* on success, NULL on failure.

函数原型:static inline struct netlbl_lsm_cache *netlbl_secattr_cache_alloc(gfp_t flags)

返回类型:struct netlbl_lsm_cache

参数:

类型参数名称
gfp_tflags
282  cache等于分配内存并置零
283  如果cache_set - set a refcount's value*@r: the refcount*@n: value to which the refcount will be set
285  返回:cache