函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kobject_set_name() - Set the name of a kobject

函数原型:int kobject_set_name(struct kobject *kobj, const char *fmt, ...)

返回类型:int

参数:

类型参数名称
struct kobject *kobj
const char *fmt
329  va_start(vargs, fmt)
330  retval等于设置kobject名字
331  va_end(vargs)
333  返回:retval
调用者
名称描述
kset_createkset_create() - Create a struct kset dynamically
__register_chrdev__register_chrdev() - create and register a cdev occupying a range of minors*@major: major device number or 0 for dynamic allocation*@baseminor: first of the requested range of minor numbers*@count: the number of minor numbers required*@name: name of this