Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/md/
Ddm-zoned-reclaim.c467 static bool dmz_should_reclaim(struct dmz_reclaim *zrc, unsigned int p_unmap) in dmz_should_reclaim() argument
489 if (p_unmap >= DMZ_RECLAIM_HIGH_UNMAP_ZONES) in dmz_should_reclaim()
496 return p_unmap <= DMZ_RECLAIM_LOW_UNMAP_ZONES; in dmz_should_reclaim()
506 unsigned int p_unmap; in dmz_reclaim_work() local
512 p_unmap = dmz_reclaim_percentage(zrc); in dmz_reclaim_work()
513 if (!dmz_should_reclaim(zrc, p_unmap)) { in dmz_reclaim_work()
524 if (dmz_target_idle(zrc) || p_unmap < DMZ_RECLAIM_LOW_UNMAP_ZONES / 2) { in dmz_reclaim_work()
529 zrc->kc_throttle.throttle = min(75U, 100U - p_unmap / 2); in dmz_reclaim_work()
536 p_unmap, dmz_nr_unmap_cache_zones(zmd), in dmz_reclaim_work()
636 unsigned int p_unmap = dmz_reclaim_percentage(zrc); in dmz_schedule_reclaim() local
[all …]