io_controller
handle_set_features(struct io_controller *ioc, const struct nvmf_capsule *nc,
struct io_controller *ioc = arg;
handle_admin_qpair(struct io_controller *ioc)
io_controller = NULL;
handle_read(struct io_controller *ioc, const struct nvmf_capsule *nc,
handle_write(struct io_controller *ioc, const struct nvmf_capsule *nc,
handle_io_commands(struct io_controller *ioc, struct nvmf_qpair *qp)
static struct io_controller *io_controller;
handle_io_qpair(struct io_controller *ioc, struct nvmf_qpair *qp, int qid)
struct io_controller *ioc;
if (io_controller != NULL) {
io_controller = ioc;
struct io_controller *ioc;
if (io_controller == NULL) {
if (memcmp(io_controller->hostid, data->hostid,
if (le16toh(data->cntlid) != io_controller->cntlid) {
if (memcmp(io_controller->hostnqn, data->hostnqn,
if (io_controller->num_io_queues == 0) {
if (qid > io_controller->num_io_queues) {
if (io_controller->io_qpairs[qid - 1] != NULL) {
error = nvmf_finish_accept(nc, io_controller->cntlid);
ioc = io_controller;
handle_get_log_page(struct io_controller *ioc, const struct nvmf_capsule *nc,