函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\kobject.c Create Date:2022-07-27 07:13:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:增加引用计数对象

函数原型:struct kobject *kobject_get(struct kobject *kobj)

返回类型:struct kobject

参数:

类型参数名称
struct kobject *kobj
639  如果kobj
640  如果非state_initializedWARN(1, warning conditions "kobject: '%s' (%p): is not initialized, yet kobject_get() is being called.\n", kobject_name(kobj), kobj)
644  对象增加引用
646  返回:kobj
调用者
名称描述
kobject_add_internal
kobject_renamekobject_rename() - Change the name of an object
kobject_move移动对象
blk_mq_sysfs_init
__blk_mq_register_dev
kset_get
__blk_get_queue
blk_register_queuelk_register_queue - register a block layer queue with sysfs*@disk: Disk of which the request queue should be registered with sysfs.
cdev_adddev_add() - add a char device to the system*@p: the cdev structure for the device*@dev: the first device number for which this device is responsible*@count: the number of consecutive minor numbers corresponding to this* device* cdev_add() adds the device