Lines Matching refs:nres
1703 vmu_cache_alloc(size_t nres, uint_t flags) in vmu_cache_alloc() argument
1708 cache->vmc_results = kmem_zalloc(sizeof (vmusage_t) * nres, KM_SLEEP); in vmu_cache_alloc()
1709 cache->vmc_nresults = nres; in vmu_cache_alloc()
1746 vmu_copyout_results(vmu_cache_t *cache, vmusage_t *buf, size_t *nres, in vmu_copyout_results() argument
1756 if (nres != NULL) { in vmu_copyout_results()
1757 if (ddi_copyin((caddr_t)nres, &bufsize, sizeof (size_t), cpflg)) in vmu_copyout_results()
1862 if (nres != NULL) in vmu_copyout_results()
1863 if (ddi_copyout(&count, (void *)nres, sizeof (size_t), cpflg)) in vmu_copyout_results()
1896 vm_getusage(uint_t flags, time_t age, vmusage_t *buf, size_t *nres, int cpflg) in vm_getusage() argument
1955 ret = vmu_copyout_results(cache, buf, nres, flags_orig, in vm_getusage()
2013 ret = vmu_copyout_results(cache, buf, nres, flags_orig, cpflg); in vm_getusage()