函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bfq_dispatch_request

函数原型:static struct request *bfq_dispatch_request(struct blk_mq_hw_ctx *hctx)

返回类型:struct request

参数:

类型参数名称
struct blk_mq_hw_ctx *hctx
4795  bfqd等于elevator_data
4800  spin_lock_irq( & lock)
4802  in_serv_queue等于 bfq_queue in service
4803  waiting_rq等于in_serv_queuebfq_bfqq_wait_request(in_serv_queue)
4805  rq等于__bfq_dispatch_request(hctx)
4807  idle_timer_disabled等于waiting_rq且非bfq_bfqq_wait_request(in_serv_queue)
4810  spin_unlock_irq( & lock)
4812  bfq_update_dispatch_stats(@queue: Pointer to the request queue that owns this hardware context., rq, in_serv_queue, idle_timer_disabled)
4815  返回:rq