函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kobject_init_and_add() - Initialize a kobject structure and add it to* the kobject hierarchy.*@kobj: pointer to the kobject to initialize*@ktype: pointer to the ktype for this kobject.*@parent: pointer to the parent of this kobject.

函数原型:int kobject_init_and_add(struct kobject *kobj, struct kobj_type *ktype, struct kobject *parent, const char *fmt, ...)

返回类型:int

参数:

类型参数名称
struct kobject *kobj
struct kobj_type *ktype
struct kobject *parent
const char *fmt
470  kobject_init() - Initialize a kobject structure
472  va_start(args, fmt)
473  retval等于kobject_add_varg(kobj, parent, fmt, args)
474  va_end(args)
476  返回:retval
调用者
名称描述
allocate_threshold_blocks
sugov_init
blk_integrity_add