Home
last modified time | relevance | path

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

/linux-4.19.296/block/
Dblk-flush.c221 static void flush_end_io(struct request *flush_rq, blk_status_t error) in flush_end_io() argument
223 struct request_queue *q = flush_rq->q; in flush_end_io()
228 struct blk_flush_queue *fq = blk_get_flush_queue(q, flush_rq->mq_ctx); in flush_end_io()
236 if (!refcount_dec_and_test(&flush_rq->ref)) { in flush_end_io()
247 hctx = blk_mq_map_queue(q, flush_rq->mq_ctx->cpu); in flush_end_io()
249 blk_mq_tag_set_rq(hctx, flush_rq->tag, fq->orig_rq); in flush_end_io()
250 flush_rq->tag = -1; in flush_end_io()
252 blk_mq_put_driver_tag_hctx(hctx, flush_rq); in flush_end_io()
253 flush_rq->internal_tag = -1; in flush_end_io()
264 elv_completed_request(q, flush_rq); in flush_end_io()
[all …]
Dblk.h30 struct request *flush_rq; member
130 return hctx->fq->flush_rq == req; in is_flush_rq()
Dblk-sysfs.c849 q->exit_rq_fn(q, q->fq->flush_rq); in __blk_release_queue()
Dblk-mq.c2174 set->ops->exit_request(set, hctx->fq->flush_rq, hctx_idx); in blk_mq_exit_hctx()
2243 if (blk_mq_init_request(set, hctx->fq->flush_rq, hctx_idx, node)) in blk_mq_init_hctx()
Dblk-core.c1178 if (q->init_rq_fn && q->init_rq_fn(q, q->fq->flush_rq, GFP_KERNEL)) in blk_init_allocated_queue()
1200 q->exit_rq_fn(q, q->fq->flush_rq); in blk_init_allocated_queue()