Lines Matching refs:reap
2152 long reap; in kmem_depot_ws_reap() local
2158 reap = MIN(cp->cache_full.ml_reaplimit, cp->cache_full.ml_min); in kmem_depot_ws_reap()
2159 while (reap-- && in kmem_depot_ws_reap()
2169 reap = MIN(cp->cache_empty.ml_reaplimit, cp->cache_empty.ml_min); in kmem_depot_ws_reap()
2170 while (reap-- && in kmem_depot_ws_reap()
3377 long reap; in kmem_cache_kstat_update() local
3425 reap = MIN(cp->cache_full.ml_reaplimit, cp->cache_full.ml_min); in kmem_cache_kstat_update()
3426 reap = MIN(reap, cp->cache_full.ml_total); in kmem_cache_kstat_update()
3478 reclaimable += ((uint64_t)reap * cp->cache_magtype->mt_magsize); in kmem_cache_kstat_update()
5273 long reap; in kmem_cache_is_fragmented() local
5276 reap = MIN(cp->cache_full.ml_reaplimit, cp->cache_full.ml_min); in kmem_cache_is_fragmented()
5277 reap = MIN(reap, cp->cache_full.ml_total); in kmem_cache_is_fragmented()
5280 nfree += ((uint64_t)reap * cp->cache_magtype->mt_magsize); in kmem_cache_is_fragmented()
5293 boolean_t reap = B_FALSE; in kmem_cache_scan() local
5308 if (kmem_cache_is_fragmented(cp, &reap)) { in kmem_cache_scan()
5374 if (reap) in kmem_cache_scan()