Home
last modified time | relevance | path

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

/linux/drivers/nvme/target/
H A Dcore.c90 const char *subsysnqn);
1469 struct nvmet_ctrl *nvmet_ctrl_find_get(const char *subsysnqn, in nvmet_ctrl_find_get() argument
1476 subsys = nvmet_find_get_subsys(req->port, subsysnqn); in nvmet_ctrl_find_get()
1479 subsysnqn); in nvmet_ctrl_find_get()
1480 req->cqe->result.u32 = IPO_IATTR_CONNECT_DATA(subsysnqn); in nvmet_ctrl_find_get()
1501 cntlid, subsysnqn, hostnqn); in nvmet_ctrl_find_get()
1600 subsys = nvmet_find_get_subsys(args->port, args->subsysnqn); in nvmet_alloc_ctrl()
1603 args->subsysnqn); in nvmet_alloc_ctrl()
1604 args->result = IPO_IATTR_CONNECT_DATA(subsysnqn); in nvmet_alloc_ctrl()
1612 args->hostnqn, args->subsysnqn); in nvmet_alloc_ctrl()
[all …]
H A Dauth.c339 nvme_auth_hmac_update(&hmac, ctrl->subsys->subsysnqn, in nvmet_auth_host_hash()
340 strlen(ctrl->subsys->subsysnqn)); in nvmet_auth_host_hash()
363 ctrl->subsys->subsysnqn); in nvmet_auth_ctrl_hash()
405 nvme_auth_hmac_update(&hmac, ctrl->subsys->subsysnqn, in nvmet_auth_ctrl_hash()
406 strlen(ctrl->subsys->subsysnqn)); in nvmet_auth_ctrl_hash()
491 sq->ctrl->subsys->subsysnqn, in nvmet_auth_insert_psk()
507 sq->ctrl->subsys->subsysnqn, in nvmet_auth_insert_psk()
H A Dfabrics-cmd.c309 d->subsysnqn[NVMF_NQN_FIELD_LEN - 1] = '\0'; in nvmet_execute_admin_connect()
312 args.subsysnqn = d->subsysnqn; in nvmet_execute_admin_connect()
364 d->subsysnqn[NVMF_NQN_FIELD_LEN - 1] = '\0'; in nvmet_execute_io_connect()
366 ctrl = nvmet_ctrl_find_get(d->subsysnqn, d->hostnqn, in nvmet_execute_io_connect()
H A 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()
298 strscpy(id->subnqn, ctrl->subsys->subsysnqn, sizeof(id->subnqn)); in nvmet_execute_disc_identify()
H A Dnvmet.h340 char *subsysnqn; member
608 char *subsysnqn; member
620 struct nvmet_ctrl *nvmet_ctrl_find_get(const char *subsysnqn,
628 struct nvmet_subsys *nvmet_subsys_alloc(const char *subsysnqn,
H A Dpci-epf.c222 char subsysnqn[NVMF_NQN_SIZE]; member
2057 args.subsysnqn = nvme_epf->subsysnqn; in nvmet_pci_epf_create_ctrl()
2095 ctrl->tctrl->subsys->subsysnqn, ctrl->nr_queues - 1, in nvmet_pci_epf_create_ctrl()
2139 ctrl->tctrl->subsys->subsysnqn); in nvmet_pci_epf_destroy_ctrl()
2518 return sysfs_emit(page, "%s\n", nvme_epf->subsysnqn); in nvmet_pci_epf_subsysnqn_show()
2534 strscpy(nvme_epf->subsysnqn, page, len); in nvmet_pci_epf_subsysnqn_store()
2539 CONFIGFS_ATTR(nvmet_pci_epf_, subsysnqn);
H A Dconfigfs.c881 pr_info("adding nsid %d to subsystem %s\n", nsid, subsys->subsysnqn); in nvmet_ns_make()
1744 if (sysfs_streq(name, nvmet_disc_subsys->subsysnqn)) { in nvmet_subsys_make()
2311 return snprintf(page, PAGE_SIZE, "%s\n", nvmet_disc_subsys->subsysnqn); in nvmet_root_discovery_nqn_show()
2341 old_nqn = nvmet_disc_subsys->subsysnqn; in nvmet_root_discovery_nqn_store()
2342 nvmet_disc_subsys->subsysnqn = new_nqn; in nvmet_root_discovery_nqn_store()
H A Dpassthru.c153 strscpy(id->subnqn, ctrl->subsys->subsysnqn, sizeof(id->subnqn)); in nvmet_passthru_override_id_ctrl()
H A Dadmin-cmd.c751 strscpy(id->subnqn, ctrl->subsys->subsysnqn, sizeof(id->subnqn)); in nvmet_execute_identify_ctrl()
/linux/drivers/nvme/host/
H A 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()
772 kfree(opts->subsysnqn); in nvmf_parse_options()
773 opts->subsysnqn = p; in nvmf_parse_options()
774 nqnlen = strlen(opts->subsysnqn); in nvmf_parse_options()
777 opts->subsysnqn, NVMF_NQN_SIZE); in nvmf_parse_options()
782 !(strcmp(opts->subsysnqn, in nvmf_parse_options()
1290 kfree(opts->subsysnqn); in nvmf_free_options()
H A Dauth.c473 nvme_auth_hmac_update(&hmac, ctrl->opts->subsysnqn, in nvme_auth_dhchap_setup_host_response()
474 strlen(ctrl->opts->subsysnqn)); in nvme_auth_dhchap_setup_host_response()
493 ctrl->opts->subsysnqn); in nvme_auth_dhchap_setup_ctrl_response()
526 __func__, chap->qid, ctrl->opts->subsysnqn); in nvme_auth_dhchap_setup_ctrl_response()
541 nvme_auth_hmac_update(&hmac, ctrl->opts->subsysnqn, in nvme_auth_dhchap_setup_ctrl_response()
542 strlen(ctrl->opts->subsysnqn)); in nvme_auth_dhchap_setup_ctrl_response()
693 ctrl->opts->subsysnqn, in nvme_auth_secure_concat()
714 ctrl->opts->subsysnqn, chap->hash_id, in nvme_auth_secure_concat()
H A Dsysfs.c448 static DEVICE_ATTR(subsysnqn, S_IRUGO, nvme_sysfs_show_subsysnqn, NULL);
961 static SUBSYS_ATTR_RO(subsysnqn, S_IRUGO, nvme_subsys_show_nqn);
H A Dcore.c3164 static struct nvme_subsystem *__nvme_find_get_subsystem(const char *subsysnqn) in __nvme_find_get_subsystem() argument
3178 if (!strcmp(subsysnqn, NVME_DISC_SUBSYS_NAME)) in __nvme_find_get_subsystem()
3182 if (strcmp(subsys->subnqn, subsysnqn)) in __nvme_find_get_subsystem()
H A Dfc.c1176 strscpy(assoc_rqst->assoc_cmd.subnqn, ctrl->ctrl.opts->subsysnqn, in nvme_fc_connect_admin_queue()
3049 ctrl->rport->remoteport.port_name, ctrl->ctrl.opts->subsysnqn); in nvme_fc_create_association()
H A Dtcp.c2092 ctrl->opts->subsysnqn); in nvme_tcp_alloc_admin_queue()
/linux/drivers/nvme/common/
H A Dauth.c601 const char *subsysnqn, const char *hostnqn, in nvme_auth_generate_digest() argument
611 if (WARN_ON(!subsysnqn || !hostnqn)) in nvme_auth_generate_digest()
644 nvme_auth_hmac_update(&hmac, subsysnqn, strlen(subsysnqn)); in nvme_auth_generate_digest()
/linux/include/linux/
H A Dnvme-auth.h59 const char *subsysnqn, const char *hostnqn,
/linux/Documentation/nvme/
H A Dnvme-pci-endpoint-target.rst275 # echo "nvmepf.0.nqn" > nvmepf.0/nvme/subsysnqn
367 subsysnqn The NQN of the target subsystem to use