Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/nvme/target/
Dcore.c86 const char *subsysnqn);
1188 u16 nvmet_ctrl_find_get(const char *subsysnqn, const char *hostnqn, u16 cntlid, in nvmet_ctrl_find_get() argument
1195 subsys = nvmet_find_get_subsys(req->port, subsysnqn); in nvmet_ctrl_find_get()
1198 subsysnqn); in nvmet_ctrl_find_get()
1199 req->cqe->result.u32 = IPO_IATTR_CONNECT_DATA(subsysnqn); in nvmet_ctrl_find_get()
1219 cntlid, subsysnqn, hostnqn); in nvmet_ctrl_find_get()
1306 u16 nvmet_alloc_ctrl(const char *subsysnqn, const char *hostnqn, in nvmet_alloc_ctrl() argument
1315 subsys = nvmet_find_get_subsys(req->port, subsysnqn); in nvmet_alloc_ctrl()
1318 subsysnqn); in nvmet_alloc_ctrl()
1319 req->cqe->result.u32 = IPO_IATTR_CONNECT_DATA(subsysnqn); in nvmet_alloc_ctrl()
[all …]
Dnvmet.h199 char subsysnqn[NVMF_NQN_FIELD_LEN]; member
237 char *subsysnqn; member
431 u16 nvmet_alloc_ctrl(const char *subsysnqn, const char *hostnqn,
433 u16 nvmet_ctrl_find_get(const char *subsysnqn, const char *hostnqn, u16 cntlid,
438 struct nvmet_subsys *nvmet_subsys_alloc(const char *subsysnqn,
Dfabrics-cmd.c192 status = nvmet_alloc_ctrl(d->subsysnqn, d->hostnqn, req, in nvmet_execute_admin_connect()
212 ctrl->cntlid, ctrl->subsys->subsysnqn, ctrl->hostnqn, in nvmet_execute_admin_connect()
253 status = nvmet_ctrl_find_get(d->subsysnqn, d->hostnqn, in nvmet_execute_io_connect()
Ddiscovery.c215 p->subsys->subsysnqn, traddr, in nvmet_execute_disc_get_log_page()
289 strlcpy(id->subnqn, ctrl->subsys->subsysnqn, sizeof(id->subnqn)); in nvmet_execute_disc_identify()
Dpassthru.c96 memcpy(id->subnqn, ctrl->subsysnqn, sizeof(id->subnqn)); in nvmet_passthru_override_id_ctrl()
Dloop.c638 "new ctrl: \"%s\"\n", ctrl->ctrl.opts->subsysnqn); in nvme_loop_create_ctrl()
Dadmin-cmd.c431 strlcpy(id->subnqn, ctrl->subsys->subsysnqn, sizeof(id->subnqn)); in nvmet_execute_identify_ctrl()
Dconfigfs.c653 pr_info("adding nsid %d to subsystem %s\n", nsid, subsys->subsysnqn); in nvmet_ns_make()
/kernel/linux/linux-5.10/drivers/nvme/host/
Dfabrics.h96 char *subsysnqn; member
157 strcmp(opts->subsysnqn, ctrl->opts->subsysnqn) || in nvmf_ctlr_matches_baseopts()
Dfabrics.c294 case (offsetof(struct nvmf_connect_data, subsysnqn)): in nvmf_log_connect_error()
297 inv_data, data->subsysnqn); in nvmf_log_connect_error()
325 data->subsysnqn, data->hostnqn); in nvmf_log_connect_error()
401 strncpy(data->subsysnqn, ctrl->opts->subsysnqn, NVMF_NQN_SIZE); in nvmf_connect_admin_queue()
464 strncpy(data->subsysnqn, ctrl->opts->subsysnqn, NVMF_NQN_SIZE); in nvmf_connect_io_queue()
674 kfree(opts->subsysnqn); in nvmf_parse_options()
675 opts->subsysnqn = p; in nvmf_parse_options()
676 nqnlen = strlen(opts->subsysnqn); in nvmf_parse_options()
679 opts->subsysnqn, NVMF_NQN_SIZE); in nvmf_parse_options()
684 !(strcmp(opts->subsysnqn, in nvmf_parse_options()
[all …]
Dcore.c158 "Removing ctrl: NQN \"%s\"\n", ctrl->opts->subsysnqn); in nvme_do_delete_ctrl()
2735 static struct nvme_subsystem *__nvme_find_get_subsystem(const char *subsysnqn) in __nvme_find_get_subsystem() argument
2749 if (!strcmp(subsysnqn, NVME_DISC_SUBSYS_NAME)) in __nvme_find_get_subsystem()
2753 if (strcmp(subsys->subnqn, subsysnqn)) in __nvme_find_get_subsystem()
2776 static SUBSYS_ATTR_RO(subsysnqn, S_IRUGO, nvme_subsys_show_nqn);
3503 static DEVICE_ATTR(subsysnqn, S_IRUGO, nvme_sysfs_show_subsysnqn, NULL);
Dfc.c1222 strncpy(assoc_rqst->assoc_cmd.subnqn, ctrl->ctrl.opts->subsysnqn, in nvme_fc_connect_admin_queue()
3062 ctrl->rport->remoteport.port_name, ctrl->ctrl.opts->subsysnqn); in nvme_fc_create_association()
3564 ctrl->cnum, ctrl->ctrl.opts->subsysnqn); in nvme_fc_init_ctrl()
Drdma.c2396 ctrl->ctrl.opts->subsysnqn, &ctrl->addr); in nvme_rdma_create_ctrl()
Dtcp.c2550 ctrl->ctrl.opts->subsysnqn, &ctrl->addr); in nvme_tcp_create_ctrl()
/kernel/linux/linux-5.10/include/linux/
Dnvme.h1345 char subsysnqn[NVMF_NQN_FIELD_LEN]; member