Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kset_register() - Initialize and add a kset.*@k: kset.

Proto:int kset_register(struct kset *k)

Type:int

Parameter:

TypeParameterName
struct kset *k
860  If Not k Then Return -EINVAL
863  kset_init() - Initialize a kset for use.*@k: kset
864  err = kobject_add_internal( & kobj)
865  If err Then Return err
867  kobject_uevent - notify userspace by sending an uevent*@kobj: struct kobject that the action is happening to*@action: action that is happening* Returns 0 if kobject_uevent() is completed with success or the* corresponding error when it fails.
868  Return 0
Caller
NameDescribe
kset_create_and_addkset_create_and_add() - Create a struct kset dynamically and add it to sysfs