Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:klp_find_callback

Proto:static int klp_find_callback(void *data, const char *name, struct module *mod, unsigned long addr)

Type:int

Parameter:

TypeParameterName
void *data
const char *name
struct module *mod
unsigned longaddr
130  args = data
132  If mod && Not objname || Not mod && objname Then Return 0
135  If strcmp(name, name) Then Return 0
138  If objname && strcmp(objname, Unique handle for this module ) Then Return 0
141  addr = addr
142  count++
148  If pos && count == pos || Not pos && count > 1 Then Return 1
152  Return 0