Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/nvme/host/
Dfabrics.h116 char *subsysnqn; member
186 strcmp(opts->subsysnqn, ctrl->opts->subsysnqn) || in nvmf_ctlr_matches_baseopts()
197 !strcmp(ctrl->opts->subsysnqn, NVME_DISC_SUBSYS_NAME)) in nvmf_ctrl_subsysnqn()
198 return ctrl->opts->subsysnqn; in nvmf_ctrl_subsysnqn()
Dfabrics.c337 case (offsetof(struct nvmf_connect_data, subsysnqn)): in nvmf_log_connect_error()
340 inv_data, data->subsysnqn); in nvmf_log_connect_error()
367 data->subsysnqn, data->hostnqn); in nvmf_log_connect_error()
405 strscpy(data->subsysnqn, ctrl->opts->subsysnqn, NVMF_NQN_SIZE); in nvmf_connect_data_prep()
769 kfree(opts->subsysnqn); in nvmf_parse_options()
770 opts->subsysnqn = p; in nvmf_parse_options()
771 nqnlen = strlen(opts->subsysnqn); in nvmf_parse_options()
774 opts->subsysnqn, NVMF_NQN_SIZE); in nvmf_parse_options()
779 !(strcmp(opts->subsysnqn, in nvmf_parse_options()
1262 kfree(opts->subsysnqn); in nvmf_free_options()
Dauth.c493 ret = crypto_shash_update(shash, ctrl->opts->subsysnqn, in nvme_auth_dhchap_setup_host_response()
494 strlen(ctrl->opts->subsysnqn)); in nvme_auth_dhchap_setup_host_response()
513 ctrl->opts->subsysnqn); in nvme_auth_dhchap_setup_ctrl_response()
546 __func__, chap->qid, ctrl->opts->subsysnqn); in nvme_auth_dhchap_setup_ctrl_response()
571 ret = crypto_shash_update(shash, ctrl->opts->subsysnqn, in nvme_auth_dhchap_setup_ctrl_response()
572 strlen(ctrl->opts->subsysnqn)); in nvme_auth_dhchap_setup_ctrl_response()
Dsysfs.c393 static DEVICE_ATTR(subsysnqn, S_IRUGO, nvme_sysfs_show_subsysnqn, NULL);
822 static SUBSYS_ATTR_RO(subsysnqn, S_IRUGO, nvme_subsys_show_nqn);
Dcore.c2911 static struct nvme_subsystem *__nvme_find_get_subsystem(const char *subsysnqn) in __nvme_find_get_subsystem() argument
2925 if (!strcmp(subsysnqn, NVME_DISC_SUBSYS_NAME)) in __nvme_find_get_subsystem()
2929 if (strcmp(subsys->subnqn, subsysnqn)) in __nvme_find_get_subsystem()
Dfc.c1216 strscpy(assoc_rqst->assoc_cmd.subnqn, ctrl->ctrl.opts->subsysnqn, in nvme_fc_connect_admin_queue()
3079 ctrl->rport->remoteport.port_name, ctrl->ctrl.opts->subsysnqn); in nvme_fc_create_association()
Dtcp.c1954 ctrl->opts->subsysnqn); in nvme_tcp_alloc_admin_queue()
/linux-6.12.1/drivers/nvme/target/
Dcore.c94 const char *subsysnqn);
1261 struct nvmet_ctrl *nvmet_ctrl_find_get(const char *subsysnqn, in nvmet_ctrl_find_get() argument
1268 subsys = nvmet_find_get_subsys(req->port, subsysnqn); in nvmet_ctrl_find_get()
1271 subsysnqn); in nvmet_ctrl_find_get()
1272 req->cqe->result.u32 = IPO_IATTR_CONNECT_DATA(subsysnqn); in nvmet_ctrl_find_get()
1293 cntlid, subsysnqn, hostnqn); in nvmet_ctrl_find_get()
1385 u16 nvmet_alloc_ctrl(const char *subsysnqn, const char *hostnqn, in nvmet_alloc_ctrl() argument
1394 subsys = nvmet_find_get_subsys(req->port, subsysnqn); in nvmet_alloc_ctrl()
1397 subsysnqn); in nvmet_alloc_ctrl()
1398 req->cqe->result.u32 = IPO_IATTR_CONNECT_DATA(subsysnqn); in nvmet_alloc_ctrl()
[all …]
Dfabrics-cmd.c245 d->subsysnqn[NVMF_NQN_FIELD_LEN - 1] = '\0'; in nvmet_execute_admin_connect()
247 status = nvmet_alloc_ctrl(d->subsysnqn, d->hostnqn, req, in nvmet_execute_admin_connect()
274 ctrl->cntlid, ctrl->subsys->subsysnqn, ctrl->hostnqn, in nvmet_execute_admin_connect()
312 d->subsysnqn[NVMF_NQN_FIELD_LEN - 1] = '\0'; in nvmet_execute_io_connect()
314 ctrl = nvmet_ctrl_find_get(d->subsysnqn, d->hostnqn, in nvmet_execute_io_connect()
Dauth.c371 ret = crypto_shash_update(shash, ctrl->subsysnqn, in nvmet_auth_host_hash()
372 strlen(ctrl->subsysnqn)); in nvmet_auth_host_hash()
421 ctrl->subsysnqn); in nvmet_auth_ctrl_hash()
476 ret = crypto_shash_update(shash, ctrl->subsysnqn, in nvmet_auth_ctrl_hash()
477 strlen(ctrl->subsysnqn)); in nvmet_auth_ctrl_hash()
Dnvmet.h228 char subsysnqn[NVMF_NQN_FIELD_LEN]; member
275 char *subsysnqn; member
500 u16 nvmet_alloc_ctrl(const char *subsysnqn, const char *hostnqn,
502 struct nvmet_ctrl *nvmet_ctrl_find_get(const char *subsysnqn,
510 struct nvmet_subsys *nvmet_subsys_alloc(const char *subsysnqn,
Ddiscovery.c212 nvmet_disc_subsys->subsysnqn, in nvmet_execute_disc_get_log_page()
221 p->subsys->subsysnqn, traddr, in nvmet_execute_disc_get_log_page()
295 strscpy(id->subnqn, ctrl->subsys->subsysnqn, sizeof(id->subnqn)); in nvmet_execute_disc_identify()
Ddebugfs.c172 subsys->debugfs_dir = debugfs_create_dir(subsys->subsysnqn, in nvmet_debugfs_subsys_setup()
Dconfigfs.c839 pr_info("adding nsid %d to subsystem %s\n", nsid, subsys->subsysnqn); in nvmet_ns_make()
1657 if (sysfs_streq(name, nvmet_disc_subsys->subsysnqn)) { in nvmet_subsys_make()
2223 return snprintf(page, PAGE_SIZE, "%s\n", nvmet_disc_subsys->subsysnqn); in nvmet_root_discovery_nqn_show()
2247 memset(nvmet_disc_subsys->subsysnqn, 0, NVMF_NQN_FIELD_LEN); in nvmet_root_discovery_nqn_store()
2248 memcpy(nvmet_disc_subsys->subsysnqn, page, len); in nvmet_root_discovery_nqn_store()
Dpassthru.c153 memcpy(id->subnqn, ctrl->subsysnqn, sizeof(id->subnqn)); in nvmet_passthru_override_id_ctrl()
Dloop.c610 "new ctrl: \"%s\"\n", ctrl->ctrl.opts->subsysnqn); in nvme_loop_create_ctrl()
Dadmin-cmd.c454 strscpy(id->subnqn, ctrl->subsys->subsysnqn, sizeof(id->subnqn)); in nvmet_execute_identify_ctrl()
/linux-6.12.1/include/linux/
Dnvme.h1553 char subsysnqn[NVMF_NQN_FIELD_LEN]; member