Home
last modified time | relevance | path

Searched refs:admin_q (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/drivers/nvme/target/
Dloop.c256 blk_cleanup_queue(ctrl->ctrl.admin_q); in nvme_loop_destroy_admin_queue()
368 ctrl->ctrl.admin_q = blk_mq_init_queue(&ctrl->admin_tag_set); in nvme_loop_configure_admin_queue()
369 if (IS_ERR(ctrl->ctrl.admin_q)) { in nvme_loop_configure_admin_queue()
370 error = PTR_ERR(ctrl->ctrl.admin_q); in nvme_loop_configure_admin_queue()
387 blk_mq_unquiesce_queue(ctrl->ctrl.admin_q); in nvme_loop_configure_admin_queue()
396 blk_cleanup_queue(ctrl->ctrl.admin_q); in nvme_loop_configure_admin_queue()
416 blk_mq_quiesce_queue(ctrl->ctrl.admin_q); in nvme_loop_shutdown_ctrl()
Dpassthru.c227 struct request_queue *q = ctrl->admin_q; in nvmet_passthru_execute_cmd()
/Linux-v5.10/drivers/nvme/host/
Dpci.c319 if (nvme_submit_sync_cmd(dev->ctrl.admin_q, &c, NULL, 0)) { in nvme_dbbuf_set()
1105 return nvme_submit_sync_cmd(dev->ctrl.admin_q, &c, NULL, 0); in adapter_delete_queue()
1129 return nvme_submit_sync_cmd(dev->ctrl.admin_q, &c, NULL, 0); in adapter_alloc_cq()
1159 return nvme_submit_sync_cmd(dev->ctrl.admin_q, &c, NULL, 0); in adapter_alloc_sq()
1321 abort_req = nvme_alloc_request(dev->ctrl.admin_q, &cmd, in nvme_timeout()
1379 if (!nvmeq->qid && nvmeq->dev->ctrl.admin_q) in nvme_suspend_queue()
1380 blk_mq_quiesce_queue(nvmeq->dev->ctrl.admin_q); in nvme_suspend_queue()
1606 if (dev->ctrl.admin_q && !blk_queue_dying(dev->ctrl.admin_q)) { in nvme_dev_remove_admin()
1612 blk_mq_unquiesce_queue(dev->ctrl.admin_q); in nvme_dev_remove_admin()
1613 blk_cleanup_queue(dev->ctrl.admin_q); in nvme_dev_remove_admin()
[all …]
Dzns.c35 status = nvme_submit_sync_cmd(ctrl->admin_q, &c, id, sizeof(*id)); in nvme_set_max_append()
82 status = nvme_submit_sync_cmd(ns->ctrl->admin_q, &c, id, sizeof(*id)); in nvme_update_zone_info()
Dtcp.c1818 blk_cleanup_queue(ctrl->admin_q); in nvme_tcp_destroy_admin_queue()
1846 ctrl->admin_q = blk_mq_init_queue(ctrl->admin_tagset); in nvme_tcp_configure_admin_queue()
1847 if (IS_ERR(ctrl->admin_q)) { in nvme_tcp_configure_admin_queue()
1848 error = PTR_ERR(ctrl->admin_q); in nvme_tcp_configure_admin_queue()
1861 blk_mq_unquiesce_queue(ctrl->admin_q); in nvme_tcp_configure_admin_queue()
1873 blk_cleanup_queue(ctrl->admin_q); in nvme_tcp_configure_admin_queue()
1888 blk_mq_quiesce_queue(ctrl->admin_q); in nvme_tcp_teardown_admin_queue()
1889 blk_sync_queue(ctrl->admin_q); in nvme_tcp_teardown_admin_queue()
1897 blk_mq_unquiesce_queue(ctrl->admin_q); in nvme_tcp_teardown_admin_queue()
1906 blk_mq_quiesce_queue(ctrl->admin_q); in nvme_tcp_teardown_io_queues()
[all …]
Drdma.c832 blk_cleanup_queue(ctrl->ctrl.admin_q); in nvme_rdma_destroy_admin_queue()
889 ctrl->ctrl.admin_q = blk_mq_init_queue(&ctrl->admin_tag_set); in nvme_rdma_configure_admin_queue()
890 if (IS_ERR(ctrl->ctrl.admin_q)) { in nvme_rdma_configure_admin_queue()
891 error = PTR_ERR(ctrl->ctrl.admin_q); in nvme_rdma_configure_admin_queue()
911 blk_mq_unquiesce_queue(ctrl->ctrl.admin_q); in nvme_rdma_configure_admin_queue()
923 blk_cleanup_queue(ctrl->ctrl.admin_q); in nvme_rdma_configure_admin_queue()
1012 blk_mq_quiesce_queue(ctrl->ctrl.admin_q); in nvme_rdma_teardown_admin_queue()
1013 blk_sync_queue(ctrl->ctrl.admin_q); in nvme_rdma_teardown_admin_queue()
1021 blk_mq_unquiesce_queue(ctrl->ctrl.admin_q); in nvme_rdma_teardown_admin_queue()
1180 blk_mq_unquiesce_queue(ctrl->ctrl.admin_q); in nvme_rdma_error_recovery_work()
[all …]
Dcore.c557 return nvme_submit_sync_cmd(ctrl->admin_q, &c, NULL, 0); in nvme_toggle_streams()
584 return nvme_submit_sync_cmd(ctrl->admin_q, &c, s, sizeof(*s)); in nvme_get_stream_params()
1144 rq = nvme_alloc_request(ctrl->admin_q, &ctrl->ka_cmd, BLK_MQ_REQ_RESERVED, in nvme_keep_alive()
1222 error = nvme_submit_sync_cmd(dev->admin_q, &c, *id, in nvme_identify_ctrl()
1301 status = nvme_submit_sync_cmd(ctrl->admin_q, &c, data, in nvme_identify_ns_descs()
1348 error = nvme_submit_sync_cmd(ctrl->admin_q, &c, *id, sizeof(**id)); in nvme_identify_ns()
1384 ret = __nvme_submit_sync_cmd(dev->admin_q, &c, &res, in nvme_features()
1552 status = nvme_submit_user_cmd(ns ? ns->queue : ctrl->admin_q, &c, in nvme_user_cmd()
1596 status = nvme_submit_user_cmd(ns ? ns->queue : ctrl->admin_q, &c, in nvme_user_cmd64()
2264 return __nvme_submit_sync_cmd(ctrl->admin_q, &cmd, NULL, buffer, len, in nvme_sec_submit()
[all …]
Dfc.c2374 blk_mq_unquiesce_queue(ctrl->ctrl.admin_q); in nvme_fc_ctrl_free()
2375 blk_cleanup_queue(ctrl->ctrl.admin_q); in nvme_fc_ctrl_free()
2488 blk_mq_quiesce_queue(ctrl->ctrl.admin_q); in __nvme_fc_abort_outstanding_ios()
3076 blk_mq_unquiesce_queue(ctrl->ctrl.admin_q); in nvme_fc_create_association()
3223 blk_mq_unquiesce_queue(ctrl->ctrl.admin_q); in nvme_fc_delete_association()
3496 ctrl->ctrl.admin_q = blk_mq_init_queue(&ctrl->admin_tag_set); in nvme_fc_init_ctrl()
3497 if (IS_ERR(ctrl->ctrl.admin_q)) { in nvme_fc_init_ctrl()
3498 ret = PTR_ERR(ctrl->ctrl.admin_q); in nvme_fc_init_ctrl()
3566 blk_cleanup_queue(ctrl->ctrl.admin_q); in nvme_fc_init_ctrl()
Dlightnvm.c445 ret = nvme_submit_sync_cmd(ns->ctrl->admin_q, (struct nvme_command *)&c, in nvme_nvm_identity()
496 ret = nvme_submit_sync_cmd(ctrl->admin_q, (struct nvme_command *)&c, in nvme_nvm_get_bb_tbl()
544 ret = nvme_submit_sync_cmd(ns->ctrl->admin_q, (struct nvme_command *)&c, in nvme_nvm_set_bb_tbl()
918 q = admin ? ns->ctrl->admin_q : ns->queue; in nvme_nvm_user_vcmd()
Dnvme.h236 struct request_queue *admin_q; member
Dfabrics.c575 if (rq->q == ctrl->admin_q && (req->flags & NVME_REQ_USERCMD)) in __nvmf_check_ready()