函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:blk_mq_rq_timed_out

函数原型:static void blk_mq_rq_timed_out(struct request *req, bool reserved)

返回类型:void

参数:

类型参数名称
struct request *req
boolreserved
822  rq_flags或等于->timeout has been called, don't expire again
823  如果timeout
826  ret等于timeout(req, reserved)
827  如果ret恒等于 drivers has completed the command 则返回
829  WARN_ON_ONCE(ret != reset timer and try again )
832  lk_add_timer - Start timeout timer for a single request*@req: request that is about to start running.* Notes:* Each request has its own timer, and as it is added to the queue, we* set up the timer. When the request completes, we cancel the timer.
调用者
名称描述
blk_mq_check_expired