Home
last modified time | relevance | path

Searched refs:PAGEVEC_SIZE (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/include/linux/
Dpagevec.h15 #define PAGEVEC_SIZE 15 macro
23 struct page *pages[PAGEVEC_SIZE];
73 return PAGEVEC_SIZE - pvec->nr; in pagevec_space()
/Linux-v5.4/mm/
Dtruncate.c299 pgoff_t indices[PAGEVEC_SIZE]; in truncate_inode_pages_range()
330 min(end - index, (pgoff_t)PAGEVEC_SIZE), in truncate_inode_pages_range()
417 min(end - index, (pgoff_t)PAGEVEC_SIZE), indices)) { in truncate_inode_pages_range()
549 pgoff_t indices[PAGEVEC_SIZE]; in invalidate_mapping_pages()
558 min(end - index, (pgoff_t)PAGEVEC_SIZE - 1) + 1, in invalidate_mapping_pages()
687 pgoff_t indices[PAGEVEC_SIZE]; in invalidate_inode_pages2_range()
701 min(end - index, (pgoff_t)PAGEVEC_SIZE - 1) + 1, in invalidate_inode_pages2_range()
Dswap.c1044 pvec->nr = find_get_pages_range(mapping, start, end, PAGEVEC_SIZE, in pagevec_lookup_range()
1055 PAGEVEC_SIZE, pvec->pages); in pagevec_lookup_range_tag()
1065 min_t(unsigned int, max_pages, PAGEVEC_SIZE), pvec->pages); in pagevec_lookup_range_nr_tag()
Dshmem.c767 pgoff_t indices[PAGEVEC_SIZE]; in shmem_unlock_mapping()
780 PAGEVEC_SIZE, pvec.pages, indices); in shmem_unlock_mapping()
805 pgoff_t indices[PAGEVEC_SIZE]; in shmem_undo_range()
817 min(end - index, (pgoff_t)PAGEVEC_SIZE), in shmem_undo_range()
908 min(end - index, (pgoff_t)PAGEVEC_SIZE), in shmem_undo_range()
1206 pgoff_t indices[PAGEVEC_SIZE]; in shmem_unuse_inode()
1212 unsigned int nr_entries = PAGEVEC_SIZE; in shmem_unuse_inode()
1214 if (frontswap_partial && *fs_pages_to_unuse < PAGEVEC_SIZE) in shmem_unuse_inode()
2639 pgoff_t indices[PAGEVEC_SIZE]; in shmem_seek_hole_data()
2675 pvec.nr = PAGEVEC_SIZE; in shmem_seek_hole_data()
/Linux-v5.4/fs/afs/
Dwrite.c248 if (count > PAGEVEC_SIZE) in afs_kill_pages()
249 count = PAGEVEC_SIZE; in afs_kill_pages()
291 if (count > PAGEVEC_SIZE) in afs_redirty_pages()
292 count = PAGEVEC_SIZE; in afs_redirty_pages()
330 if (count > PAGEVEC_SIZE) in afs_pages_written_back()
331 count = PAGEVEC_SIZE; in afs_pages_written_back()
/Linux-v5.4/fs/erofs/
Dutils.c195 void *batch[PAGEVEC_SIZE]; in erofs_shrink_workstation()
203 batch, first_index, PAGEVEC_SIZE); in erofs_shrink_workstation()
/Linux-v5.4/fs/nilfs2/
Dpage.c512 pvec.nr = find_get_pages_contig(inode->i_mapping, index, PAGEVEC_SIZE, in nilfs_find_uncommitted_extent()
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_gem_gtt.c447 if (pvec->nr <= (immediate ? 0 : PAGEVEC_SIZE - 1)) in vm_free_pages_release()
481 GEM_BUG_ON(pagevec_count(&vm->free_pages.pvec) >= PAGEVEC_SIZE); in vm_free_page()