hostnqn 24 drivers/nvme/host/fabrics.c static struct nvmf_host *__nvmf_host_find(const char *hostnqn) hostnqn 29 drivers/nvme/host/fabrics.c if (!strcmp(host->nqn, hostnqn)) hostnqn 36 drivers/nvme/host/fabrics.c static struct nvmf_host *nvmf_host_add(const char *hostnqn) hostnqn 41 drivers/nvme/host/fabrics.c host = __nvmf_host_find(hostnqn); hostnqn 52 drivers/nvme/host/fabrics.c strlcpy(host->nqn, hostnqn, NVMF_NQN_SIZE); hostnqn 289 drivers/nvme/host/fabrics.c case (offsetof(struct nvmf_connect_data, hostnqn)): hostnqn 292 drivers/nvme/host/fabrics.c inv_data, data->hostnqn); hostnqn 325 drivers/nvme/host/fabrics.c data->subsysnqn, data->hostnqn); hostnqn 397 drivers/nvme/host/fabrics.c strncpy(data->hostnqn, ctrl->opts->host->nqn, NVMF_NQN_SIZE); hostnqn 460 drivers/nvme/host/fabrics.c strncpy(data->hostnqn, ctrl->opts->host->nqn, NVMF_NQN_SIZE); hostnqn 1217 drivers/nvme/host/fc.c strncpy(assoc_rqst->assoc_cmd.hostnqn, ctrl->ctrl.opts->host->nqn, hostnqn 1088 drivers/nvme/target/core.c u16 nvmet_ctrl_find_get(const char *subsysnqn, const char *hostnqn, u16 cntlid, hostnqn 1106 drivers/nvme/target/core.c if (strncmp(hostnqn, ctrl->hostnqn, NVMF_NQN_SIZE)) { hostnqn 1119 drivers/nvme/target/core.c cntlid, subsysnqn, hostnqn); hostnqn 1145 drivers/nvme/target/core.c bool nvmet_host_allowed(struct nvmet_subsys *subsys, const char *hostnqn) hostnqn 1158 drivers/nvme/target/core.c if (!strcmp(nvmet_host_name(p->host), hostnqn)) hostnqn 1206 drivers/nvme/target/core.c u16 nvmet_alloc_ctrl(const char *subsysnqn, const char *hostnqn, hostnqn 1225 drivers/nvme/target/core.c if (!nvmet_host_allowed(subsys, hostnqn)) { hostnqn 1227 drivers/nvme/target/core.c hostnqn, subsysnqn); hostnqn 1228 drivers/nvme/target/core.c req->cqe->result.u32 = IPO_IATTR_CONNECT_DATA(hostnqn); hostnqn 1251 drivers/nvme/target/core.c memcpy(ctrl->hostnqn, hostnqn, NVMF_NQN_SIZE); hostnqn 38 drivers/nvme/target/discovery.c if (subsys && !nvmet_host_allowed(subsys, ctrl->hostnqn)) hostnqn 58 drivers/nvme/target/discovery.c if (host && strcmp(nvmet_host_name(host), ctrl->hostnqn)) hostnqn 151 drivers/nvme/target/discovery.c if (!nvmet_host_allowed(p->subsys, ctrl->hostnqn)) hostnqn 198 drivers/nvme/target/discovery.c if (!nvmet_host_allowed(p->subsys, ctrl->hostnqn)) hostnqn 184 drivers/nvme/target/fabrics-cmd.c status = nvmet_alloc_ctrl(d->subsysnqn, d->hostnqn, req, hostnqn 202 drivers/nvme/target/fabrics-cmd.c ctrl->cntlid, ctrl->subsys->subsysnqn, ctrl->hostnqn); hostnqn 239 drivers/nvme/target/fabrics-cmd.c status = nvmet_ctrl_find_get(d->subsysnqn, d->hostnqn, hostnqn 195 drivers/nvme/target/nvmet.h char hostnqn[NVMF_NQN_FIELD_LEN]; hostnqn 395 drivers/nvme/target/nvmet.h u16 nvmet_alloc_ctrl(const char *subsysnqn, const char *hostnqn, hostnqn 397 drivers/nvme/target/nvmet.h u16 nvmet_ctrl_find_get(const char *subsysnqn, const char *hostnqn, u16 cntlid, hostnqn 482 drivers/nvme/target/nvmet.h bool nvmet_host_allowed(struct nvmet_subsys *subsys, const char *hostnqn); hostnqn 183 include/linux/nvme-fc.h u8 hostnqn[FCNVME_ASSOC_HOSTNQN_LEN]; hostnqn 1161 include/linux/nvme.h char hostnqn[NVMF_NQN_FIELD_LEN];