Home
last modified time | relevance | path

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

/xnu-11215.81.4/bsd/skywalk/nexus/
H A Dnexus.c361 struct nxprov_reg_ent *pnre, *nres = NULL; in nxctl_get_nexus_prov_list() local
392 nres_sz = (size_t)nrlr.nrl_num_regs * sizeof(*nres); in nxctl_get_nexus_prov_list()
393 nres = sk_alloc_data(nres_sz, Z_WAITOK, skmem_tag_sysctl_buf); in nxctl_get_nexus_prov_list()
394 if (__improbable(nres == NULL)) { in nxctl_get_nexus_prov_list()
408 pnre = nres; in nxctl_get_nexus_prov_list()
419 if (nres != NULL && nregs > 0) { in nxctl_get_nexus_prov_list()
434 if (nres != NULL) { in nxctl_get_nexus_prov_list()
437 err = copyout(nres, tmp_ptr, in nxctl_get_nexus_prov_list()
438 ncregs * sizeof(*nres)); in nxctl_get_nexus_prov_list()
443 ncregs * sizeof(*nres)); in nxctl_get_nexus_prov_list()
[all …]