Searched refs:hostnqn (Results 1 – 5 of 5) sorted by relevance
/drivers/nvme/target/ |
D | core.c | 620 u16 nvmet_ctrl_find_get(const char *subsysnqn, const char *hostnqn, u16 cntlid, in nvmet_ctrl_find_get() argument 638 if (strncmp(hostnqn, ctrl->hostnqn, NVMF_NQN_SIZE)) { in nvmet_ctrl_find_get() 651 cntlid, subsysnqn, hostnqn); in nvmet_ctrl_find_get() 662 const char *hostnqn) in __nvmet_host_allowed() argument 670 if (!strcmp(nvmet_host_name(p->host), hostnqn)) in __nvmet_host_allowed() 678 const char *hostnqn) in nvmet_host_discovery_allowed() argument 683 if (__nvmet_host_allowed(s->subsys, hostnqn)) in nvmet_host_discovery_allowed() 691 const char *hostnqn) in nvmet_host_allowed() argument 696 return nvmet_host_discovery_allowed(req, hostnqn); in nvmet_host_allowed() 698 return __nvmet_host_allowed(subsys, hostnqn); in nvmet_host_allowed() [all …]
|
D | nvmet.h | 133 char hostnqn[NVMF_NQN_FIELD_LEN]; member 277 u16 nvmet_alloc_ctrl(const char *subsysnqn, const char *hostnqn, 279 u16 nvmet_ctrl_find_get(const char *subsysnqn, const char *hostnqn, u16 cntlid, 327 const char *hostnqn);
|
D | fabrics-cmd.c | 145 status = nvmet_alloc_ctrl(d->subsysnqn, d->hostnqn, req, in nvmet_execute_admin_connect() 157 ctrl->cntlid, ctrl->hostnqn); in nvmet_execute_admin_connect() 185 status = nvmet_ctrl_find_get(d->subsysnqn, d->hostnqn, in nvmet_execute_io_connect()
|
D | discovery.c | 90 if (!nvmet_host_allowed(req, p->subsys, ctrl->hostnqn)) in nvmet_execute_get_disc_log_page()
|
/drivers/nvme/host/ |
D | fabrics.c | 32 static struct nvmf_host *__nvmf_host_find(const char *hostnqn) in __nvmf_host_find() argument 37 if (!strcmp(host->nqn, hostnqn)) in __nvmf_host_find() 44 static struct nvmf_host *nvmf_host_add(const char *hostnqn) in nvmf_host_add() argument 49 host = __nvmf_host_find(hostnqn); in nvmf_host_add() 60 memcpy(host->nqn, hostnqn, NVMF_NQN_SIZE); in nvmf_host_add() 308 case (offsetof(struct nvmf_connect_data, hostnqn)): in nvmf_log_connect_error() 311 inv_data, data->hostnqn); in nvmf_log_connect_error() 401 strncpy(data->hostnqn, ctrl->opts->host->nqn, NVMF_NQN_SIZE); in nvmf_connect_admin_queue() 460 strncpy(data->hostnqn, ctrl->opts->host->nqn, NVMF_NQN_SIZE); in nvmf_connect_io_queue()
|