Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kobject_get() - Increment refcount for object.*@kobj: object.

Proto:struct kobject *kobject_get(struct kobject *kobj)

Type:struct kobject

Parameter:

TypeParameterName
struct kobject *kobj
639  If kobj Then
640  If Not state_initialized Then WARN(1, warning conditions "kobject: '%s' (%p): is not initialized, yet kobject_get() is being called.\n", kobject_name(kobj), kobj)
644  kref_get - increment refcount for object.*@kref: object.
646  Return kobj
Caller
NameDescribe
kobject_add_internal
kobject_renamekobject_rename() - Change the name of an object
kobject_movekobject_move() - Move object to another parent.*@kobj: object in question.*@new_parent: object's new parent (can be NULL)
blk_mq_sysfs_init
__blk_mq_register_dev
kset_get