Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/nvme/target/
Dloop.c269 blk_cleanup_queue(ctrl->ctrl.admin_q); in nvme_loop_destroy_admin_queue()
382 ctrl->ctrl.admin_q = blk_mq_init_queue(&ctrl->admin_tag_set); in nvme_loop_configure_admin_queue()
383 if (IS_ERR(ctrl->ctrl.admin_q)) { in nvme_loop_configure_admin_queue()
384 error = PTR_ERR(ctrl->ctrl.admin_q); in nvme_loop_configure_admin_queue()
401 blk_mq_unquiesce_queue(ctrl->ctrl.admin_q); in nvme_loop_configure_admin_queue()
411 blk_cleanup_queue(ctrl->ctrl.admin_q); in nvme_loop_configure_admin_queue()
431 blk_mq_quiesce_queue(ctrl->ctrl.admin_q); in nvme_loop_shutdown_ctrl()
Dpassthru.c232 struct request_queue *q = ctrl->admin_q; in nvmet_passthru_execute_cmd()
/Linux-v5.15/drivers/nvme/host/
Dpci.c319 if (nvme_submit_sync_cmd(dev->ctrl.admin_q, &c, NULL, 0)) { in nvme_dbbuf_set()
1127 return nvme_submit_sync_cmd(dev->ctrl.admin_q, &c, NULL, 0); in adapter_delete_queue()
1150 return nvme_submit_sync_cmd(dev->ctrl.admin_q, &c, NULL, 0); in adapter_alloc_cq()
1179 return nvme_submit_sync_cmd(dev->ctrl.admin_q, &c, NULL, 0); in adapter_alloc_sq()
1340 abort_req = nvme_alloc_request(dev->ctrl.admin_q, &cmd, in nvme_timeout()
1397 if (!nvmeq->qid && nvmeq->dev->ctrl.admin_q) in nvme_suspend_queue()
1398 blk_mq_quiesce_queue(nvmeq->dev->ctrl.admin_q); in nvme_suspend_queue()
1651 if (dev->ctrl.admin_q && !blk_queue_dying(dev->ctrl.admin_q)) { in nvme_dev_remove_admin()
1657 blk_mq_unquiesce_queue(dev->ctrl.admin_q); in nvme_dev_remove_admin()
1658 blk_cleanup_queue(dev->ctrl.admin_q); in nvme_dev_remove_admin()
[all …]
Dtcp.c1878 blk_cleanup_queue(ctrl->admin_q); in nvme_tcp_destroy_admin_queue()
1906 ctrl->admin_q = blk_mq_init_queue(ctrl->admin_tagset); in nvme_tcp_configure_admin_queue()
1907 if (IS_ERR(ctrl->admin_q)) { in nvme_tcp_configure_admin_queue()
1908 error = PTR_ERR(ctrl->admin_q); in nvme_tcp_configure_admin_queue()
1921 blk_mq_unquiesce_queue(ctrl->admin_q); in nvme_tcp_configure_admin_queue()
1930 blk_mq_quiesce_queue(ctrl->admin_q); in nvme_tcp_configure_admin_queue()
1931 blk_sync_queue(ctrl->admin_q); in nvme_tcp_configure_admin_queue()
1937 blk_cleanup_queue(ctrl->admin_q); in nvme_tcp_configure_admin_queue()
1952 blk_mq_quiesce_queue(ctrl->admin_q); in nvme_tcp_teardown_admin_queue()
1953 blk_sync_queue(ctrl->admin_q); in nvme_tcp_teardown_admin_queue()
[all …]
Drdma.c842 blk_cleanup_queue(ctrl->ctrl.admin_q); in nvme_rdma_destroy_admin_queue()
899 ctrl->ctrl.admin_q = blk_mq_init_queue(&ctrl->admin_tag_set); in nvme_rdma_configure_admin_queue()
900 if (IS_ERR(ctrl->ctrl.admin_q)) { in nvme_rdma_configure_admin_queue()
901 error = PTR_ERR(ctrl->ctrl.admin_q); in nvme_rdma_configure_admin_queue()
921 blk_mq_unquiesce_queue(ctrl->ctrl.admin_q); in nvme_rdma_configure_admin_queue()
930 blk_mq_quiesce_queue(ctrl->ctrl.admin_q); in nvme_rdma_configure_admin_queue()
931 blk_sync_queue(ctrl->ctrl.admin_q); in nvme_rdma_configure_admin_queue()
937 blk_cleanup_queue(ctrl->ctrl.admin_q); in nvme_rdma_configure_admin_queue()
1028 blk_mq_quiesce_queue(ctrl->ctrl.admin_q); in nvme_rdma_teardown_admin_queue()
1029 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()
87 status = nvme_submit_sync_cmd(ns->ctrl->admin_q, &c, id, sizeof(*id)); in nvme_update_zone_info()
Dcore.c697 if (rq->q == ctrl->admin_q && (req->flags & NVME_REQ_USERCMD)) in __nvme_check_ready()
734 return nvme_submit_sync_cmd(ctrl->admin_q, &c, NULL, 0); in nvme_toggle_streams()
760 return nvme_submit_sync_cmd(ctrl->admin_q, &c, s, sizeof(*s)); in nvme_get_stream_params()
1265 rq = nvme_alloc_request(ctrl->admin_q, &ctrl->ka_cmd, in nvme_keep_alive_work()
1337 error = nvme_submit_sync_cmd(dev->admin_q, &c, *id, in nvme_identify_ctrl()
1411 status = nvme_submit_sync_cmd(ctrl->admin_q, &c, data, in nvme_identify_ns_descs()
1459 error = nvme_submit_sync_cmd(ctrl->admin_q, &c, *id, sizeof(**id)); in nvme_identify_ns()
1494 ret = __nvme_submit_sync_cmd(dev->admin_q, &c, &res, in nvme_features()
2078 return __nvme_submit_sync_cmd(ctrl->admin_q, &cmd, NULL, buffer, len, 0, in nvme_sec_submit()
2764 return nvme_submit_sync_cmd(ctrl->admin_q, &c, log, size); in nvme_get_log()
[all …]
Dioctl.c224 status = nvme_submit_user_cmd(ns ? ns->queue : ctrl->admin_q, &c, in nvme_user_cmd()
270 status = nvme_submit_user_cmd(ns ? ns->queue : ctrl->admin_q, &c, in nvme_user_cmd64()
Dfc.c2385 blk_mq_unquiesce_queue(ctrl->ctrl.admin_q); in nvme_fc_ctrl_free()
2386 blk_cleanup_queue(ctrl->ctrl.admin_q); in nvme_fc_ctrl_free()
2513 blk_mq_quiesce_queue(ctrl->ctrl.admin_q); in __nvme_fc_abort_outstanding_ios()
2514 blk_sync_queue(ctrl->ctrl.admin_q); in __nvme_fc_abort_outstanding_ios()
3098 blk_mq_unquiesce_queue(ctrl->ctrl.admin_q); in nvme_fc_create_association()
3252 blk_mq_unquiesce_queue(ctrl->ctrl.admin_q); in nvme_fc_delete_association()
3534 ctrl->ctrl.admin_q = blk_mq_init_queue(&ctrl->admin_tag_set); in nvme_fc_init_ctrl()
3535 if (IS_ERR(ctrl->ctrl.admin_q)) { in nvme_fc_init_ctrl()
3536 ret = PTR_ERR(ctrl->ctrl.admin_q); in nvme_fc_init_ctrl()
3605 blk_cleanup_queue(ctrl->ctrl.admin_q); in nvme_fc_init_ctrl()
Dnvme.h238 struct request_queue *admin_q; member