Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\livepatch\test_klp_shadow_vars.c Create Date:2022-07-28 06:38:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:shadow_free

Proto:static void shadow_free(void *obj, unsigned long id, klp_shadow_dtor_t dtor)

Type:void

Parameter:

TypeParameterName
void *obj
unsigned longid
klp_shadow_dtor_tdtor
97  klp_shadow_free() - detach and free a shadow variable*@obj: pointer to parent object*@id: data identifier*@dtor: custom callback that can be used to unregister the variable* and/or free data that the shadow variable points to (optional)* This
98  pr_info("klp_%s(obj=PTR%d, id=0x%lx, dtor=PTR%d)\n", __func__, ptr_id(obj), id, ptr_id(dtor))
Caller
NameDescribe
test_klp_shadow_vars_init