Searched refs:nres (Results 1 – 1 of 1) sorted by relevance
372 struct nxprov_reg_ent *pnre, *nres = NULL; in nxctl_get_nexus_prov_list() local403 nres_sz = (size_t)nrlr.nrl_num_regs * sizeof(*nres); in nxctl_get_nexus_prov_list()404 nres = sk_alloc_data(nres_sz, Z_WAITOK, skmem_tag_sysctl_buf); in nxctl_get_nexus_prov_list()405 if (__improbable(nres == NULL)) { in nxctl_get_nexus_prov_list()419 pnre = nres; in nxctl_get_nexus_prov_list()430 if (nres != NULL && nregs > 0) { in nxctl_get_nexus_prov_list()445 if (nres != NULL) { in nxctl_get_nexus_prov_list()448 err = copyout(nres, tmp_ptr, in nxctl_get_nexus_prov_list()449 ncregs * sizeof(*nres)); in nxctl_get_nexus_prov_list()451 bcopy(nres, CAST_DOWN(caddr_t, tmp_ptr), in nxctl_get_nexus_prov_list()[all …]