函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__klp_free_objects

函数原型:static void __klp_free_objects(struct klp_patch *patch, bool nops_only)

返回类型:void

参数:

类型参数名称
struct klp_patch *patch
boolnops_only
608  klp_for_each_object_safe(patch, obj, tmp_obj)
609  __klp_free_funcs(obj, nops_only)
611  如果nops_only且非dynamic则继续下一循环
614  删除链表项
615  递减引用计数对象
调用者
名称描述
klp_free_objects
klp_free_objects_dynamic