函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\livepatch\test_klp_shadow_vars.c Create Date:2022-07-27 07:35:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:shadow_free_all

函数原型:static void shadow_free_all(unsigned long id, klp_shadow_dtor_t dtor)

返回类型:void

参数:

类型参数名称
unsigned longid
klp_shadow_dtor_tdtor
104  klp_shadow_free_all() - detach and free all <*, id> shadow variables*@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 function releases the memory
105  打印信息("klp_%s(id=0x%lx, dtor=PTR%d)\n", __func__, id, ptr_id(dtor))
调用者
名称描述
test_klp_shadow_vars_init