Searched refs:nres (Results 1 – 1 of 1) sorted by relevance
363 struct nxprov_reg_ent *pnre, *nres = NULL; in nxctl_get_nexus_prov_list() local394 nres_sz = (size_t)nrlr.nrl_num_regs * sizeof(*nres); in nxctl_get_nexus_prov_list()395 nres = sk_alloc_data(nres_sz, Z_WAITOK, skmem_tag_sysctl_buf); in nxctl_get_nexus_prov_list()396 if (__improbable(nres == NULL)) { in nxctl_get_nexus_prov_list()410 pnre = nres; in nxctl_get_nexus_prov_list()421 if (nres != NULL && nregs > 0) { in nxctl_get_nexus_prov_list()436 if (nres != NULL) { in nxctl_get_nexus_prov_list()439 err = copyout(nres, tmp_ptr, in nxctl_get_nexus_prov_list()440 ncregs * sizeof(*nres)); in nxctl_get_nexus_prov_list()445 ncregs * sizeof(*nres)); in nxctl_get_nexus_prov_list()[all …]