Lines Matching refs:admin_q
325 if (nvme_submit_sync_cmd(dev->ctrl.admin_q, &c, NULL, 0)) { in nvme_dbbuf_set()
1207 return nvme_submit_sync_cmd(dev->ctrl.admin_q, &c, NULL, 0); in adapter_delete_queue()
1230 return nvme_submit_sync_cmd(dev->ctrl.admin_q, &c, NULL, 0); in adapter_alloc_cq()
1259 return nvme_submit_sync_cmd(dev->ctrl.admin_q, &c, NULL, 0); in adapter_alloc_sq()
1430 abort_req = blk_mq_alloc_request(dev->ctrl.admin_q, nvme_req_op(&cmd), in nvme_timeout()
1489 if (!nvmeq->qid && nvmeq->dev->ctrl.admin_q) in nvme_suspend_queue()
1744 if (dev->ctrl.admin_q && !blk_queue_dying(dev->ctrl.admin_q)) { in nvme_dev_remove_admin()
1751 blk_mq_destroy_queue(dev->ctrl.admin_q); in nvme_dev_remove_admin()
1774 dev->ctrl.admin_q = blk_mq_init_queue(set); in nvme_pci_alloc_admin_tag_set()
1775 if (IS_ERR(dev->ctrl.admin_q)) { in nvme_pci_alloc_admin_tag_set()
1777 dev->ctrl.admin_q = NULL; in nvme_pci_alloc_admin_tag_set()
1780 if (!blk_get_queue(dev->ctrl.admin_q)) { in nvme_pci_alloc_admin_tag_set()
1782 dev->ctrl.admin_q = NULL; in nvme_pci_alloc_admin_tag_set()
1987 ret = nvme_submit_sync_cmd(dev->ctrl.admin_q, &c, NULL, 0); in nvme_set_host_mem()
2480 struct request_queue *q = nvmeq->dev->ctrl.admin_q; in nvme_delete_queue()
2732 if (dev->ctrl.admin_q && !blk_queue_dying(dev->ctrl.admin_q)) in nvme_dev_disable()
2783 if (dev->ctrl.admin_q) in nvme_pci_free_ctrl()
2784 blk_put_queue(dev->ctrl.admin_q); in nvme_pci_free_ctrl()
2837 if (!dev->ctrl.admin_q) { in nvme_reset_work()