Searched refs:NVMF_NQN_SIZE (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/drivers/nvme/host/ |
D | fabrics.c | 52 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()
|
D | fabrics.h | 39 char nqn[NVMF_NQN_SIZE];
|
D | nvme.h | 391 char subnqn[NVMF_NQN_SIZE];
|
D | core.c | 2713 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()
|
D | fc.c | 1222 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/ |
D | core.c | 1249 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()
|
D | discovery.c | 122 strncpy(e->subnqn, subsys_nqn, NVMF_NQN_SIZE); in nvmet_format_discovery_entry()
|
/linux-6.1.9/include/linux/ |
D | nvme.h | 18 #define NVMF_NQN_SIZE 223 macro
|