函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Enable wbt if defaults are configured that way

函数原型:void wbt_enable_default(struct request_queue *q)

返回类型:void

参数:

类型参数名称
struct request_queue *q
646  rqos等于wbt_rq_qos(q)
648  如果rqos则返回
652  如果非blk_queue_registered(q)则返回
655  如果queue_is_mq(q)且IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_BLK_WBT_MQ)则wbt_init(q)
调用者
名称描述
blk_register_queuelk_register_queue - register a block layer queue with sysfs*@disk: Disk of which the request queue should be registered with sysfs.