Searched refs:nres (Results 1 – 1 of 1) sorted by relevance
337 struct nxprov_reg_ent *pnre, *nres = NULL; in nxctl_get_nexus_prov_list() local368 nres_sz = (size_t)nrlr.nrl_num_regs * sizeof(*nres); in nxctl_get_nexus_prov_list()369 nres = sk_alloc_data(nres_sz, Z_WAITOK, skmem_tag_sysctl_buf); in nxctl_get_nexus_prov_list()370 if (__improbable(nres == NULL)) { in nxctl_get_nexus_prov_list()384 pnre = nres; in nxctl_get_nexus_prov_list()395 if (nres != NULL && nregs > 0) { in nxctl_get_nexus_prov_list()410 if (nres != NULL) { in nxctl_get_nexus_prov_list()413 err = copyout(nres, tmp_ptr, in nxctl_get_nexus_prov_list()414 ncregs * sizeof(*nres)); in nxctl_get_nexus_prov_list()416 bcopy(nres, CAST_DOWN(caddr_t, tmp_ptr), in nxctl_get_nexus_prov_list()[all …]