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);
1192 struct nvmet_ctrl *nvmet_ctrl_find_get(const char *subsysnqn, in nvmet_ctrl_find_get() argument
1199 subsys = nvmet_find_get_subsys(req->port, subsysnqn); in nvmet_ctrl_find_get()
1202 subsysnqn); in nvmet_ctrl_find_get()
1203 req->cqe->result.u32 = IPO_IATTR_CONNECT_DATA(subsysnqn); in nvmet_ctrl_find_get()
1224 cntlid, subsysnqn, hostnqn); in nvmet_ctrl_find_get()
1311 u16 nvmet_alloc_ctrl(const char *subsysnqn, const char *hostnqn, in nvmet_alloc_ctrl() argument
1320 subsys = nvmet_find_get_subsys(req->port, subsysnqn); in nvmet_alloc_ctrl()
1323 subsysnqn); in nvmet_alloc_ctrl()
1324 req->cqe->result.u32 = IPO_IATTR_CONNECT_DATA(subsysnqn); in nvmet_alloc_ctrl()
[all …]
Dfabrics-cmd.c192 d->subsysnqn[NVMF_NQN_FIELD_LEN - 1] = '\0'; in nvmet_execute_admin_connect()
194 status = nvmet_alloc_ctrl(d->subsysnqn, d->hostnqn, req, in nvmet_execute_admin_connect()
214 ctrl->cntlid, ctrl->subsys->subsysnqn, ctrl->hostnqn, in nvmet_execute_admin_connect()
255 d->subsysnqn[NVMF_NQN_FIELD_LEN - 1] = '\0'; in nvmet_execute_io_connect()
257 ctrl = nvmet_ctrl_find_get(d->subsysnqn, d->hostnqn, in nvmet_execute_io_connect()
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 struct nvmet_ctrl *nvmet_ctrl_find_get(const char *subsysnqn,
439 struct nvmet_subsys *nvmet_subsys_alloc(const char *subsysnqn,
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
158 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()
2812 static struct nvme_subsystem *__nvme_find_get_subsystem(const char *subsysnqn) in __nvme_find_get_subsystem() argument
2826 if (!strcmp(subsysnqn, NVME_DISC_SUBSYS_NAME)) in __nvme_find_get_subsystem()
2830 if (strcmp(subsys->subnqn, subsysnqn)) in __nvme_find_get_subsystem()
2853 static SUBSYS_ATTR_RO(subsysnqn, S_IRUGO, nvme_subsys_show_nqn);
3591 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()
Dtcp.c2606 ctrl->ctrl.opts->subsysnqn, &ctrl->addr); in nvme_tcp_create_ctrl()
Drdma.c2404 ctrl->ctrl.opts->subsysnqn, &ctrl->addr); in nvme_rdma_create_ctrl()
/kernel/linux/linux-5.10/include/linux/
Dnvme.h1350 char subsysnqn[NVMF_NQN_FIELD_LEN]; member