Searched refs:num_clean (Results 1 – 1 of 1) sorted by relevance
336 unsigned int num_clean, total; in purge_persistent_gnt() local348 num_clean = 0; in purge_persistent_gnt()350 num_clean = (max_pgrants / 100) * LRU_PERCENT_CLEAN; in purge_persistent_gnt()351 num_clean = ring->persistent_gnt_c - max_pgrants + num_clean; in purge_persistent_gnt()352 num_clean = min(ring->persistent_gnt_c, num_clean); in purge_persistent_gnt()354 num_clean); in purge_persistent_gnt()379 if (scan_used && total >= num_clean) in purge_persistent_gnt()392 if (!scan_used && total < num_clean) { in purge_persistent_gnt()393 pr_debug("Still missing %u purged frames\n", num_clean - total); in purge_persistent_gnt()404 pr_debug("Purged %u/%u\n", num_clean, total); in purge_persistent_gnt()