Home
last modified time | relevance | path

Searched refs:nqn (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/nvme/host/
Dfabrics.h39 char nqn[NVMF_NQN_SIZE]; member
183 strcmp(opts->host->nqn, ctrl->opts->host->nqn) || in nvmf_ctlr_matches_baseopts()
Dfabrics.c34 strscpy(host->nqn, hostnqn, NVMF_NQN_SIZE); in nvmf_host_alloc()
52 bool same_hostnqn = !strcmp(host->nqn, hostnqn); in nvmf_host_add()
88 char nqn[NVMF_NQN_SIZE]; in nvmf_host_default() local
92 snprintf(nqn, NVMF_NQN_SIZE, in nvmf_host_default()
95 host = nvmf_host_alloc(nqn, &id); in nvmf_host_default()
390 strncpy(data->hostnqn, ctrl->opts->host->nqn, NVMF_NQN_SIZE); in nvmf_connect_data_prep()
683 strscpy(hostnqn, nvmf_default_host->nqn, NVMF_NQN_SIZE); in nvmf_parse_options()
812 opts->host->nqn); in nvmf_parse_options()
Dauth.c433 ctrl->opts->host->nqn); in nvme_auth_dhchap_setup_host_response()
489 ret = crypto_shash_update(shash, ctrl->opts->host->nqn, in nvme_auth_dhchap_setup_host_response()
490 strlen(ctrl->opts->host->nqn)); in nvme_auth_dhchap_setup_host_response()
551 __func__, chap->qid, ctrl->opts->host->nqn); in nvme_auth_dhchap_setup_ctrl_response()
581 ret = crypto_shash_update(shash, ctrl->opts->host->nqn, in nvme_auth_dhchap_setup_ctrl_response()
582 strlen(ctrl->opts->host->nqn)); in nvme_auth_dhchap_setup_ctrl_response()
Dsysfs.c264 return sysfs_emit(buf, "%s\n", ctrl->opts->host->nqn); in nvme_sysfs_show_hostnqn()
Dfc.c1214 strncpy(assoc_rqst->assoc_cmd.hostnqn, ctrl->ctrl.opts->host->nqn, in nvme_fc_connect_admin_queue()
/linux-6.6.21/drivers/nvme/common/
Dauth.c232 u8 *nvme_auth_transform_key(struct nvme_dhchap_key *key, char *nqn) in nvme_auth_transform_key() argument
279 ret = crypto_shash_update(shash, nqn, strlen(nqn)); in nvme_auth_transform_key()
/linux-6.6.21/include/linux/
Dnvme-auth.h30 u8 *nvme_auth_transform_key(struct nvme_dhchap_key *key, char *nqn);