Lines Matching refs:subnqn
106 retval = sbuf_printf(sb, "\t<port>%s,p,%u</port>\n", np->cdata.subnqn, in nvmft_info()
133 np->cdata.subnqn, lun_id, le32toh(np->cdata.nn)); in nvmft_lun_enable()
156 np->cdata.subnqn, lun_id); in nvmft_lun_enable()
205 np->cdata.subnqn, lun_id); in nvmft_lun_disable()
665 nvmft_port_find(const char *subnqn) in nvmft_port_find() argument
669 KASSERT(nvmf_nqn_valid(subnqn), ("%s: invalid nqn", __func__)); in nvmft_port_find()
673 if (strcmp(np->cdata.subnqn, subnqn) == 0) in nvmft_port_find()
737 const char *serial, *subnqn; in nvmft_port_create() local
743 subnqn = dnvlist_get_string(req->args_nvl, "subnqn", NULL); in nvmft_port_create()
744 if (subnqn == NULL || !nvlist_exists_string(req->args_nvl, "portid")) { in nvmft_port_create()
750 if (!nvmf_nqn_valid(subnqn)) { in nvmft_port_create()
819 np = nvmft_port_find(subnqn); in nvmft_port_create()
823 "SubNQN \"%s\" already exists", subnqn); in nvmft_port_create()
840 osrelease, subnqn, nn, ioccsz, iorcsz, &np->cdata); in nvmft_port_create()
895 const char *subnqn; in nvmft_port_remove() local
903 subnqn = dnvlist_get_string(req->args_nvl, "subnqn", NULL); in nvmft_port_remove()
904 if (subnqn == NULL) { in nvmft_port_remove()
929 if (subnqn != NULL) { in nvmft_port_remove()
930 np = nvmft_port_find(subnqn); in nvmft_port_remove()
934 "SubNQN \"%s\" does not exist", subnqn); in nvmft_port_remove()
1018 if (!nvmf_nqn_valid(data->subnqn)) { in nvmft_handoff()
1026 np = nvmft_port_find(data->subnqn); in nvmft_handoff()
1104 np->cdata.subnqn, in nvmft_list()