Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:add the kobject to its kset's list

Proto:static void kobj_kset_join(struct kobject *kobj)

Type:void

Parameter:

TypeParameterName
struct kobject *kobj
191  If Not kset Then Return
194  kset_get(kset)
195  spin_lock( & list_lock)
196  list_add_tail - add a new entry*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head.* This is useful for implementing queues.
197  spin_unlock( & list_lock)
Caller
NameDescribe
kobject_add_internal