/kernel/linux/linux-5.10/drivers/nvme/target/ |
D | core.c | 86 const char *subsysnqn); 1188 u16 nvmet_ctrl_find_get(const char *subsysnqn, const char *hostnqn, u16 cntlid, in nvmet_ctrl_find_get() argument 1195 subsys = nvmet_find_get_subsys(req->port, subsysnqn); in nvmet_ctrl_find_get() 1198 subsysnqn); in nvmet_ctrl_find_get() 1199 req->cqe->result.u32 = IPO_IATTR_CONNECT_DATA(subsysnqn); in nvmet_ctrl_find_get() 1219 cntlid, subsysnqn, hostnqn); in nvmet_ctrl_find_get() 1306 u16 nvmet_alloc_ctrl(const char *subsysnqn, const char *hostnqn, in nvmet_alloc_ctrl() argument 1315 subsys = nvmet_find_get_subsys(req->port, subsysnqn); in nvmet_alloc_ctrl() 1318 subsysnqn); in nvmet_alloc_ctrl() 1319 req->cqe->result.u32 = IPO_IATTR_CONNECT_DATA(subsysnqn); in nvmet_alloc_ctrl() [all …]
|
D | nvmet.h | 199 char subsysnqn[NVMF_NQN_FIELD_LEN]; member 237 char *subsysnqn; member 431 u16 nvmet_alloc_ctrl(const char *subsysnqn, const char *hostnqn, 433 u16 nvmet_ctrl_find_get(const char *subsysnqn, const char *hostnqn, u16 cntlid, 438 struct nvmet_subsys *nvmet_subsys_alloc(const char *subsysnqn,
|
D | fabrics-cmd.c | 192 status = nvmet_alloc_ctrl(d->subsysnqn, d->hostnqn, req, in nvmet_execute_admin_connect() 212 ctrl->cntlid, ctrl->subsys->subsysnqn, ctrl->hostnqn, in nvmet_execute_admin_connect() 253 status = nvmet_ctrl_find_get(d->subsysnqn, d->hostnqn, in nvmet_execute_io_connect()
|
D | discovery.c | 215 p->subsys->subsysnqn, traddr, in nvmet_execute_disc_get_log_page() 289 strlcpy(id->subnqn, ctrl->subsys->subsysnqn, sizeof(id->subnqn)); in nvmet_execute_disc_identify()
|
D | passthru.c | 96 memcpy(id->subnqn, ctrl->subsysnqn, sizeof(id->subnqn)); in nvmet_passthru_override_id_ctrl()
|
D | loop.c | 638 "new ctrl: \"%s\"\n", ctrl->ctrl.opts->subsysnqn); in nvme_loop_create_ctrl()
|
D | admin-cmd.c | 431 strlcpy(id->subnqn, ctrl->subsys->subsysnqn, sizeof(id->subnqn)); in nvmet_execute_identify_ctrl()
|
D | configfs.c | 653 pr_info("adding nsid %d to subsystem %s\n", nsid, subsys->subsysnqn); in nvmet_ns_make()
|
/kernel/linux/linux-5.10/drivers/nvme/host/ |
D | fabrics.h | 96 char *subsysnqn; member 157 strcmp(opts->subsysnqn, ctrl->opts->subsysnqn) || in nvmf_ctlr_matches_baseopts()
|
D | fabrics.c | 294 case (offsetof(struct nvmf_connect_data, subsysnqn)): in nvmf_log_connect_error() 297 inv_data, data->subsysnqn); in nvmf_log_connect_error() 325 data->subsysnqn, data->hostnqn); in nvmf_log_connect_error() 401 strncpy(data->subsysnqn, ctrl->opts->subsysnqn, NVMF_NQN_SIZE); in nvmf_connect_admin_queue() 464 strncpy(data->subsysnqn, ctrl->opts->subsysnqn, NVMF_NQN_SIZE); in nvmf_connect_io_queue() 674 kfree(opts->subsysnqn); in nvmf_parse_options() 675 opts->subsysnqn = p; in nvmf_parse_options() 676 nqnlen = strlen(opts->subsysnqn); in nvmf_parse_options() 679 opts->subsysnqn, NVMF_NQN_SIZE); in nvmf_parse_options() 684 !(strcmp(opts->subsysnqn, in nvmf_parse_options() [all …]
|
D | core.c | 158 "Removing ctrl: NQN \"%s\"\n", ctrl->opts->subsysnqn); in nvme_do_delete_ctrl() 2735 static struct nvme_subsystem *__nvme_find_get_subsystem(const char *subsysnqn) in __nvme_find_get_subsystem() argument 2749 if (!strcmp(subsysnqn, NVME_DISC_SUBSYS_NAME)) in __nvme_find_get_subsystem() 2753 if (strcmp(subsys->subnqn, subsysnqn)) in __nvme_find_get_subsystem() 2776 static SUBSYS_ATTR_RO(subsysnqn, S_IRUGO, nvme_subsys_show_nqn); 3503 static DEVICE_ATTR(subsysnqn, S_IRUGO, nvme_sysfs_show_subsysnqn, NULL);
|
D | fc.c | 1222 strncpy(assoc_rqst->assoc_cmd.subnqn, ctrl->ctrl.opts->subsysnqn, in nvme_fc_connect_admin_queue() 3062 ctrl->rport->remoteport.port_name, ctrl->ctrl.opts->subsysnqn); in nvme_fc_create_association() 3564 ctrl->cnum, ctrl->ctrl.opts->subsysnqn); in nvme_fc_init_ctrl()
|
D | rdma.c | 2396 ctrl->ctrl.opts->subsysnqn, &ctrl->addr); in nvme_rdma_create_ctrl()
|
D | tcp.c | 2550 ctrl->ctrl.opts->subsysnqn, &ctrl->addr); in nvme_tcp_create_ctrl()
|
/kernel/linux/linux-5.10/include/linux/ |
D | nvme.h | 1345 char subsysnqn[NVMF_NQN_FIELD_LEN]; member
|