Lines Matching refs:pagevec_count
198 for (i = 0; i < pagevec_count(pvec); i++) { in pagevec_lru_move_fn()
336 if (pagevec_count(pvec)) in activate_page_drain()
342 return pagevec_count(&per_cpu(lru_pvecs.activate_page, cpu)) != 0; in need_activate_page_drain()
396 for (i = pagevec_count(pvec) - 1; i >= 0; i--) { in __lru_cache_activate_folio()
600 if (pagevec_count(pvec)) in lru_add_drain_cpu()
605 if (data_race(pagevec_count(pvec))) { in lru_add_drain_cpu()
615 if (pagevec_count(pvec)) in lru_add_drain_cpu()
619 if (pagevec_count(pvec)) in lru_add_drain_cpu()
623 if (pagevec_count(pvec)) in lru_add_drain_cpu()
826 if (pagevec_count(&per_cpu(lru_pvecs.lru_add, cpu)) || in __lru_add_drain_all()
827 data_race(pagevec_count(&per_cpu(lru_rotate.pvec, cpu))) || in __lru_add_drain_all()
828 pagevec_count(&per_cpu(lru_pvecs.lru_deactivate_file, cpu)) || in __lru_add_drain_all()
829 pagevec_count(&per_cpu(lru_pvecs.lru_deactivate, cpu)) || in __lru_add_drain_all()
830 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()
1056 for (i = 0; i < pagevec_count(pvec); i++) { in __pagevec_lru_add()
1114 return pagevec_count(pvec); in pagevec_lookup_range()
1124 return pagevec_count(pvec); in pagevec_lookup_range_tag()