Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\kobject.c Create Date:2022-07-28 06:16:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kobject_set_name() - Set the name of a kobject

Proto:int kobject_set_name(struct kobject *kobj, const char *fmt, ...)

Type:int

Parameter:

TypeParameterName
struct kobject *kobj
const char *fmt
329  va_start(vargs, fmt)
330  retval = kobject_set_name_vargs() - Set the name of a kobject.*@kobj: struct kobject to set the name of*@fmt: format string used to build the name*@vargs: vargs to format the string.
331  va_end(vargs)
333  Return retval
Caller
NameDescribe
kset_createkset_create() - Create a struct kset dynamically