Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/nvme/host/
Dfabrics.h110 char *subsysnqn; member
173 strcmp(opts->subsysnqn, ctrl->opts->subsysnqn) || in nvmf_ctlr_matches_baseopts()
Dfabrics.c290 case (offsetof(struct nvmf_connect_data, subsysnqn)): in nvmf_log_connect_error()
293 inv_data, data->subsysnqn); in nvmf_log_connect_error()
320 data->subsysnqn, data->hostnqn); in nvmf_log_connect_error()
389 strncpy(data->subsysnqn, ctrl->opts->subsysnqn, NVMF_NQN_SIZE); in nvmf_connect_admin_queue()
450 strncpy(data->subsysnqn, ctrl->opts->subsysnqn, NVMF_NQN_SIZE); in nvmf_connect_io_queue()
603 kfree(opts->subsysnqn); in nvmf_parse_options()
604 opts->subsysnqn = p; in nvmf_parse_options()
605 nqnlen = strlen(opts->subsysnqn); in nvmf_parse_options()
608 opts->subsysnqn, NVMF_NQN_SIZE); in nvmf_parse_options()
613 !(strcmp(opts->subsysnqn, in nvmf_parse_options()
[all …]
Dcore.c224 "Removing ctrl: NQN \"%s\"\n", ctrl->opts->subsysnqn); in nvme_do_delete_ctrl()
2560 static struct nvme_subsystem *__nvme_find_get_subsystem(const char *subsysnqn) in __nvme_find_get_subsystem() argument
2574 if (!strcmp(subsysnqn, NVME_DISC_SUBSYS_NAME)) in __nvme_find_get_subsystem()
2578 if (strcmp(subsys->subnqn, subsysnqn)) in __nvme_find_get_subsystem()
2601 static SUBSYS_ATTR_RO(subsysnqn, S_IRUGO, nvme_subsys_show_nqn);
3340 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()
3059 ctrl->rport->remoteport.port_name, ctrl->ctrl.opts->subsysnqn); in nvme_fc_create_association()
3575 ctrl->cnum, ctrl->ctrl.opts->subsysnqn); in nvme_fc_init_ctrl()
Dtcp.c2588 ctrl->ctrl.opts->subsysnqn, &ctrl->addr); in nvme_tcp_create_ctrl()
Drdma.c2388 ctrl->ctrl.opts->subsysnqn, &ctrl->addr); in nvme_rdma_create_ctrl()
/Linux-v5.15/drivers/nvme/target/
Dcore.c87 const char *subsysnqn);
1214 struct nvmet_ctrl *nvmet_ctrl_find_get(const char *subsysnqn, in nvmet_ctrl_find_get() argument
1221 subsys = nvmet_find_get_subsys(req->port, subsysnqn); in nvmet_ctrl_find_get()
1224 subsysnqn); in nvmet_ctrl_find_get()
1225 req->cqe->result.u32 = IPO_IATTR_CONNECT_DATA(subsysnqn); in nvmet_ctrl_find_get()
1246 cntlid, subsysnqn, hostnqn); in nvmet_ctrl_find_get()
1333 u16 nvmet_alloc_ctrl(const char *subsysnqn, const char *hostnqn, in nvmet_alloc_ctrl() argument
1342 subsys = nvmet_find_get_subsys(req->port, subsysnqn); in nvmet_alloc_ctrl()
1345 subsysnqn); in nvmet_alloc_ctrl()
1346 req->cqe->result.u32 = IPO_IATTR_CONNECT_DATA(subsysnqn); in nvmet_alloc_ctrl()
[all …]
Dfabrics-cmd.c209 status = nvmet_alloc_ctrl(d->subsysnqn, d->hostnqn, req, in nvmet_execute_admin_connect()
225 ctrl->cntlid, ctrl->subsys->subsysnqn, ctrl->hostnqn, in nvmet_execute_admin_connect()
266 ctrl = nvmet_ctrl_find_get(d->subsysnqn, d->hostnqn, in nvmet_execute_io_connect()
Dnvmet.h202 char subsysnqn[NVMF_NQN_FIELD_LEN]; member
236 char *subsysnqn; member
445 u16 nvmet_alloc_ctrl(const char *subsysnqn, const char *hostnqn,
447 struct nvmet_ctrl *nvmet_ctrl_find_get(const char *subsysnqn,
453 struct nvmet_subsys *nvmet_subsys_alloc(const char *subsysnqn,
Ddiscovery.c216 p->subsys->subsysnqn, traddr, in nvmet_execute_disc_get_log_page()
288 strlcpy(id->subnqn, ctrl->subsys->subsysnqn, sizeof(id->subnqn)); in nvmet_execute_disc_identify()
Dpassthru.c106 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.c446 strlcpy(id->subnqn, ctrl->subsys->subsysnqn, sizeof(id->subnqn)); in nvmet_execute_identify_ctrl()
Dconfigfs.c651 pr_info("adding nsid %d to subsystem %s\n", nsid, subsys->subsysnqn); in nvmet_ns_make()
/Linux-v5.15/include/linux/
Dnvme.h1366 char subsysnqn[NVMF_NQN_FIELD_LEN]; member