Lines Matching refs:pagevec_count
215 for (i = 0; i < pagevec_count(pvec); i++) { in pagevec_lru_move_fn()
342 if (pagevec_count(pvec)) in activate_page_drain()
348 return pagevec_count(&per_cpu(lru_pvecs.activate_page, cpu)) != 0; in need_activate_page_drain()
400 for (i = pagevec_count(pvec) - 1; i >= 0; i--) { in __lru_cache_activate_page()
629 if (pagevec_count(pvec)) in lru_add_drain_cpu()
634 if (data_race(pagevec_count(pvec))) { in lru_add_drain_cpu()
644 if (pagevec_count(pvec)) in lru_add_drain_cpu()
648 if (pagevec_count(pvec)) in lru_add_drain_cpu()
652 if (pagevec_count(pvec)) in lru_add_drain_cpu()
837 if (pagevec_count(&per_cpu(lru_pvecs.lru_add, cpu)) || in lru_add_drain_all()
838 data_race(pagevec_count(&per_cpu(lru_rotate.pvec, cpu))) || in lru_add_drain_all()
839 pagevec_count(&per_cpu(lru_pvecs.lru_deactivate_file, cpu)) || in lru_add_drain_all()
840 pagevec_count(&per_cpu(lru_pvecs.lru_deactivate, cpu)) || in lru_add_drain_all()
841 pagevec_count(&per_cpu(lru_pvecs.lru_lazyfree, cpu)) || in lru_add_drain_all()
972 release_pages(pvec->pages, pagevec_count(pvec)); in __pagevec_release()
1104 return pagevec_count(pvec); in pagevec_lookup_entries()
1120 for (i = 0, j = 0; i < pagevec_count(pvec); i++) { in pagevec_remove_exceptionals()
1153 return pagevec_count(pvec); in pagevec_lookup_range()
1163 return pagevec_count(pvec); in pagevec_lookup_range_tag()
1173 return pagevec_count(pvec); in pagevec_lookup_range_nr_tag()