Home
last modified time | relevance | path

Searched refs:mq_ops (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.15/block/
Dblk-mq.h194 if (q->mq_ops->put_budget) in blk_mq_put_dispatch_budget()
195 q->mq_ops->put_budget(q, budget_token); in blk_mq_put_dispatch_budget()
200 if (q->mq_ops->get_budget) in blk_mq_get_dispatch_budget()
201 return q->mq_ops->get_budget(q); in blk_mq_get_dispatch_budget()
210 if (rq->q->mq_ops->set_rq_budget_token) in blk_mq_set_rq_budget_token()
211 rq->q->mq_ops->set_rq_budget_token(rq, token); in blk_mq_set_rq_budget_token()
216 if (rq->q->mq_ops->get_rq_budget_token) in blk_mq_get_rq_budget_token()
217 return rq->q->mq_ops->get_rq_budget_token(rq); in blk_mq_get_rq_budget_token()
Dblk-sysfs.c410 if (!q->mq_ops || !q->mq_ops->poll) in queue_poll_delay_store()
694 (!q->mq_ops || !q->mq_ops->timeout)) in queue_attr_visible()
Dblk-mq.c584 rq->q->mq_ops->complete(rq); in blk_complete_reqs()
687 rq->q->mq_ops->complete(rq); in blk_mq_complete_request()
887 if (req->q->mq_ops->timeout) { in blk_mq_rq_timed_out()
890 ret = req->q->mq_ops->timeout(req, reserved); in blk_mq_rq_timed_out()
1368 ret = q->mq_ops->queue_rq(hctx, &bd); in blk_mq_dispatch_rq_list()
1402 if ((!list_empty(list) || errors) && q->mq_ops->commit_rqs && queued) in blk_mq_dispatch_rq_list()
1403 q->mq_ops->commit_rqs(hctx); in blk_mq_dispatch_rq_list()
1990 ret = q->mq_ops->queue_rq(hctx, &bd); in __blk_mq_issue_directly()
2132 hctx->queue->mq_ops->commit_rqs && queued) in blk_mq_try_issue_list_directly()
2133 hctx->queue->mq_ops->commit_rqs(hctx); in blk_mq_try_issue_list_directly()
[all …]
Dblk-mq-debugfs.c331 const struct blk_mq_ops *const mq_ops = rq->q->mq_ops; in __blk_mq_debugfs_rq_show() local
349 if (mq_ops->show_rq) in __blk_mq_debugfs_rq_show()
350 mq_ops->show_rq(m, rq); in __blk_mq_debugfs_rq_show()
Dblk-core.c640 if (!IS_ERR(req) && q->mq_ops->initialize_rq_fn) in blk_get_request()
641 q->mq_ops->initialize_rq_fn(req); in blk_get_request()
1525 if (queue_is_mq(q) && q->mq_ops->busy) in blk_lld_busy()
1526 return q->mq_ops->busy(q); in blk_lld_busy()
/Linux-v5.15/include/linux/
Dblk-mq.h620 if (rq->q->mq_ops->cleanup_rq) in blk_mq_cleanup_rq()
621 rq->q->mq_ops->cleanup_rq(rq); in blk_mq_cleanup_rq()
Dblkdev.h382 const struct blk_mq_ops *mq_ops; member
652 return q->mq_ops; in queue_is_mq()
/Linux-v5.15/drivers/scsi/
Dscsi_lib.c1954 if (q->mq_ops == &scsi_mq_ops_no_commit || in scsi_device_from_queue()
1955 q->mq_ops == &scsi_mq_ops) in scsi_device_from_queue()