Home
last modified time | relevance | path

Searched refs:pagevec_count (Results 1 – 12 of 12) sorted by relevance

/linux-5.19.10/mm/
Dswap.c198 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 …]
Dmlock.c193 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()
/linux-5.19.10/include/linux/
Dpagevec.h60 static inline unsigned pagevec_count(struct pagevec *pvec) in pagevec_count() function
81 if (pagevec_count(pvec)) in pagevec_release()
/linux-5.19.10/fs/nilfs2/
Dpage.c253 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()
Dsegment.c704 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()
Dbtree.c2160 for (i = 0; i < pagevec_count(&pvec); i++) { in nilfs_btree_lookup_dirty_buffers()
/linux-5.19.10/drivers/gpu/drm/
Ddrm_gem.c578 if (pagevec_count(&pvec)) in drm_gem_get_pages()
626 if (pagevec_count(&pvec)) in drm_gem_put_pages()
/linux-5.19.10/fs/afs/
Dwrite.c519 if (!pagevec_count(&pvec)) in afs_extend_writeback()
522 for (i = 0; i < pagevec_count(&pvec); i++) { in afs_extend_writeback()
/linux-5.19.10/drivers/gpu/drm/i915/gem/
Di915_gem_shmem.c52 if (pagevec_count(&pvec)) in shmem_sg_free_table()
/linux-5.19.10/fs/hugetlbfs/
Dinode.c115 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()
/linux-5.19.10/drivers/gpu/drm/i915/
Di915_gpu_error.c226 if (!p && pagevec_count(pv)) in pool_alloc()
/linux-5.19.10/fs/
Dbuffer.c1617 count = pagevec_count(&pvec); in clean_bdev_aliases()