Lines Matching defs:drain
1380 * to migrate CPUs to drain the per-CPU caches.
1383 * zone The zone to drain, must be unlocked.
1477 * Safely drain per-CPU caches of a zone(s) to alloc bucket.
1513 * requested a drain, otherwise the per-domain caches are trimmed to either
1517 bucket_cache_reclaim_domain(uma_zone_t zone, bool drain, bool trim, int domain)
1529 if ((zone->uz_flags & UMA_ZONE_SMR) == 0 || drain) {
1539 * If we were asked to drain the zone, we are done only once
1543 * If neither drain nor trim, then voluntarily reclaim 1/4
1548 if (drain)
1572 bucket_cache_reclaim(uma_zone_t zone, bool drain, int domain)
1585 bucket_cache_reclaim_domain(zone, drain, true, domain);
1588 bucket_cache_reclaim_domain(zone, drain, true, i);
1711 zone_reclaim(uma_zone_t zone, int domain, int waitok, bool drain)
1728 bucket_cache_reclaim(zone, drain, domain);