Lines Matching refs:ops
96 const bool has_sched_dispatch = e && e->type->ops.mq.dispatch_request; in blk_mq_sched_dispatch_requests()
143 rq = e->type->ops.mq.dispatch_request(hctx); in blk_mq_sched_dispatch_requests()
234 if (e && e->type->ops.mq.bio_merge) { in __blk_mq_sched_bio_merge()
236 return e->type->ops.mq.bio_merge(hctx, bio); in __blk_mq_sched_bio_merge()
374 if (e && e->type->ops.mq.insert_requests) { in blk_mq_sched_insert_request()
378 e->type->ops.mq.insert_requests(hctx, &list, at_head); in blk_mq_sched_insert_request()
414 if (e && e->type->ops.mq.insert_requests) in blk_mq_sched_insert_requests()
415 e->type->ops.mq.insert_requests(hctx, list, false); in blk_mq_sched_insert_requests()
475 if (e->type->ops.mq.init_hctx) { in blk_mq_sched_init_hctx()
476 ret = e->type->ops.mq.init_hctx(hctx, hctx_idx); in blk_mq_sched_init_hctx()
498 if (e->type->ops.mq.exit_hctx && hctx->sched_data) { in blk_mq_sched_exit_hctx()
499 e->type->ops.mq.exit_hctx(hctx, hctx_idx); in blk_mq_sched_exit_hctx()
532 ret = e->ops.mq.init_sched(q, e); in blk_mq_init_sched()
539 if (e->ops.mq.init_hctx) { in blk_mq_init_sched()
540 ret = e->ops.mq.init_hctx(hctx, i); in blk_mq_init_sched()
566 if (e->type->ops.mq.exit_hctx && hctx->sched_data) { in blk_mq_exit_sched()
567 e->type->ops.mq.exit_hctx(hctx, i); in blk_mq_exit_sched()
572 if (e->type->ops.mq.exit_sched) in blk_mq_exit_sched()
573 e->type->ops.mq.exit_sched(e); in blk_mq_exit_sched()