Lines Matching refs:io_qpairs
81 MPASS(ctrlr->io_qpairs == NULL); in nvmft_controller_free()
281 if (ctrlr->io_qpairs[qid - 1].qp != NULL) { in nvmft_handoff_io_queue()
293 ctrlr->io_qpairs[qid - 1].qp = qp; in nvmft_handoff_io_queue()
314 if (ctrlr->io_qpairs[i].qp != NULL) { in nvmft_controller_shutdown()
315 ctrlr->io_qpairs[i].shutdown = true; in nvmft_controller_shutdown()
317 nvmft_qpair_shutdown(ctrlr->io_qpairs[i].qp); in nvmft_controller_shutdown()
335 if (ctrlr->io_qpairs[i].qp != NULL) in nvmft_controller_shutdown()
336 nvmft_qpair_destroy(ctrlr->io_qpairs[i].qp); in nvmft_controller_shutdown()
338 free(ctrlr->io_qpairs, M_NVMFT); in nvmft_controller_shutdown()
339 ctrlr->io_qpairs = NULL; in nvmft_controller_shutdown()
738 struct nvmft_io_qpair *io_qpairs; in handle_set_features() local
753 io_qpairs = mallocarray(num_queues, sizeof(*io_qpairs), in handle_set_features()
759 free(io_qpairs, M_NVMFT); in handle_set_features()
767 ctrlr->io_qpairs = io_qpairs; in handle_set_features()