Lines Matching refs:type
108 if (e->type->ops.has_work && !e->type->ops.has_work(hctx)) in __blk_mq_do_dispatch_sched()
120 rq = e->type->ops.dispatch_request(hctx); in __blk_mq_do_dispatch_sched()
201 unsigned short idx = ctx->index_hw[hctx->type]; in blk_mq_next_ctx()
351 enum hctx_type type; in blk_mq_sched_bio_merge() local
353 if (e && e->type->ops.bio_merge) { in blk_mq_sched_bio_merge()
354 ret = e->type->ops.bio_merge(q, bio, nr_segs); in blk_mq_sched_bio_merge()
360 type = hctx->type; in blk_mq_sched_bio_merge()
362 list_empty_careful(&ctx->rq_lists[type])) in blk_mq_sched_bio_merge()
372 if (blk_bio_list_merge(q, &ctx->rq_lists[type], bio, nr_segs)) in blk_mq_sched_bio_merge()
448 e->type->ops.insert_requests(hctx, &list, at_head); in blk_mq_sched_insert_request()
476 e->type->ops.insert_requests(hctx, list, false); in blk_mq_sched_insert_requests()
658 if (e->type->ops.exit_hctx && hctx->sched_data) { in blk_mq_exit_sched()
659 e->type->ops.exit_hctx(hctx, i); in blk_mq_exit_sched()
669 if (e->type->ops.exit_sched) in blk_mq_exit_sched()
670 e->type->ops.exit_sched(e); in blk_mq_exit_sched()