函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:klp_find_ops

函数原型:struct klp_ops *klp_find_ops(void *old_func)

返回类型:struct klp_ops

参数:

类型参数名称
void *old_func
31  func等于list_first_entry - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.* Note, that list is expected to be not empty.( & func_stack, structklp_func, stack_node)
33  如果rnal 恒等于old_func则返回:ops
37  返回:NULL
调用者
名称描述
klp_unpatch_func
klp_patch_func
klp_check_stack_funcDetermine whether the given stack trace includes any references to a* to-be-patched or to-be-unpatched function.