Lines Matching refs:reap
2165 long reap; in kmem_depot_ws_reap() local
2171 reap = MIN(cp->cache_full.ml_reaplimit, cp->cache_full.ml_min); in kmem_depot_ws_reap()
2172 while (reap-- && in kmem_depot_ws_reap()
2182 reap = MIN(cp->cache_empty.ml_reaplimit, cp->cache_empty.ml_min); in kmem_depot_ws_reap()
2183 while (reap-- && in kmem_depot_ws_reap()
3461 long reap; in kmem_cache_kstat_update() local
3509 reap = MIN(cp->cache_full.ml_reaplimit, cp->cache_full.ml_min); in kmem_cache_kstat_update()
3510 reap = MIN(reap, cp->cache_full.ml_total); in kmem_cache_kstat_update()
3562 reclaimable += ((uint64_t)reap * cp->cache_magtype->mt_magsize); in kmem_cache_kstat_update()
5356 long reap; in kmem_cache_is_fragmented() local
5359 reap = MIN(cp->cache_full.ml_reaplimit, cp->cache_full.ml_min); in kmem_cache_is_fragmented()
5360 reap = MIN(reap, cp->cache_full.ml_total); in kmem_cache_is_fragmented()
5363 nfree += ((uint64_t)reap * cp->cache_magtype->mt_magsize); in kmem_cache_is_fragmented()
5376 boolean_t reap = B_FALSE; in kmem_cache_scan() local
5391 if (kmem_cache_is_fragmented(cp, &reap)) { in kmem_cache_scan()
5457 if (reap) in kmem_cache_scan()