Lines Matching refs:folio_batch_count
209 for (i = 0; i < folio_batch_count(fbatch); i++) { in folio_batch_move_lru()
224 folios_put(fbatch->folios, folio_batch_count(fbatch)); in folio_batch_move_lru()
348 if (folio_batch_count(fbatch)) in folio_activate_drain()
402 for (i = folio_batch_count(fbatch) - 1; i >= 0; i--) { in __lru_cache_activate_folio()
651 if (folio_batch_count(fbatch)) in lru_add_drain_cpu()
656 if (data_race(folio_batch_count(fbatch))) { in lru_add_drain_cpu()
666 if (folio_batch_count(fbatch)) in lru_add_drain_cpu()
670 if (folio_batch_count(fbatch)) in lru_add_drain_cpu()
674 if (folio_batch_count(fbatch)) in lru_add_drain_cpu()
795 return folio_batch_count(&fbatches->lru_add) || in cpu_needs_drain()
796 data_race(folio_batch_count(&per_cpu(lru_rotate.fbatch, cpu))) || in cpu_needs_drain()
797 folio_batch_count(&fbatches->lru_deactivate_file) || in cpu_needs_drain()
798 folio_batch_count(&fbatches->lru_deactivate) || in cpu_needs_drain()
799 folio_batch_count(&fbatches->lru_lazyfree) || in cpu_needs_drain()
800 folio_batch_count(&fbatches->activate) || in cpu_needs_drain()
1080 for (i = 0, j = 0; i < folio_batch_count(fbatch); i++) { in folio_batch_remove_exceptionals()