函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:klp_init_func

函数原型:static int klp_init_func(struct klp_object *obj, struct klp_func *func)

返回类型:int

参数:

类型参数名称
struct klp_object *obj
struct klp_func *func
700  如果非xternal 则返回:负EINVAL
707  如果非new_func且非nop则返回:负EINVAL
710  如果strlen - Find the length of a string*@s: The string to be sized大于等于KSYM_NAME_LEN则返回:负EINVAL
713  初始化链表头
714  patched = false
715  transition = false
722  返回:kobject_add() - The main kobject add function.*@kobj: the kobject to add*@parent: pointer to the parent of the kobject.*@fmt: format to name the kobject with.* The kobject name is set and added to the kobject hierarchy in this* function.
调用者
名称描述
klp_init_object