函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:blk_get_queue

函数原型:bool blk_get_queue(struct request_queue *q)

返回类型:bool

参数:

类型参数名称
struct request_queue *q
565  如果此条件成立可能性大(为编译器优化)(!blk_queue_dying(q))则
566  __blk_get_queue(q)
567  返回:true
570  返回:false
调用者
名称描述
__device_add_disk__device_add_disk - add disk information to kernel list*@parent: parent device for the disk*@disk: per-device partitioning information*@groups: Additional per-device sysfs groups*@register_queue: register the queue if set to true* This function registers
bsg_add_device
blkcg_schedule_throttlelkcg_schedule_throttle - this task needs to check for throttling*@q: the request queue IO was submitted on*@use_memdelay: do we charge this to memory delay for PSI* This is called by the IO controller when we know there's delay accumulated
iolatency_set_limit