Searched refs:pagevec_count (Results 1 – 12 of 12) sorted by relevance
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()[all …]
193 for (i = 0; i < pagevec_count(pvec); i++) { in mlock_pagevec()219 if (pagevec_count(pvec)) in mlock_page_drain_local()230 if (pagevec_count(pvec)) in mlock_page_drain_remote()236 return pagevec_count(&per_cpu(mlock_pvec.vec, cpu)); in need_mlock_page_drain()
60 static inline unsigned pagevec_count(struct pagevec *pvec) in pagevec_count() function81 if (pagevec_count(pvec)) in pagevec_release()
253 for (i = 0; i < pagevec_count(&pvec); i++) { in nilfs_copy_dirty_pages()307 for (i = 0; i < pagevec_count(&pvec); i++) { in nilfs_copy_back_pages()368 for (i = 0; i < pagevec_count(&pvec); i++) { in nilfs_clear_dirty_pages()537 } while (++i < pagevec_count(&pvec)); in nilfs_find_uncommitted_extent()
704 for (i = 0; i < pagevec_count(&pvec); i++) { in nilfs_lookup_dirty_data_buffers()749 for (i = 0; i < pagevec_count(&pvec); i++) { in nilfs_lookup_dirty_node_buffers()
2160 for (i = 0; i < pagevec_count(&pvec); i++) { in nilfs_btree_lookup_dirty_buffers()
578 if (pagevec_count(&pvec)) in drm_gem_get_pages()626 if (pagevec_count(&pvec)) in drm_gem_put_pages()
519 if (!pagevec_count(&pvec)) in afs_extend_writeback()522 for (i = 0; i < pagevec_count(&pvec); i++) { in afs_extend_writeback()
52 if (pagevec_count(&pvec)) in shmem_sg_free_table()
115 for (i = 0; i < pagevec_count(pvec); ++i) in huge_pagevec_release()497 for (i = 0; i < pagevec_count(&pvec); ++i) { in remove_inode_hugepages()
226 if (!p && pagevec_count(pv)) in pool_alloc()
1617 count = pagevec_count(&pvec); in clean_bdev_aliases()