Home
last modified time | relevance | path

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

/openbmc/linux/block/
H A Dblk-flush.c216 static enum rq_end_io_ret flush_end_io(struct request *flush_rq, in flush_end_io() argument
219 struct request_queue *q = flush_rq->q; in flush_end_io()
223 struct blk_flush_queue *fq = blk_get_flush_queue(q, flush_rq->mq_ctx); in flush_end_io()
228 if (!req_ref_put_and_test(flush_rq)) { in flush_end_io()
234 blk_account_io_flush(flush_rq); in flush_end_io()
240 WRITE_ONCE(flush_rq->state, MQ_RQ_IDLE); in flush_end_io()
247 flush_rq->tag = BLK_MQ_NO_TAG; in flush_end_io()
249 blk_mq_put_driver_tag(flush_rq); in flush_end_io()
250 flush_rq->internal_tag = BLK_MQ_NO_TAG; in flush_end_io()
296 struct request *flush_rq = fq->flush_rq; in blk_kick_flush() local
[all …]
H A Dblk-mq.c3719 unsigned int queue_depth, struct request *flush_rq) in blk_mq_clear_flush_rq_mapping() argument
3728 WARN_ON_ONCE(req_ref_read(flush_rq) != 0); in blk_mq_clear_flush_rq_mapping()
3731 cmpxchg(&tags->rqs[i], flush_rq, NULL); in blk_mq_clear_flush_rq_mapping()
3748 struct request *flush_rq = hctx->fq->flush_rq; in blk_mq_exit_hctx() local
3755 set->queue_depth, flush_rq); in blk_mq_exit_hctx()
3757 set->ops->exit_request(set, flush_rq, hctx_idx); in blk_mq_exit_hctx()
3795 if (blk_mq_init_request(set, hctx->fq->flush_rq, hctx_idx, in blk_mq_init_hctx()
3806 set->ops->exit_request(set, hctx->fq->flush_rq, hctx_idx); in blk_mq_init_hctx()
H A Dblk.h25 struct request *flush_rq; member
/openbmc/linux/drivers/infiniband/hw/irdma/
H A Dctrl.c2223 bool flush_sq = false, flush_rq = false; in irdma_sc_qp_flush_wqes() local
2225 if (info->rq && !qp->flush_rq) in irdma_sc_qp_flush_wqes()
2226 flush_rq = true; in irdma_sc_qp_flush_wqes()
2230 qp->flush_rq |= flush_rq; in irdma_sc_qp_flush_wqes()
2232 if (!flush_sq && !flush_rq) { in irdma_sc_qp_flush_wqes()
2245 if (flush_rq) in irdma_sc_qp_flush_wqes()
2268 FIELD_PREP(IRDMA_CQPSQ_FWQE_FLUSHRQ, flush_rq) | in irdma_sc_qp_flush_wqes()
H A Dtype.h479 bool flush_rq:1; member
H A Dhw.c2741 iwqp->sc_qp.flush_rq = false; in irdma_flush_wqes()