函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__blk_mq_requeue_request

函数原型:static void __blk_mq_requeue_request(struct request *rq)

返回类型:void

参数:

类型参数名称
struct request *rq
680  q等于q
682  blk_mq_put_driver_tag(rq)
684  lock_rq_requeue - place block IO request back on a queue*@q: queue holding operation*@rq: block IO operation request* The block operation request @rq is being placed back into queue*@q. For some reason the request was not completed and needs to be
685  rq_qos_requeue(q, rq)
687  如果blk_mq_request_started(rq)则
688  WRITE_ONCE(state, MQ_RQ_IDLE)
689  rq_flags与等于->timeout has been called, don't expire again 的反
690  如果dma_drain_sizeblk_rq_bytes(rq)则* Number of scatter-gather DMA addr+len pairs after * physical address coalescing is performed.自减
调用者
名称描述
blk_mq_requeue_request
blk_mq_dispatch_rq_listReturns true if we did some work AND can potentially do more.
__blk_mq_issue_directly