Home
last modified time | relevance | path

Searched refs:flush_rq (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/block/
Dblk-flush.c215 static void flush_end_io(struct request *flush_rq, blk_status_t error) in flush_end_io() argument
217 struct request_queue *q = flush_rq->q; in flush_end_io()
221 struct blk_flush_queue *fq = blk_get_flush_queue(q, flush_rq->mq_ctx); in flush_end_io()
223 blk_account_io_flush(flush_rq); in flush_end_io()
228 if (!refcount_dec_and_test(&flush_rq->ref)) { in flush_end_io()
239 WRITE_ONCE(flush_rq->state, MQ_RQ_IDLE); in flush_end_io()
244 flush_rq->tag = BLK_MQ_NO_TAG; in flush_end_io()
246 blk_mq_put_driver_tag(flush_rq); in flush_end_io()
247 flush_rq->internal_tag = BLK_MQ_NO_TAG; in flush_end_io()
286 struct request *flush_rq = fq->flush_rq; in blk_kick_flush() local
[all …]
Dblk.h26 struct request *flush_rq; member
50 return hctx->fq->flush_rq == req; in is_flush_rq()
Dblk-mq.c2583 set->ops->exit_request(set, hctx->fq->flush_rq, hctx_idx); in blk_mq_exit_hctx()
2640 if (blk_mq_init_request(set, hctx->fq->flush_rq, hctx_idx, in blk_mq_init_hctx()
/Linux-v5.10/drivers/infiniband/hw/i40iw/
Di40iw_ctrl.c2695 bool flush_sq = false, flush_rq = false; in i40iw_sc_qp_flush_wqes() local
2697 if (info->rq && !qp->flush_rq) in i40iw_sc_qp_flush_wqes()
2698 flush_rq = true; in i40iw_sc_qp_flush_wqes()
2704 qp->flush_rq |= flush_rq; in i40iw_sc_qp_flush_wqes()
2705 if (!flush_sq && !flush_rq) in i40iw_sc_qp_flush_wqes()
2713 if (flush_rq) { in i40iw_sc_qp_flush_wqes()
2734 LS_64(flush_rq, I40IW_CQPSQ_FWQE_FLUSHRQ) | in i40iw_sc_qp_flush_wqes()
Di40iw_type.h404 bool flush_rq; member