Home
last modified time | relevance | path

Searched refs:subsysnqn (Results 1 – 11 of 11) sorted by relevance

/drivers/nvme/target/
Dcore.c40 const char *subsysnqn);
620 u16 nvmet_ctrl_find_get(const char *subsysnqn, const char *hostnqn, u16 cntlid, in nvmet_ctrl_find_get() argument
627 subsys = nvmet_find_get_subsys(req->port, subsysnqn); in nvmet_ctrl_find_get()
630 subsysnqn); in nvmet_ctrl_find_get()
631 req->rsp->result = IPO_IATTR_CONNECT_DATA(subsysnqn); in nvmet_ctrl_find_get()
651 cntlid, subsysnqn, hostnqn); in nvmet_ctrl_find_get()
701 u16 nvmet_alloc_ctrl(const char *subsysnqn, const char *hostnqn, in nvmet_alloc_ctrl() argument
710 subsys = nvmet_find_get_subsys(req->port, subsysnqn); in nvmet_alloc_ctrl()
713 subsysnqn); in nvmet_alloc_ctrl()
714 req->rsp->result = IPO_IATTR_CONNECT_DATA(subsysnqn); in nvmet_alloc_ctrl()
[all …]
Dnvmet.h132 char subsysnqn[NVMF_NQN_FIELD_LEN]; member
154 char *subsysnqn; member
277 u16 nvmet_alloc_ctrl(const char *subsysnqn, const char *hostnqn,
279 u16 nvmet_ctrl_find_get(const char *subsysnqn, const char *hostnqn, u16 cntlid,
283 struct nvmet_subsys *nvmet_subsys_alloc(const char *subsysnqn,
Ddiscovery.c94 p->subsys->subsysnqn, in nvmet_execute_get_disc_log_page()
153 strcpy(id->subnqn, ctrl->subsys->subsysnqn); in nvmet_execute_identify_disc_ctrl()
Dfabrics-cmd.c145 status = nvmet_alloc_ctrl(d->subsysnqn, d->hostnqn, req, in nvmet_execute_admin_connect()
185 status = nvmet_ctrl_find_get(d->subsysnqn, d->hostnqn, in nvmet_execute_io_connect()
Dadmin-cmd.c258 strcpy(id->subnqn, ctrl->subsys->subsysnqn); in nvmet_execute_identify_ctrl()
Dloop.c662 "new ctrl: \"%s\"\n", ctrl->ctrl.opts->subsysnqn); in nvme_loop_create_ctrl()
Dconfigfs.c411 pr_info("adding nsid %d to subsystem %s\n", nsid, subsys->subsysnqn); in nvmet_ns_make()
/drivers/nvme/host/
Dfabrics.c136 return ctrl->opts->subsysnqn; in nvmf_get_subsysnqn()
313 case (offsetof(struct nvmf_connect_data, subsysnqn)): in nvmf_log_connect_error()
316 inv_data, data->subsysnqn); in nvmf_log_connect_error()
400 strncpy(data->subsysnqn, ctrl->opts->subsysnqn, NVMF_NQN_SIZE); in nvmf_connect_admin_queue()
459 strncpy(data->subsysnqn, ctrl->opts->subsysnqn, NVMF_NQN_SIZE); in nvmf_connect_io_queue()
575 opts->subsysnqn = p; in nvmf_parse_options()
576 nqnlen = strlen(opts->subsysnqn); in nvmf_parse_options()
579 opts->subsysnqn, NVMF_NQN_SIZE); in nvmf_parse_options()
584 !(strcmp(opts->subsysnqn, in nvmf_parse_options()
763 kfree(opts->subsysnqn); in nvmf_free_options()
Dfabrics.h84 char *subsysnqn; member
Drdma.c1967 ctrl->ctrl.opts->subsysnqn, &ctrl->addr); in nvme_rdma_create_ctrl()
2020 ctrl->ctrl.opts->subsysnqn, &ctrl->addr); in nvme_rdma_remove_one()
Dcore.c1550 static DEVICE_ATTR(subsysnqn, S_IRUGO, nvme_sysfs_show_subsysnqn, NULL);
1592 CHECK_ATTR(ctrl, a, subsysnqn); in nvme_dev_attrs_are_visible()