Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq-sysfs.c Create Date:2022-07-28 17:14:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blk_mq_register_hctx

Proto:static int blk_mq_register_hctx(struct blk_mq_hw_ctx *hctx)

Type:int

Parameter:

TypeParameterName
struct blk_mq_hw_ctx *hctx
245  q = @queue: Pointer to the request queue that owns this hardware context.
249  If Not @nr_ctx: Number of software queues. Then Return 0
252  ret = kobject_add() - The main kobject add function.*@kobj: the kobject to add*@parent: pointer to the parent of the kobject.*@fmt: format to name the kobject with.* The kobject name is set and added to the kobject hierarchy in this* function.
253  If ret Then Return ret
257  ret = kobject_add() - The main kobject add function.*@kobj: the kobject to add*@parent: pointer to the parent of the kobject.*@fmt: format to name the kobject with.* The kobject name is set and added to the kobject hierarchy in this* function.
258  If ret Then Break
262  Return ret
Caller
NameDescribe
__blk_mq_register_dev
blk_mq_sysfs_register