Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:klp_find_object

Proto:static struct klp_object *klp_find_object(struct klp_patch *patch, struct klp_object *old_obj)

Type:struct klp_object

Parameter:

TypeParameterName
struct klp_patch *patch
struct klp_object *old_obj
105  klp_for_each_object(patch, obj)
106  If klp_is_module(old_obj) Then
107  If klp_is_module(obj) && strcmp( external , external ) == 0 Then
109  Return obj
111  Else if Not klp_is_module(obj) Then
112  Return obj
116  Return NULL
Caller
NameDescribe
klp_add_object_nops