函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:klp_alloc_object_dynamic

函数原型:static struct klp_object *klp_alloc_object_dynamic(const char *name, struct klp_patch *patch)

返回类型:struct klp_object

参数:

类型参数名称
const char *name
struct klp_patch *patch
430  obj等于分配内存并置零
431  如果非obj则返回:NULL
434  如果name
435  external 等于kstrdup(name, GFP_KERNEL)
436  如果非 external
437  kfree(obj)
438  返回:NULL
442  klp_init_object_early(patch, obj)
443  dynamic = true
445  返回:obj
调用者
名称描述
klp_add_object_nops