Lines Matching refs:admin_q
718 if (rq->q == ctrl->admin_q && (req->flags & NVME_REQ_USERCMD)) in __nvme_check_ready()
1237 rq = blk_mq_alloc_request(ctrl->admin_q, nvme_req_op(&ctrl->ka_cmd), in nvme_keep_alive_work()
1311 error = nvme_submit_sync_cmd(dev->admin_q, &c, *id, in nvme_identify_ctrl()
1391 status = nvme_submit_sync_cmd(ctrl->admin_q, &c, data, in nvme_identify_ns_descs()
1439 error = nvme_submit_sync_cmd(ctrl->admin_q, &c, *id, sizeof(**id)); in nvme_identify_ns()
1499 ret = nvme_submit_sync_cmd(ctrl->admin_q, &c, id, sizeof(*id)); in nvme_ns_info_from_id_cs_indep()
1521 ret = __nvme_submit_sync_cmd(dev->admin_q, &c, &res, in nvme_features()
1763 ret = nvme_submit_sync_cmd(ns->ctrl->admin_q, &c, nvm, sizeof(*nvm)); in nvme_init_ms()
2216 return __nvme_submit_sync_cmd(ctrl->admin_q, &cmd, NULL, buffer, len, in nvme_sec_submit()
3003 return nvme_submit_sync_cmd(ctrl->admin_q, &c, log, size); in nvme_get_log()
3078 ret = nvme_submit_sync_cmd(ctrl->admin_q, &c, id, sizeof(*id)); in nvme_init_non_mdts_limits()
3163 nvme_set_queue_limits(ctrl, ctrl->admin_q); in nvme_init_identify()
4470 ret = nvme_submit_sync_cmd(ctrl->admin_q, &cmd, ns_list, in nvme_scan_ns_list()
4864 ctrl->admin_q = blk_mq_init_queue(set); in nvme_alloc_admin_tag_set()
4865 if (IS_ERR(ctrl->admin_q)) { in nvme_alloc_admin_tag_set()
4866 ret = PTR_ERR(ctrl->admin_q); in nvme_alloc_admin_tag_set()
4882 blk_mq_destroy_queue(ctrl->admin_q); in nvme_alloc_admin_tag_set()
4891 blk_mq_destroy_queue(ctrl->admin_q); in nvme_remove_admin_tag_set()
5176 if (ctrl->admin_q && !blk_queue_dying(ctrl->admin_q)) in nvme_kill_queues()
5259 blk_mq_quiesce_queue(ctrl->admin_q); in nvme_stop_admin_queue()
5261 blk_mq_wait_quiesce_done(ctrl->admin_q); in nvme_stop_admin_queue()
5268 blk_mq_unquiesce_queue(ctrl->admin_q); in nvme_start_admin_queue()
5286 if (ctrl->admin_q) in nvme_sync_queues()
5287 blk_sync_queue(ctrl->admin_q); in nvme_sync_queues()