Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\livepatch\shadow.c Create Date:2022-07-28 10:31:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:klp_shadow_alloc() - allocate and add a new shadow variable*@obj: pointer to parent object*@id: data identifier*@size: size of attached data*@gfp_flags: GFP mask for allocation*@ctor: custom constructor to initialize the shadow data (optional)*@ctor_data:

Proto:void *klp_shadow_alloc(void *obj, unsigned long id, size_t size, gfp_t gfp_flags, klp_shadow_ctor_t ctor, void *ctor_data)

Type:void

Parameter:

TypeParameterName
void *obj
unsigned longid
size_tsize
gfp_tgfp_flags
klp_shadow_ctor_tctor
void *ctor_data
200  Return __klp_shadow_get_or_alloc(obj, id, size, gfp_flags, ctor, ctor_data, true)