| /linux/drivers/nvme/target/ |
| H A D | core.c | 90 const char *subsysnqn); 1472 struct nvmet_ctrl *nvmet_ctrl_find_get(const char *subsysnqn, in nvmet_ctrl_find_get() argument 1479 subsys = nvmet_find_get_subsys(req->port, subsysnqn); in nvmet_ctrl_find_get() 1482 subsysnqn); in nvmet_ctrl_find_get() 1483 req->cqe->result.u32 = IPO_IATTR_CONNECT_DATA(subsysnqn); in nvmet_ctrl_find_get() 1504 cntlid, subsysnqn, hostnqn); in nvmet_ctrl_find_get() 1603 subsys = nvmet_find_get_subsys(args->port, args->subsysnqn); in nvmet_alloc_ctrl() 1606 args->subsysnqn); in nvmet_alloc_ctrl() 1607 args->result = IPO_IATTR_CONNECT_DATA(subsysnqn); in nvmet_alloc_ctrl() 1615 args->hostnqn, args->subsysnqn); in nvmet_alloc_ctrl() [all …]
|
| H A D | auth.c | 339 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() 494 sq->ctrl->subsys->subsysnqn, in nvmet_auth_insert_psk() 510 sq->ctrl->subsys->subsysnqn, in nvmet_auth_insert_psk()
|
| H A D | fabrics-cmd.c | 309 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 D | nvmet.h | 344 char *subsysnqn; member 612 char *subsysnqn; member 624 struct nvmet_ctrl *nvmet_ctrl_find_get(const char *subsysnqn, 632 struct nvmet_subsys *nvmet_subsys_alloc(const char *subsysnqn,
|
| H A D | pci-epf.c | 220 char subsysnqn[NVMF_NQN_SIZE]; member 2038 args.subsysnqn = nvme_epf->subsysnqn; in nvmet_pci_epf_create_ctrl() 2076 ctrl->tctrl->subsys->subsysnqn, ctrl->nr_queues - 1, in nvmet_pci_epf_create_ctrl() 2120 ctrl->tctrl->subsys->subsysnqn); in nvmet_pci_epf_destroy_ctrl() 2499 return sysfs_emit(page, "%s\n", nvme_epf->subsysnqn); in nvmet_pci_epf_subsysnqn_show() 2515 strscpy(nvme_epf->subsysnqn, page, len); in nvmet_pci_epf_subsysnqn_store() 2520 CONFIGFS_ATTR(nvmet_pci_epf_, subsysnqn);
|
| H A D | debugfs.c | 302 subsys->debugfs_dir = debugfs_create_dir(subsys->subsysnqn, in nvmet_debugfs_subsys_setup()
|
| H A D | configfs.c | 883 pr_info("adding nsid %d to subsystem %s\n", nsid, subsys->subsysnqn); in nvmet_ns_make() 1746 if (sysfs_streq(name, nvmet_disc_subsys->subsysnqn)) { in nvmet_subsys_make() 2306 return snprintf(page, PAGE_SIZE, "%s\n", nvmet_disc_subsys->subsysnqn); in nvmet_root_discovery_nqn_show() 2336 old_nqn = nvmet_disc_subsys->subsysnqn; in nvmet_root_discovery_nqn_store() 2337 nvmet_disc_subsys->subsysnqn = new_nqn; in nvmet_root_discovery_nqn_store()
|
| H A D | passthru.c | 162 strscpy(id->subnqn, ctrl->subsys->subsysnqn, sizeof(id->subnqn)); in nvmet_passthru_override_id_ctrl()
|
| H A D | admin-cmd.c | 753 strscpy(id->subnqn, ctrl->subsys->subsysnqn, sizeof(id->subnqn)); in nvmet_execute_identify_ctrl()
|
| /linux/drivers/nvme/host/ |
| H A D | fabrics.c | 337 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 D | auth.c | 474 nvme_auth_hmac_update(&hmac, ctrl->opts->subsysnqn, in nvme_auth_dhchap_setup_host_response() 475 strlen(ctrl->opts->subsysnqn)); in nvme_auth_dhchap_setup_host_response() 494 ctrl->opts->subsysnqn); in nvme_auth_dhchap_setup_ctrl_response() 527 __func__, chap->qid, ctrl->opts->subsysnqn); in nvme_auth_dhchap_setup_ctrl_response() 542 nvme_auth_hmac_update(&hmac, ctrl->opts->subsysnqn, in nvme_auth_dhchap_setup_ctrl_response() 543 strlen(ctrl->opts->subsysnqn)); in nvme_auth_dhchap_setup_ctrl_response() 694 ctrl->opts->subsysnqn, in nvme_auth_secure_concat() 715 ctrl->opts->subsysnqn, chap->hash_id, in nvme_auth_secure_concat()
|
| H A D | sysfs.c | 547 static DEVICE_ATTR(subsysnqn, S_IRUGO, nvme_sysfs_show_subsysnqn, NULL); 1258 static SUBSYS_ATTR_RO(subsysnqn, S_IRUGO, nvme_subsys_show_nqn);
|
| H A D | core.c | 3225 static struct nvme_subsystem *__nvme_find_get_subsystem(const char *subsysnqn) in __nvme_find_get_subsystem() argument 3240 if (!strcmp(subsysnqn, NVME_DISC_SUBSYS_NAME)) in __nvme_find_get_subsystem() 3244 if (strcmp(subsys->subnqn, subsysnqn)) in __nvme_find_get_subsystem()
|
| H A D | fc.c | 1176 strscpy(assoc_rqst->assoc_cmd.subnqn, ctrl->ctrl.opts->subsysnqn, in nvme_fc_connect_admin_queue() 3060 ctrl->rport->remoteport.port_name, ctrl->ctrl.opts->subsysnqn); in nvme_fc_create_association()
|
| H A D | tcp.c | 2151 ctrl->opts->subsysnqn); in nvme_tcp_alloc_admin_queue()
|
| /linux/drivers/nvme/common/ |
| H A D | auth.c | 601 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 D | nvme-auth.h | 59 const char *subsysnqn, const char *hostnqn,
|
| H A D | nvme.h | 1734 char subsysnqn[NVMF_NQN_FIELD_LEN]; member
|
| /linux/Documentation/ABI/stable/ |
| H A D | sysfs-nvme | 49 What: /sys/class/nvme/nvmeX/subsysnqn 63 subsysnqn: Shows the NVMe Qualified Name (NQN) of the 428 What: /sys/class/nvme-subsystem/nvme-subsysX/subsysnqn
|
| /linux/Documentation/nvme/ |
| H A D | nvme-pci-endpoint-target.rst | 275 # echo "nvmepf.0.nqn" > nvmepf.0/nvme/subsysnqn 367 subsysnqn The NQN of the target subsystem to use
|