/Linux-v4.19/block/ |
D | blk-flush.c | 137 if (rq->q->mq_ops) { in blk_flush_queue_rq() 207 if (q->mq_ops) in blk_flush_complete_seq() 230 if (q->mq_ops) { in flush_end_io() 251 if (!q->mq_ops) in flush_end_io() 274 WARN_ON(q->mq_ops); in flush_end_io() 278 if (q->mq_ops) in flush_end_io() 316 !(q->mq_ops && q->elevator) && in blk_kick_flush() 337 if (q->mq_ops) { in blk_kick_flush() 446 if (!q->mq_ops) in blk_insert_flush() 471 if (q->mq_ops) in blk_insert_flush() [all …]
|
D | blk-core.c | 317 WARN_ON_ONCE(q->mq_ops); in blk_delay_queue() 337 WARN_ON_ONCE(q->mq_ops); in blk_start_queue_async() 356 WARN_ON_ONCE(q->mq_ops); in blk_start_queue() 380 WARN_ON_ONCE(q->mq_ops); in blk_stop_queue() 410 if (q->mq_ops) { in blk_sync_queue() 457 WARN_ON_ONCE(q->mq_ops); in __blk_run_queue_uncond() 485 WARN_ON_ONCE(q->mq_ops); in __blk_run_queue() 510 WARN_ON_ONCE(q->mq_ops); in blk_run_queue_async() 529 WARN_ON_ONCE(q->mq_ops); in blk_run_queue() 559 WARN_ON_ONCE(q->mq_ops); in __blk_drain_queue() [all …]
|
D | blk-timeout.c | 156 if (req->q->mq_ops) { in blk_abort_request() 197 if (!q->mq_ops) in blk_add_timer() 201 if (!q->mq_ops && !q->rq_timed_out_fn) in blk_add_timer() 220 if (!q->mq_ops) in blk_add_timer()
|
D | blk-mq.h | 162 if (q->mq_ops->put_budget) in blk_mq_put_dispatch_budget() 163 q->mq_ops->put_budget(hctx); in blk_mq_put_dispatch_budget() 170 if (q->mq_ops->get_budget) in blk_mq_get_dispatch_budget() 171 return q->mq_ops->get_budget(hctx); in blk_mq_get_dispatch_budget()
|
D | blk-sysfs.c | 71 if (!q->request_fn && !q->mq_ops) in queue_requests_store() 382 if (!q->mq_ops || !q->mq_ops->poll) in queue_poll_delay_store() 408 if (!q->mq_ops || !q->mq_ops->poll) in queue_poll_store() 461 if (q->mq_ops) { in queue_wb_lat_store() 470 if (q->mq_ops) { in queue_wb_lat_store() 844 if (!q->mq_ops) { in __blk_release_queue() 854 if (q->mq_ops) in __blk_release_queue() 929 if (q->mq_ops) { in blk_register_queue() 940 if (q->request_fn || (q->mq_ops && q->elevator)) { in blk_register_queue() 989 if (q->mq_ops) in blk_unregister_queue() [all …]
|
D | elevator.c | 123 e = elevator_find(name, q->mq_ops != NULL); in elevator_get() 128 e = elevator_find(name, q->mq_ops != NULL); in elevator_get() 1018 if (q->mq_ops) { in elevator_switch() 1096 if (q->mq_ops && !strncmp(name, "none", 4)) in __elevator_change() 1114 if (q->mq_ops && q->tag_set && (q->tag_set->flags & in elv_support_iosched() 1125 if (!(q->mq_ops || q->request_fn) || !elv_support_iosched(q)) in elv_iosched_store() 1140 bool uses_mq = q->mq_ops != NULL; in elv_iosched_show() 1158 if (__e->uses_mq && q->mq_ops && elv_support_iosched(q)) in elv_iosched_show() 1160 else if (!__e->uses_mq && !q->mq_ops) in elv_iosched_show() 1165 if (q->mq_ops && q->elevator) in elv_iosched_show()
|
D | blk-exec.c | 63 if (q->mq_ops) { in blk_execute_rq_nowait()
|
D | blk-mq.c | 144 if (q->mq_ops) in blk_freeze_queue_start() 179 if (!q->mq_ops) in blk_freeze_queue() 775 if (req->q->mq_ops->timeout) { in blk_mq_rq_timed_out() 778 ret = req->q->mq_ops->timeout(req, reserved); in blk_mq_rq_timed_out() 1175 ret = q->mq_ops->queue_rq(hctx, &bd); in blk_mq_dispatch_rq_list() 1693 ret = q->mq_ops->queue_rq(hctx, &bd); in __blk_mq_issue_directly() 2571 q->mq_ops = set->ops; in blk_mq_init_allocated_queue() 2614 if (q->mq_ops->poll) in blk_mq_init_allocated_queue() 2649 q->mq_ops = NULL; in blk_mq_init_allocated_queue() 3161 ret = q->mq_ops->poll(hctx, rq->tag); in __blk_mq_poll()
|
D | blk-mq-debugfs.c | 352 const struct blk_mq_ops *const mq_ops = rq->q->mq_ops; in __blk_mq_debugfs_rq_show() local 369 if (mq_ops->show_rq) in __blk_mq_debugfs_rq_show() 370 mq_ops->show_rq(m, rq); in __blk_mq_debugfs_rq_show()
|
D | blk-cgroup.c | 1399 if (q->mq_ops) in blkcg_activate_policy() 1440 if (q->mq_ops) in blkcg_activate_policy() 1466 if (q->mq_ops) in blkcg_deactivate_policy() 1486 if (q->mq_ops) in blkcg_deactivate_policy()
|
D | genhd.c | 50 if (q->mq_ops) in part_inc_in_flight() 60 if (q->mq_ops) in part_dec_in_flight() 71 if (q->mq_ops) { in part_in_flight() 88 if (q->mq_ops) { in part_in_flight_rw()
|
D | blk-ioc.c | 257 if (q->mq_ops) { in ioc_clear_queue()
|
D | blk-merge.c | 560 return !q->mq_ops && req->special; in req_no_special_merge() 679 if (!q->mq_ops) in attempt_merge()
|
D | blk.h | 116 if (q->mq_ops) in blk_get_flush_queue()
|
D | blk-mq-tag.c | 474 if (q->mq_ops) { in blk_mq_unique_tag()
|
D | blk-settings.c | 71 WARN_ON_ONCE(q->mq_ops); in blk_queue_rq_timed_out()
|
D | blk-wbt.c | 712 if ((q->mq_ops && IS_ENABLED(CONFIG_BLK_WBT_MQ)) || in wbt_enable_default()
|
/Linux-v4.19/drivers/md/ |
D | dm-rq.c | 80 if (!q->mq_ops) in dm_start_queue() 106 if (!q->mq_ops) in dm_stop_queue() 197 if (!q->mq_ops && run_queue) { in rq_completed() 225 if (!rq->q->mq_ops) in dm_end_request() 276 if (!rq->q->mq_ops) in dm_requeue_original_request() 343 if (!rq->q->mq_ops) in dm_softirq_done() 366 if (!rq->q->mq_ops) in dm_complete_request() 507 if (!rq->q->mq_ops) in map_request() 535 if (!orig->q->mq_ops) in dm_start_request()
|
D | dm-table.c | 924 if (q->mq_ops) in device_is_rq_based() 2094 if (queue->mq_ops) in dm_table_run_md_queue_async()
|
D | dm-mpath.c | 540 if (q->mq_ops) in multipath_clone_and_map()
|
/Linux-v4.19/drivers/scsi/ |
D | scsi_lib.c | 193 if (q->mq_ops) { in __scsi_queue_insert() 373 if (q->mq_ops) in scsi_kick_queue() 537 if (q->mq_ops) in scsi_run_queue() 769 if (q->mq_ops) { in scsi_io_completion_reprep() 1163 if (!rq->q->mq_ops) { in scsi_init_io() 1518 if (!q->mq_ops) in scsi_dev_queue_ready() 2383 if (q->mq_ops) { in scsi_device_from_queue() 2384 if (q->mq_ops == &scsi_mq_ops) in scsi_device_from_queue() 3157 if (q->mq_ops) { in scsi_internal_device_block_nowait() 3196 if (q->mq_ops) in scsi_internal_device_block() [all …]
|
D | scsi_error.c | 311 if (req->q->mq_ops && !blk_mq_mark_complete(req)) in scsi_times_out()
|
/Linux-v4.19/drivers/mmc/core/ |
D | queue.c | 382 const struct blk_mq_ops *mq_ops, spinlock_t *lock) in mmc_mq_init_queue() argument 387 mq->tag_set.ops = mq_ops; in mmc_mq_init_queue()
|
/Linux-v4.19/include/linux/ |
D | blkdev.h | 470 const struct blk_mq_ops *mq_ops; member 771 return q->request_fn || q->mq_ops; in queue_is_rq_based()
|