Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\netlabel.h Create Date:2022-07-28 18:46:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static inline struct netlbl_lsm_cache *netlbl_secattr_cache_alloc(gfp_t flags)

Type:struct netlbl_lsm_cache

Parameter:

TypeParameterName
gfp_tflags
282  cache = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
283  If cache Then _set - set a refcount's value*@r: the refcount*@n: value to which the refcount will be set
285  Return cache