/Linux-v5.10/drivers/nvme/target/ |
D | core.c | 86 const char *subsysnqn); 1173 u16 nvmet_ctrl_find_get(const char *subsysnqn, const char *hostnqn, u16 cntlid, in nvmet_ctrl_find_get() argument 1180 subsys = nvmet_find_get_subsys(req->port, subsysnqn); in nvmet_ctrl_find_get() 1183 subsysnqn); in nvmet_ctrl_find_get() 1184 req->cqe->result.u32 = IPO_IATTR_CONNECT_DATA(subsysnqn); in nvmet_ctrl_find_get() 1204 cntlid, subsysnqn, hostnqn); in nvmet_ctrl_find_get() 1291 u16 nvmet_alloc_ctrl(const char *subsysnqn, const char *hostnqn, in nvmet_alloc_ctrl() argument 1300 subsys = nvmet_find_get_subsys(req->port, subsysnqn); in nvmet_alloc_ctrl() 1303 subsysnqn); in nvmet_alloc_ctrl() 1304 req->cqe->result.u32 = IPO_IATTR_CONNECT_DATA(subsysnqn); in nvmet_alloc_ctrl() [all …]
|
D | nvmet.h | 200 char subsysnqn[NVMF_NQN_FIELD_LEN]; member 238 char *subsysnqn; member 432 u16 nvmet_alloc_ctrl(const char *subsysnqn, const char *hostnqn, 434 u16 nvmet_ctrl_find_get(const char *subsysnqn, const char *hostnqn, u16 cntlid, 439 struct nvmet_subsys *nvmet_subsys_alloc(const char *subsysnqn,
|
D | fabrics-cmd.c | 191 status = nvmet_alloc_ctrl(d->subsysnqn, d->hostnqn, req, in nvmet_execute_admin_connect() 211 ctrl->cntlid, ctrl->subsys->subsysnqn, ctrl->hostnqn, in nvmet_execute_admin_connect() 252 status = nvmet_ctrl_find_get(d->subsysnqn, d->hostnqn, in nvmet_execute_io_connect()
|
D | discovery.c | 213 p->subsys->subsysnqn, traddr, in nvmet_execute_disc_get_log_page() 287 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 | 619 "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()
|
/Linux-v5.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() 396 strncpy(data->subsysnqn, ctrl->opts->subsysnqn, NVMF_NQN_SIZE); in nvmf_connect_admin_queue() 459 strncpy(data->subsysnqn, ctrl->opts->subsysnqn, NVMF_NQN_SIZE); in nvmf_connect_io_queue() 669 kfree(opts->subsysnqn); in nvmf_parse_options() 670 opts->subsysnqn = p; in nvmf_parse_options() 671 nqnlen = strlen(opts->subsysnqn); in nvmf_parse_options() 674 opts->subsysnqn, NVMF_NQN_SIZE); in nvmf_parse_options() 679 !(strcmp(opts->subsysnqn, in nvmf_parse_options() [all …]
|
D | core.c | 179 "Removing ctrl: NQN \"%s\"\n", ctrl->opts->subsysnqn); in nvme_do_delete_ctrl() 2727 static struct nvme_subsystem *__nvme_find_get_subsystem(const char *subsysnqn) in __nvme_find_get_subsystem() argument 2741 if (!strcmp(subsysnqn, NVME_DISC_SUBSYS_NAME)) in __nvme_find_get_subsystem() 2745 if (strcmp(subsys->subnqn, subsysnqn)) in __nvme_find_get_subsystem() 2768 static SUBSYS_ATTR_RO(subsysnqn, S_IRUGO, nvme_subsys_show_nqn); 3490 static DEVICE_ATTR(subsysnqn, S_IRUGO, nvme_sysfs_show_subsysnqn, NULL);
|
D | fc.c | 1221 strncpy(assoc_rqst->assoc_cmd.subnqn, ctrl->ctrl.opts->subsysnqn, in nvme_fc_connect_admin_queue() 3037 ctrl->rport->remoteport.port_name, ctrl->ctrl.opts->subsysnqn); in nvme_fc_create_association() 3537 ctrl->cnum, ctrl->ctrl.opts->subsysnqn); in nvme_fc_init_ctrl()
|
D | rdma.c | 2379 ctrl->ctrl.opts->subsysnqn, &ctrl->addr); in nvme_rdma_create_ctrl()
|
D | tcp.c | 2507 ctrl->ctrl.opts->subsysnqn, &ctrl->addr); in nvme_tcp_create_ctrl()
|
/Linux-v5.10/include/linux/ |
D | nvme.h | 1339 char subsysnqn[NVMF_NQN_FIELD_LEN]; member
|