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:move the kobject from its kset's list

Proto:static void kobj_kset_leave(struct kobject *kobj)

Type:void

Parameter:

TypeParameterName
struct kobject *kobj
203  If Not kset Then Return
206  spin_lock( & list_lock)
207  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
208  spin_unlock( & list_lock)
209  kset_put(kset)
Caller
NameDescribe
kobject_add_internal
kobject_delkobject_del() - Unlink kobject from hierarchy.*@kobj: object.* This is the function that should be called to delete an object* successfully added via kobject_add().