Home
last modified time | relevance | path

Searched refs:NVMF_NQN_SIZE (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/nvme/host/
Dfabrics.c52 strscpy(host->nqn, hostnqn, NVMF_NQN_SIZE); in nvmf_host_add()
70 snprintf(host->nqn, NVMF_NQN_SIZE, in nvmf_host_default()
399 strncpy(data->subsysnqn, ctrl->opts->subsysnqn, NVMF_NQN_SIZE); in nvmf_connect_admin_queue()
400 strncpy(data->hostnqn, ctrl->opts->host->nqn, NVMF_NQN_SIZE); in nvmf_connect_admin_queue()
478 strncpy(data->subsysnqn, ctrl->opts->subsysnqn, NVMF_NQN_SIZE); in nvmf_connect_io_queue()
479 strncpy(data->hostnqn, ctrl->opts->host->nqn, NVMF_NQN_SIZE); in nvmf_connect_io_queue()
652 if (nqnlen >= NVMF_NQN_SIZE) { in nvmf_parse_options()
654 opts->subsysnqn, NVMF_NQN_SIZE); in nvmf_parse_options()
764 if (nqnlen >= NVMF_NQN_SIZE) { in nvmf_parse_options()
766 p, NVMF_NQN_SIZE); in nvmf_parse_options()
Dfabrics.h39 char nqn[NVMF_NQN_SIZE];
Dnvme.h391 char subnqn[NVMF_NQN_SIZE];
Dcore.c2713 nqnlen = strnlen(id->subnqn, NVMF_NQN_SIZE); in nvme_init_subnqn()
2714 if (nqnlen > 0 && nqnlen < NVMF_NQN_SIZE) { in nvme_init_subnqn()
2715 strscpy(subsys->subnqn, id->subnqn, NVMF_NQN_SIZE); in nvme_init_subnqn()
2728 off = snprintf(subsys->subnqn, NVMF_NQN_SIZE, in nvme_init_subnqn()
Dfc.c1222 min(FCNVME_ASSOC_HOSTNQN_LEN, NVMF_NQN_SIZE)); in nvme_fc_connect_admin_queue()
1224 min(FCNVME_ASSOC_SUBNQN_LEN, NVMF_NQN_SIZE)); in nvme_fc_connect_admin_queue()
/linux-6.1.9/drivers/nvme/target/
Dcore.c1249 if (strncmp(hostnqn, ctrl->hostnqn, NVMF_NQN_SIZE)) { in nvmet_ctrl_find_get()
1406 memcpy(ctrl->subsysnqn, subsysnqn, NVMF_NQN_SIZE); in nvmet_alloc_ctrl()
1407 memcpy(ctrl->hostnqn, hostnqn, NVMF_NQN_SIZE); in nvmet_alloc_ctrl()
1532 NVMF_NQN_SIZE)) { in nvmet_find_get_subsys()
1579 subsys->subsysnqn = kstrndup(subsysnqn, NVMF_NQN_SIZE, in nvmet_subsys_alloc()
Ddiscovery.c122 strncpy(e->subnqn, subsys_nqn, NVMF_NQN_SIZE); in nvmet_format_discovery_entry()
/linux-6.1.9/include/linux/
Dnvme.h18 #define NVMF_NQN_SIZE 223 macro