函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:blk_mq_register_hctx

函数原型:static int blk_mq_register_hctx(struct blk_mq_hw_ctx *hctx)

返回类型:int

参数:

类型参数名称
struct blk_mq_hw_ctx *hctx
245  q等于@queue: Pointer to the request queue that owns this hardware context.
249  如果非@nr_ctx: Number of software queues. 则返回: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  如果ret则返回: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  如果ret退出
262  返回:ret
调用者
名称描述
__blk_mq_register_dev
blk_mq_sysfs_register