Home
last modified time | relevance | path

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

/linux/drivers/nvme/target/
H A Dcore.c87 const char *subsysnqn);
1458 struct nvmet_ctrl *nvmet_ctrl_find_get(const char *subsysnqn, in nvmet_ctrl_find_get() argument
1465 subsys = nvmet_find_get_subsys(req->port, subsysnqn); in nvmet_ctrl_find_get()
1468 subsysnqn); in nvmet_ctrl_find_get()
1469 req->cqe->result.u32 = IPO_IATTR_CONNECT_DATA(subsysnqn); in nvmet_ctrl_find_get()
1490 cntlid, subsysnqn, hostnqn); in nvmet_ctrl_find_get()
1589 subsys = nvmet_find_get_subsys(args->port, args->subsysnqn); in nvmet_alloc_ctrl()
1592 args->subsysnqn); in nvmet_alloc_ctrl()
1593 args->result = IPO_IATTR_CONNECT_DATA(subsysnqn); in nvmet_alloc_ctrl()
1601 args->hostnqn, args->subsysnqn); in nvmet_alloc_ctrl()
[all …]
H A Dauth.c384 ret = crypto_shash_update(shash, ctrl->subsys->subsysnqn, in nvmet_auth_host_hash()
385 strlen(ctrl->subsys->subsysnqn)); in nvmet_auth_host_hash()
432 ctrl->subsys->subsysnqn); in nvmet_auth_ctrl_hash()
487 ret = crypto_shash_update(shash, ctrl->subsys->subsysnqn, in nvmet_auth_ctrl_hash()
488 strlen(ctrl->subsys->subsysnqn)); in nvmet_auth_ctrl_hash()
578 sq->ctrl->subsys->subsysnqn, in nvmet_auth_insert_psk()
594 sq->ctrl->subsys->subsysnqn, in nvmet_auth_insert_psk()
H A Dnvmet.h339 char *subsysnqn; member
604 char *subsysnqn; member
616 struct nvmet_ctrl *nvmet_ctrl_find_get(const char *subsysnqn,
624 struct nvmet_subsys *nvmet_subsys_alloc(const char *subsysnqn,
H A Dpci-epf.c222 char subsysnqn[NVMF_NQN_SIZE]; member
2060 args.subsysnqn = nvme_epf->subsysnqn; in nvmet_pci_epf_create_ctrl()
2098 ctrl->tctrl->subsys->subsysnqn, ctrl->nr_queues - 1, in nvmet_pci_epf_create_ctrl()
2142 ctrl->tctrl->subsys->subsysnqn); in nvmet_pci_epf_destroy_ctrl()
2521 return sysfs_emit(page, "%s\n", nvme_epf->subsysnqn); in nvmet_pci_epf_subsysnqn_show()
2537 strscpy(nvme_epf->subsysnqn, page, len); in nvmet_pci_epf_subsysnqn_store()
2542 CONFIGFS_ATTR(nvmet_pci_epf_, subsysnqn);
H A Dconfigfs.c856 pr_info("adding nsid %d to subsystem %s\n", nsid, subsys->subsysnqn); in nvmet_ns_make()
1719 if (sysfs_streq(name, nvmet_disc_subsys->subsysnqn)) { in nvmet_subsys_make()
2287 return snprintf(page, PAGE_SIZE, "%s\n", nvmet_disc_subsys->subsysnqn); in nvmet_root_discovery_nqn_show()
2317 old_nqn = nvmet_disc_subsys->subsysnqn; in nvmet_root_discovery_nqn_store()
2318 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.c756 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.c510 ret = crypto_shash_update(shash, ctrl->opts->subsysnqn, in nvme_auth_dhchap_setup_host_response()
511 strlen(ctrl->opts->subsysnqn)); in nvme_auth_dhchap_setup_host_response()
530 ctrl->opts->subsysnqn); in nvme_auth_dhchap_setup_ctrl_response()
563 __func__, chap->qid, ctrl->opts->subsysnqn); in nvme_auth_dhchap_setup_ctrl_response()
588 ret = crypto_shash_update(shash, ctrl->opts->subsysnqn, in nvme_auth_dhchap_setup_ctrl_response()
589 strlen(ctrl->opts->subsysnqn)); in nvme_auth_dhchap_setup_ctrl_response()
743 ctrl->opts->subsysnqn, in nvme_auth_secure_concat()
764 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);
877 static SUBSYS_ATTR_RO(subsysnqn, S_IRUGO, nvme_subsys_show_nqn);
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.c2077 ctrl->opts->subsysnqn); in nvme_tcp_alloc_admin_queue()
/linux/drivers/nvme/common/
H A Dauth.c588 char *subsysnqn, char *hostnqn, u8 **ret_digest) in nvme_auth_generate_digest() argument
597 if (WARN_ON(!subsysnqn || !hostnqn)) in nvme_auth_generate_digest()
654 ret = crypto_shash_update(shash, subsysnqn, strlen(subsysnqn)); in nvme_auth_generate_digest()
/linux/include/linux/
H A Dnvme-auth.h47 char *subsysnqn, char *hostnqn, u8 **ret_digest);
H A Dnvme.h1723 char subsysnqn[NVMF_NQN_FIELD_LEN]; member
/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