Home
last modified time | relevance | path

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

/linux/drivers/nvme/target/
H A Dcore.c90 const char *subsysnqn);
1485 struct nvmet_ctrl *nvmet_ctrl_find_get(const char *subsysnqn, in nvmet_ctrl_find_get()
1492 subsys = nvmet_find_get_subsys(req->port, subsysnqn); in nvmet_ctrl_find_get()
1495 subsysnqn); in nvmet_ctrl_find_get()
1496 req->cqe->result.u32 = IPO_IATTR_CONNECT_DATA(subsysnqn); in nvmet_ctrl_find_get()
1517 cntlid, subsysnqn, hostnqn); in nvmet_ctrl_find_get()
1616 subsys = nvmet_find_get_subsys(args->port, args->subsysnqn); in nvmet_alloc_ctrl()
1619 args->subsysnqn); in nvmet_alloc_ctrl()
1620 args->result = IPO_IATTR_CONNECT_DATA(subsysnqn); in nvmet_alloc_ctrl()
1628 args->hostnqn, args->subsysnqn); in nvmet_alloc_ctrl()
1477 nvmet_ctrl_find_get(const char * subsysnqn,const char * hostnqn,u16 cntlid,struct nvmet_req * req) nvmet_ctrl_find_get() argument
1811 nvmet_find_get_subsys(struct nvmet_port * port,const char * subsysnqn) nvmet_find_get_subsys() argument
1845 nvmet_subsys_alloc(const char * subsysnqn,enum nvme_subsys_type type) nvmet_subsys_alloc() argument
[all...]
H A Dauth.c345 nvme_auth_hmac_update(&hmac, ctrl->subsys->subsysnqn, in nvmet_auth_host_hash()
346 strlen(ctrl->subsys->subsysnqn)); in nvmet_auth_host_hash()
369 ctrl->subsys->subsysnqn); in nvmet_auth_ctrl_hash()
411 nvme_auth_hmac_update(&hmac, ctrl->subsys->subsysnqn, in nvmet_auth_ctrl_hash()
412 strlen(ctrl->subsys->subsysnqn)); in nvmet_auth_ctrl_hash()
500 sq->ctrl->subsys->subsysnqn, in nvmet_auth_insert_psk()
516 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 Dnvmet.h346 char *subsysnqn;
614 char *subsysnqn;
626 struct nvmet_ctrl *nvmet_ctrl_find_get(const char *subsysnqn,
634 struct nvmet_subsys *nvmet_subsys_alloc(const char *subsysnqn,
344 char *subsysnqn; global() member
612 char *subsysnqn; global() member
H A Dpci-epf.c220 char subsysnqn[NVMF_NQN_SIZE]; member
2041 args.subsysnqn = nvme_epf->subsysnqn; in nvmet_pci_epf_create_ctrl()
2079 ctrl->tctrl->subsys->subsysnqn, ctrl->nr_queues - 1, in nvmet_pci_epf_create_ctrl()
2123 ctrl->tctrl->subsys->subsysnqn); in nvmet_pci_epf_destroy_ctrl()
2502 return sysfs_emit(page, "%s\n", nvme_epf->subsysnqn); in nvmet_pci_epf_subsysnqn_store()
2518 strscpy(nvme_epf->subsysnqn, page, len); in nvmet_pci_epf_subsysnqn_store()
2523 CONFIGFS_ATTR(nvmet_pci_epf_, subsysnqn); in nvmet_pci_epf_mdts_kb_show()
H A Ddebugfs.c302 subsys->debugfs_dir = debugfs_create_dir(subsys->subsysnqn, in nvmet_debugfs_subsys_setup()
H A Dconfigfs.c886 pr_info("adding nsid %u to subsystem %s\n", nsid, subsys->subsysnqn); in nvmet_ns_make()
1749 if (sysfs_streq(name, nvmet_disc_subsys->subsysnqn)) { in nvmet_subsys_make()
2309 return snprintf(page, PAGE_SIZE, "%s\n", nvmet_disc_subsys->subsysnqn); in nvmet_root_discovery_nqn_store()
2339 old_nqn = nvmet_disc_subsys->subsysnqn; in nvmet_root_discovery_nqn_store()
2340 nvmet_disc_subsys->subsysnqn = new_nqn; in nvmet_root_discovery_nqn_store()
H A Dpassthru.c162 strscpy(id->subnqn, ctrl->subsys->subsysnqn, sizeof(id->subnqn)); in nvmet_passthru_override_id_ctrl()
H A Dadmin-cmd.c753 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()
1292 kfree(opts->subsysnqn); in nvmf_free_options()
H A Dauth.c474 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 Dsysfs.c547 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 Dcore.c3239 static struct nvme_subsystem *__nvme_find_get_subsystem(const char *subsysnqn) in __nvme_find_get_subsystem()
3254 if (!strcmp(subsysnqn, NVME_DISC_SUBSYS_NAME)) in nvme_discovery_ctrl()
3258 if (strcmp(subsys->subnqn, subsysnqn)) in nvme_admin_ctrl()
3223 __nvme_find_get_subsystem(const char * subsysnqn) __nvme_find_get_subsystem() argument
H A Dfc.c1176 strscpy(assoc_rqst->assoc_cmd.subnqn, ctrl->ctrl.opts->subsysnqn, in nvme_fc_connect_admin_queue()
3066 ctrl->rport->remoteport.port_name, ctrl->ctrl.opts->subsysnqn); in nvme_fc_create_association()
H A Dtcp.c2150 ctrl->opts->subsysnqn); in nvme_tcp_start_io_queues()
/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,
H A Dnvme.h1734 char subsysnqn[NVMF_NQN_FIELD_LEN]; member
/linux/Documentation/ABI/stable/
H A Dsysfs-nvme49 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 Dnvme-pci-endpoint-target.rst275 # echo "nvmepf.0.nqn" > nvmepf.0/nvme/subsysnqn
367 subsysnqn The NQN of the target subsystem to use