Lines Matching refs:admin_q
321 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()
1647 if (!dev->ctrl.admin_q) { in nvme_alloc_admin_tags()
1662 dev->ctrl.admin_q = blk_mq_init_queue(&dev->admin_tagset); in nvme_alloc_admin_tags()
1663 if (IS_ERR(dev->ctrl.admin_q)) { in nvme_alloc_admin_tags()
1665 dev->ctrl.admin_q = NULL; in nvme_alloc_admin_tags()
1668 if (!blk_get_queue(dev->ctrl.admin_q)) { in nvme_alloc_admin_tags()
1670 dev->ctrl.admin_q = NULL; in nvme_alloc_admin_tags()
1674 blk_mq_unquiesce_queue(dev->ctrl.admin_q); in nvme_alloc_admin_tags()
1904 ret = nvme_submit_sync_cmd(dev->ctrl.admin_q, &c, NULL, 0); in nvme_set_host_mem()
2270 struct request_queue *q = nvmeq->dev->ctrl.admin_q; in nvme_delete_queue()
2514 if (dev->ctrl.admin_q && !blk_queue_dying(dev->ctrl.admin_q)) in nvme_dev_disable()
2515 blk_mq_unquiesce_queue(dev->ctrl.admin_q); in nvme_dev_disable()
2582 if (dev->ctrl.admin_q) in nvme_pci_free_ctrl()
2583 blk_put_queue(dev->ctrl.admin_q); in nvme_pci_free_ctrl()