Lines Matching full:admin

119 	qp = nvmft_qpair_init(trtype, params, 0, "admin queue");  in nvmft_handoff_admin_queue()
121 printf("NVMFT: Failed to setup admin queue from %.*s\n", in nvmft_handoff_admin_queue()
161 ctrlr->admin = qp; in nvmft_handoff_admin_queue()
357 * If the admin queue was closed while shutting down or a in nvmft_controller_shutdown()
387 /* Disable updates to CC while destroying admin qpair. */ in nvmft_controller_terminate()
391 nvmft_qpair_destroy(ctrlr->admin); in nvmft_controller_terminate()
419 * If the admin queue pair is closed while idle or while in nvmft_controller_error()
425 if (qp != ctrlr->admin) in nvmft_controller_error()
441 * change if the admin queue pair has closed. in nvmft_controller_error()
444 * queues, only the admin queue needs to be in nvmft_controller_error()
450 * transport layer and freeing the admin qpair in nvmft_controller_error()
462 * Treat closing of the admin queue pair while enabled in nvmft_controller_error()
463 * as a transport error. Note that the admin queue in nvmft_controller_error()
645 nvmft_command_completed(ctrlr->admin, nc); in handle_get_log_page()
647 nvmft_send_generic_error(ctrlr->admin, nc, status); in handle_get_log_page()
672 nvmft_send_generic_error(ctrlr->admin, nc, in handle_identify_command()
681 nvmft_dispatch_command(ctrlr->admin, nc, true); in handle_identify_command()
720 nvmft_command_completed(ctrlr->admin, nc); in handle_identify_command()
722 nvmft_send_generic_error(ctrlr->admin, nc, status); in handle_identify_command()
760 nvmft_send_generic_error(ctrlr->admin, nc, in handle_set_features()
772 nvmft_send_response(ctrlr->admin, &cqe); in handle_set_features()
789 nvmft_send_success(ctrlr->admin, nc); in handle_set_features()
800 nvmft_send_generic_error(ctrlr->admin, nc, NVME_SC_INVALID_FIELD); in handle_set_features()
886 nvmft_send_response(ctrlr->admin, &rsp); in handle_property_get()
889 nvmft_send_generic_error(ctrlr->admin, nc, NVME_SC_INVALID_FIELD); in handle_property_get()
911 nvmft_send_success(ctrlr->admin, nc); in handle_property_set()
918 nvmft_send_generic_error(ctrlr->admin, nc, NVME_SC_INVALID_FIELD); in handle_property_set()
936 "CONNECT command on connected admin queue\n"); in handle_admin_fabrics_command()
937 nvmft_send_generic_error(ctrlr->admin, nc, in handle_admin_fabrics_command()
941 nvmft_printf(ctrlr, "DISCONNECT command on admin queue\n"); in handle_admin_fabrics_command()
942 nvmft_send_error(ctrlr->admin, nc, NVME_SCT_COMMAND_SPECIFIC, in handle_admin_fabrics_command()
948 nvmft_send_generic_error(ctrlr->admin, nc, in handle_admin_fabrics_command()
965 "Unsupported admin opcode %#x while disabled\n", cmd->opc); in nvmft_handle_admin_command()
966 nvmft_send_generic_error(ctrlr->admin, nc, in nvmft_handle_admin_command()
988 nvmft_send_error(ctrlr->admin, nc, in nvmft_handle_admin_command()
1001 nvmft_send_success(ctrlr->admin, nc); in nvmft_handle_admin_command()
1009 nvmft_printf(ctrlr, "Unsupported admin opcode %#x\n", cmd->opc); in nvmft_handle_admin_command()
1010 nvmft_send_generic_error(ctrlr->admin, nc, in nvmft_handle_admin_command()
1090 nvmft_send_response(ctrlr->admin, &cpl); in nvmft_report_aer()