Home
last modified time | relevance | path

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

/drivers/nvme/host/
Dpci.c321 if (nvme_submit_sync_cmd(dev->ctrl.admin_q, &c, NULL, 0)) { in nvme_dbbuf_set()
1133 return nvme_submit_sync_cmd(dev->ctrl.admin_q, &c, NULL, 0); in adapter_delete_queue()
1157 return nvme_submit_sync_cmd(dev->ctrl.admin_q, &c, NULL, 0); in adapter_alloc_cq()
1187 return nvme_submit_sync_cmd(dev->ctrl.admin_q, &c, NULL, 0); in adapter_alloc_sq()
1349 abort_req = nvme_alloc_request(dev->ctrl.admin_q, &cmd, in nvme_timeout()
1406 if (!nvmeq->qid && nvmeq->dev->ctrl.admin_q) in nvme_suspend_queue()
1407 blk_mq_quiesce_queue(nvmeq->dev->ctrl.admin_q); in nvme_suspend_queue()
1633 if (dev->ctrl.admin_q && !blk_queue_dying(dev->ctrl.admin_q)) { in nvme_dev_remove_admin()
1639 blk_mq_unquiesce_queue(dev->ctrl.admin_q); in nvme_dev_remove_admin()
1640 blk_cleanup_queue(dev->ctrl.admin_q); in nvme_dev_remove_admin()
[all …]
Dtcp.c1901 blk_cleanup_queue(ctrl->admin_q); in nvme_tcp_destroy_admin_queue()
1929 ctrl->admin_q = blk_mq_init_queue(ctrl->admin_tagset); in nvme_tcp_configure_admin_queue()
1930 if (IS_ERR(ctrl->admin_q)) { in nvme_tcp_configure_admin_queue()
1931 error = PTR_ERR(ctrl->admin_q); in nvme_tcp_configure_admin_queue()
1944 blk_mq_unquiesce_queue(ctrl->admin_q); in nvme_tcp_configure_admin_queue()
1953 blk_mq_quiesce_queue(ctrl->admin_q); in nvme_tcp_configure_admin_queue()
1954 blk_sync_queue(ctrl->admin_q); in nvme_tcp_configure_admin_queue()
1960 blk_cleanup_queue(ctrl->admin_q); in nvme_tcp_configure_admin_queue()
1975 blk_mq_quiesce_queue(ctrl->admin_q); in nvme_tcp_teardown_admin_queue()
1976 blk_sync_queue(ctrl->admin_q); in nvme_tcp_teardown_admin_queue()
[all …]
Drdma.c845 blk_cleanup_queue(ctrl->ctrl.admin_q); in nvme_rdma_destroy_admin_queue()
902 ctrl->ctrl.admin_q = blk_mq_init_queue(&ctrl->admin_tag_set); in nvme_rdma_configure_admin_queue()
903 if (IS_ERR(ctrl->ctrl.admin_q)) { in nvme_rdma_configure_admin_queue()
904 error = PTR_ERR(ctrl->ctrl.admin_q); in nvme_rdma_configure_admin_queue()
924 blk_mq_unquiesce_queue(ctrl->ctrl.admin_q); in nvme_rdma_configure_admin_queue()
933 blk_mq_quiesce_queue(ctrl->ctrl.admin_q); in nvme_rdma_configure_admin_queue()
934 blk_sync_queue(ctrl->ctrl.admin_q); in nvme_rdma_configure_admin_queue()
940 blk_cleanup_queue(ctrl->ctrl.admin_q); in nvme_rdma_configure_admin_queue()
1033 blk_mq_quiesce_queue(ctrl->ctrl.admin_q); in nvme_rdma_teardown_admin_queue()
1034 blk_sync_queue(ctrl->ctrl.admin_q); in nvme_rdma_teardown_admin_queue()
[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()
Dcore.c595 return nvme_submit_sync_cmd(ctrl->admin_q, &c, NULL, 0); in nvme_toggle_streams()
622 return nvme_submit_sync_cmd(ctrl->admin_q, &c, s, sizeof(*s)); in nvme_get_stream_params()
1204 rq = nvme_alloc_request(ctrl->admin_q, &ctrl->ka_cmd, in nvme_keep_alive()
1282 error = nvme_submit_sync_cmd(dev->admin_q, &c, *id, in nvme_identify_ctrl()
1367 status = nvme_submit_sync_cmd(ctrl->admin_q, &c, data, in nvme_identify_ns_descs()
1414 error = nvme_submit_sync_cmd(ctrl->admin_q, &c, *id, sizeof(**id)); in nvme_identify_ns()
1456 ret = __nvme_submit_sync_cmd(dev->admin_q, &c, &res, in nvme_features()
1637 status = nvme_submit_user_cmd(ns ? ns->queue : ctrl->admin_q, &c, in nvme_user_cmd()
1681 status = nvme_submit_user_cmd(ns ? ns->queue : ctrl->admin_q, &c, in nvme_user_cmd64()
2341 return __nvme_submit_sync_cmd(ctrl->admin_q, &cmd, NULL, buffer, len, in nvme_sec_submit()
[all …]
Dfc.c2377 blk_mq_unquiesce_queue(ctrl->ctrl.admin_q); in nvme_fc_ctrl_free()
2378 blk_cleanup_queue(ctrl->ctrl.admin_q); in nvme_fc_ctrl_free()
2505 blk_mq_quiesce_queue(ctrl->ctrl.admin_q); in __nvme_fc_abort_outstanding_ios()
2506 blk_sync_queue(ctrl->ctrl.admin_q); in __nvme_fc_abort_outstanding_ios()
3094 blk_mq_unquiesce_queue(ctrl->ctrl.admin_q); in nvme_fc_create_association()
3241 blk_mq_unquiesce_queue(ctrl->ctrl.admin_q); in nvme_fc_delete_association()
3516 ctrl->ctrl.admin_q = blk_mq_init_queue(&ctrl->admin_tag_set); in nvme_fc_init_ctrl()
3517 if (IS_ERR(ctrl->ctrl.admin_q)) { in nvme_fc_init_ctrl()
3518 ret = PTR_ERR(ctrl->ctrl.admin_q); in nvme_fc_init_ctrl()
3587 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.h248 struct request_queue *admin_q; member
Dfabrics.c580 if (rq->q == ctrl->admin_q && (req->flags & NVME_REQ_USERCMD)) in __nvmf_check_ready()
/drivers/nvme/target/
Dloop.c257 blk_cleanup_queue(ctrl->ctrl.admin_q); in nvme_loop_destroy_admin_queue()
370 ctrl->ctrl.admin_q = blk_mq_init_queue(&ctrl->admin_tag_set); in nvme_loop_configure_admin_queue()
371 if (IS_ERR(ctrl->ctrl.admin_q)) { in nvme_loop_configure_admin_queue()
372 error = PTR_ERR(ctrl->ctrl.admin_q); in nvme_loop_configure_admin_queue()
389 blk_mq_unquiesce_queue(ctrl->ctrl.admin_q); in nvme_loop_configure_admin_queue()
399 blk_cleanup_queue(ctrl->ctrl.admin_q); in nvme_loop_configure_admin_queue()
419 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()