Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:klp_init_func

Proto:static int klp_init_func(struct klp_object *obj, struct klp_func *func)

Type:int

Parameter:

TypeParameterName
struct klp_object *obj
struct klp_func *func
700  If Not xternal Then Return -EINVAL
707  If Not new_func && Not nop Then Return -EINVAL
710  If strlen - Find the length of a string*@s: The string to be sized >= KSYM_NAME_LEN Then Return -EINVAL
713  Initialization list head
714  patched = false
715  transition = false
722  Return 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.
Caller
NameDescribe
klp_init_object