Home
last modified time | relevance | path

Searched refs:subnqn (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/drivers/nvme/target/
Ddiscovery.c122 strncpy(e->subnqn, subsys_nqn, NVMF_NQN_SIZE); in nvmet_format_discovery_entry()
295 strscpy(id->subnqn, ctrl->subsys->subsysnqn, sizeof(id->subnqn)); in nvmet_execute_disc_identify()
Dpassthru.c153 memcpy(id->subnqn, ctrl->subsysnqn, sizeof(id->subnqn)); in nvmet_passthru_override_id_ctrl()
Dadmin-cmd.c454 strscpy(id->subnqn, ctrl->subsys->subsysnqn, sizeof(id->subnqn)); in nvmet_execute_identify_ctrl()
/linux-6.6.21/drivers/nvme/host/
Dfabrics.h195 return ctrl->subsys->subnqn; in nvmf_ctrl_subsysnqn()
Dcore.c2650 nqnlen = strnlen(id->subnqn, NVMF_NQN_SIZE); in nvme_init_subnqn()
2652 strscpy(subsys->subnqn, id->subnqn, NVMF_NQN_SIZE); in nvme_init_subnqn()
2665 off = snprintf(subsys->subnqn, NVMF_NQN_SIZE, in nvme_init_subnqn()
2668 memcpy(subsys->subnqn + off, id->sn, sizeof(id->sn)); in nvme_init_subnqn()
2670 memcpy(subsys->subnqn + off, id->mn, sizeof(id->mn)); in nvme_init_subnqn()
2672 memset(subsys->subnqn + off, 0, sizeof(subsys->subnqn) - off); in nvme_init_subnqn()
2722 if (strcmp(subsys->subnqn, subsysnqn)) in __nvme_find_get_subsystem()
2752 subsys->subnqn); in nvme_validate_cntlid()
2790 !strcmp(subsys->subnqn, NVME_DISC_SUBSYS_NAME)) in nvme_init_subsystem()
2798 subsys->subnqn); in nvme_init_subsystem()
[all …]
Dsysfs.c254 return sysfs_emit(buf, "%s\n", ctrl->subsys->subnqn); in nvme_sysfs_show_subsysnqn()
612 return sysfs_emit(buf, "%s\n", subsys->subnqn); in nvme_subsys_show_nqn()
Dnvme.h417 char subnqn[NVMF_NQN_SIZE]; member
Dfc.c1216 strncpy(assoc_rqst->assoc_cmd.subnqn, ctrl->ctrl.opts->subsysnqn, in nvme_fc_connect_admin_queue()
/linux-6.6.21/include/linux/
Dnvme-fc.h264 u8 subnqn[FCNVME_ASSOC_SUBNQN_LEN]; member
Dnvme.h344 char subnqn[256]; member
1484 char subnqn[NVMF_NQN_FIELD_LEN]; member