Searched refs:flush_rq (Results 1 – 3 of 3) sorted by relevance
/block/ |
D | blk-flush.c | 215 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() 226 if (!refcount_dec_and_test(&flush_rq->ref)) { in flush_end_io() 232 blk_account_io_flush(flush_rq); in flush_end_io() 238 WRITE_ONCE(flush_rq->state, MQ_RQ_IDLE); in flush_end_io() 245 flush_rq->tag = BLK_MQ_NO_TAG; in flush_end_io() 247 blk_mq_put_driver_tag(flush_rq); in flush_end_io() 248 flush_rq->internal_tag = BLK_MQ_NO_TAG; in flush_end_io() 292 struct request *flush_rq = fq->flush_rq; in blk_kick_flush() local [all …]
|
D | blk-mq.c | 2724 unsigned int queue_depth, struct request *flush_rq) in blk_mq_clear_flush_rq_mapping() argument 2733 WARN_ON_ONCE(refcount_read(&flush_rq->ref) != 0); in blk_mq_clear_flush_rq_mapping() 2736 cmpxchg(&tags->rqs[i], flush_rq, NULL); in blk_mq_clear_flush_rq_mapping() 2753 struct request *flush_rq = hctx->fq->flush_rq; in blk_mq_exit_hctx() local 2759 set->queue_depth, flush_rq); in blk_mq_exit_hctx() 2761 set->ops->exit_request(set, flush_rq, hctx_idx); in blk_mq_exit_hctx() 2818 if (blk_mq_init_request(set, hctx->fq->flush_rq, hctx_idx, in blk_mq_init_hctx()
|
D | blk.h | 26 struct request *flush_rq; member
|