函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mq_flush_data_end_io

函数原型:static void mq_flush_data_end_io(struct request *rq, blk_status_t error)

返回类型:void

参数:

类型参数名称
struct request *rq
blk_status_terror
342  q等于q
343  hctx等于mq_hctx
344  ctx等于mq_ctx
346  fq等于blk_get_flush_queue(q, ctx)
348  如果elevator
349  WARN_ON(tag < 0)
350  blk_mq_put_driver_tag(rq)
357  spin_lock_irqsave( & mq_flush_lock, flags)
358  lk_flush_complete_seq - complete flush sequence*@rq: PREFLUSH/FUA request being sequenced*@fq: flush queue*@seq: sequences to complete (mask of %REQ_FSEQ_*, can be zero)*@error: whether an error occurred*@rq just completed @seq part of its flush sequence,
359  spin_unlock_irqrestore( & mq_flush_lock, flags)
361  blk_mq_sched_restart(hctx)