Lines Matching refs:pagevec_count
200 for (i = 0; i < pagevec_count(pvec); i++) { in pagevec_lru_move_fn()
338 if (pagevec_count(pvec)) in activate_page_drain()
344 return pagevec_count(&per_cpu(lru_pvecs.activate_page, cpu)) != 0; in need_activate_page_drain()
398 for (i = pagevec_count(pvec) - 1; i >= 0; i--) { in __lru_cache_activate_folio()
612 if (pagevec_count(pvec)) in lru_add_drain_cpu()
617 if (data_race(pagevec_count(pvec))) { in lru_add_drain_cpu()
627 if (pagevec_count(pvec)) in lru_add_drain_cpu()
631 if (pagevec_count(pvec)) in lru_add_drain_cpu()
635 if (pagevec_count(pvec)) in lru_add_drain_cpu()
835 pagevec_count(&per_cpu(lru_pvecs.lru_add, cpu)) || in __lru_add_drain_all()
836 data_race(pagevec_count(&per_cpu(lru_rotate.pvec, cpu))) || in __lru_add_drain_all()
837 pagevec_count(&per_cpu(lru_pvecs.lru_deactivate_file, cpu)) || in __lru_add_drain_all()
838 pagevec_count(&per_cpu(lru_pvecs.lru_deactivate, cpu)) || in __lru_add_drain_all()
839 pagevec_count(&per_cpu(lru_pvecs.lru_lazyfree, cpu)) || in __lru_add_drain_all()
1000 release_pages(pvec->pages, pagevec_count(pvec)); in __pagevec_release()
1067 for (i = 0; i < pagevec_count(pvec); i++) { in __pagevec_lru_add()
1092 for (i = 0, j = 0; i < pagevec_count(pvec); i++) { in pagevec_remove_exceptionals()
1125 return pagevec_count(pvec); in pagevec_lookup_range()
1135 return pagevec_count(pvec); in pagevec_lookup_range_tag()