Searched refs:admin_q (Results 1 – 8 of 8) sorted by relevance
/drivers/nvme/host/ |
D | pci.c | 798 return nvme_submit_sync_cmd(dev->ctrl.admin_q, &c, NULL, 0); in adapter_delete_queue() 819 return nvme_submit_sync_cmd(dev->ctrl.admin_q, &c, NULL, 0); in adapter_alloc_cq() 840 return nvme_submit_sync_cmd(dev->ctrl.admin_q, &c, NULL, 0); in adapter_alloc_sq() 923 abort_req = nvme_alloc_request(dev->ctrl.admin_q, &cmd, in nvme_timeout() 982 if (!nvmeq->qid && nvmeq->dev->ctrl.admin_q) in nvme_suspend_queue() 983 blk_mq_stop_hw_queues(nvmeq->dev->ctrl.admin_q); in nvme_suspend_queue() 1164 if (dev->ctrl.admin_q && !blk_queue_dying(dev->ctrl.admin_q)) { in nvme_dev_remove_admin() 1170 blk_mq_start_stopped_hw_queues(dev->ctrl.admin_q, true); in nvme_dev_remove_admin() 1171 blk_cleanup_queue(dev->ctrl.admin_q); in nvme_dev_remove_admin() 1178 if (!dev->ctrl.admin_q) { in nvme_alloc_admin_tags() [all …]
|
D | lightnvm.c | 323 ret = nvme_submit_sync_cmd(ns->ctrl->admin_q, (struct nvme_command *)&c, in nvme_nvm_identity() 349 u32 len = queue_max_hw_sectors(ns->ctrl->admin_q) << 9; in nvme_nvm_get_l2p_tbl() 367 ret = nvme_submit_sync_cmd(ns->ctrl->admin_q, in nvme_nvm_get_l2p_tbl() 410 ret = nvme_submit_sync_cmd(ctrl->admin_q, (struct nvme_command *)&c, in nvme_nvm_get_bb_tbl() 458 ret = nvme_submit_sync_cmd(ns->ctrl->admin_q, (struct nvme_command *)&c, in nvme_nvm_set_bb_tbl()
|
D | core.c | 505 rq = nvme_alloc_request(ctrl->admin_q, &c, BLK_MQ_REQ_RESERVED, in nvme_keep_alive() 563 error = nvme_submit_sync_cmd(dev->admin_q, &c, *id, in nvme_identify_ctrl() 577 return nvme_submit_sync_cmd(dev->admin_q, &c, ns_list, 0x1000); in nvme_identify_ns_list() 594 error = nvme_submit_sync_cmd(dev->admin_q, &c, *id, in nvme_identify_ns() 613 ret = __nvme_submit_sync_cmd(dev->admin_q, &c, &cqe, buffer, buflen, 0, in nvme_get_features() 632 ret = __nvme_submit_sync_cmd(dev->admin_q, &c, &cqe, in nvme_set_features() 654 error = nvme_submit_sync_cmd(dev->admin_q, &c, *log, in nvme_get_log_page() 770 status = nvme_submit_user_cmd(ns ? ns->queue : ctrl->admin_q, &c, in nvme_user_cmd() 1265 nvme_set_queue_limits(ctrl, ctrl->admin_q); in nvme_init_identify() 1307 if (!ctrl->admin_q) { in nvme_dev_open() [all …]
|
D | fabrics.c | 172 ret = __nvme_submit_sync_cmd(ctrl->admin_q, &cmd, &cqe, NULL, 0, 0, in nvmf_reg_read32() 219 ret = __nvme_submit_sync_cmd(ctrl->admin_q, &cmd, &cqe, NULL, 0, 0, in nvmf_reg_read64() 265 ret = __nvme_submit_sync_cmd(ctrl->admin_q, &cmd, NULL, NULL, 0, 0, in nvmf_reg_write32() 403 ret = __nvme_submit_sync_cmd(ctrl->admin_q, &cmd, &cqe, in nvmf_connect_admin_queue()
|
D | rdma.c | 684 blk_cleanup_queue(ctrl->ctrl.admin_q); in nvme_rdma_destroy_admin_queue() 731 blk_mq_start_stopped_hw_queues(ctrl->ctrl.admin_q, true); in nvme_rdma_reconnect_ctrl_work() 769 blk_mq_stop_hw_queues(ctrl->ctrl.admin_q); in nvme_rdma_reconnect_ctrl_work() 795 blk_mq_stop_hw_queues(ctrl->ctrl.admin_q); in nvme_rdma_error_recovery_work() 1593 ctrl->ctrl.admin_q = blk_mq_init_queue(&ctrl->admin_tag_set); in nvme_rdma_configure_admin_queue() 1594 if (IS_ERR(ctrl->ctrl.admin_q)) { in nvme_rdma_configure_admin_queue() 1595 error = PTR_ERR(ctrl->ctrl.admin_q); in nvme_rdma_configure_admin_queue() 1637 blk_cleanup_queue(ctrl->ctrl.admin_q); in nvme_rdma_configure_admin_queue() 1665 blk_mq_stop_hw_queues(ctrl->ctrl.admin_q); in nvme_rdma_shutdown_ctrl()
|
D | nvme.h | 102 struct request_queue *admin_q; member
|
D | scsi.c | 1258 nvme_sc = nvme_submit_user_cmd(ns->ctrl->admin_q, &c, in nvme_trans_send_download_fw_cmd() 1569 nvme_sc = nvme_submit_sync_cmd(ns->ctrl->admin_q, &c, NULL, 0); in nvme_trans_fmt_send_cmd()
|
/drivers/nvme/target/ |
D | loop.c | 290 blk_cleanup_queue(ctrl->ctrl.admin_q); in nvme_loop_destroy_admin_queue() 377 ctrl->ctrl.admin_q = blk_mq_init_queue(&ctrl->admin_tag_set); in nvme_loop_configure_admin_queue() 378 if (IS_ERR(ctrl->ctrl.admin_q)) { in nvme_loop_configure_admin_queue() 379 error = PTR_ERR(ctrl->ctrl.admin_q); in nvme_loop_configure_admin_queue() 413 blk_cleanup_queue(ctrl->ctrl.admin_q); in nvme_loop_configure_admin_queue() 435 blk_mq_stop_hw_queues(ctrl->ctrl.admin_q); in nvme_loop_shutdown_ctrl()
|