Home
last modified time | relevance | path

Searched refs:pagevec (Results 1 – 25 of 44) sorted by relevance

12

/Linux-v5.4/include/linux/
Dpagevec.h20 struct pagevec { struct
26 void __pagevec_release(struct pagevec *pvec); argument
27 void __pagevec_lru_add(struct pagevec *pvec);
28 unsigned pagevec_lookup_entries(struct pagevec *pvec,
32 void pagevec_remove_exceptionals(struct pagevec *pvec);
33 unsigned pagevec_lookup_range(struct pagevec *pvec,
36 static inline unsigned pagevec_lookup(struct pagevec *pvec, in pagevec_lookup()
43 unsigned pagevec_lookup_range_tag(struct pagevec *pvec,
46 unsigned pagevec_lookup_range_nr_tag(struct pagevec *pvec,
49 static inline unsigned pagevec_lookup_tag(struct pagevec *pvec, in pagevec_lookup_tag()
[all …]
Dfscache-cache.h545 struct pagevec *pagevec);
Dpagemap.h19 struct pagevec;
615 struct pagevec *pvec);
Dswap.h21 struct pagevec;
378 extern void check_move_unevictable_pages(struct pagevec *pvec);
Dfscache.h45 struct pagevec;
/Linux-v5.4/mm/
Dswap.c47 static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
48 static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
49 static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
50 static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
51 static DEFINE_PER_CPU(struct pagevec, lru_lazyfree_pvecs);
53 static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
190 static void pagevec_lru_move_fn(struct pagevec *pvec, in pagevec_lru_move_fn()
236 static void pagevec_move_tail(struct pagevec *pvec) in pagevec_move_tail()
253 struct pagevec *pvec; in rotate_reclaimable_page()
296 struct pagevec *pvec = &per_cpu(activate_page_pvecs, cpu); in activate_page_drain()
[all …]
Dmlock.c246 static bool __putback_lru_fast_prepare(struct page *page, struct pagevec *pvec, in __putback_lru_fast_prepare()
269 static void __putback_lru_fast(struct pagevec *pvec, int pgrescued) in __putback_lru_fast()
290 static void __munlock_pagevec(struct pagevec *pvec, struct zone *zone) in __munlock_pagevec()
295 struct pagevec pvec_putback; in __munlock_pagevec()
374 static unsigned long __munlock_pagevec_fill(struct pagevec *pvec, in __munlock_pagevec_fill()
454 struct pagevec pvec; in munlock_vma_pages_range()
Dtruncate.c60 struct pagevec *pvec, pgoff_t *indices, in truncate_exceptional_pvec_entries()
298 struct pagevec pvec; in truncate_inode_pages_range()
337 struct pagevec locked_pvec; in truncate_inode_pages_range()
550 struct pagevec pvec; in invalidate_mapping_pages()
688 struct pagevec pvec; in invalidate_inode_pages2_range()
/Linux-v5.4/fs/cachefiles/
Drdwr.c690 struct pagevec pagevec; in cachefiles_read_or_alloc_pages() local
720 pagevec_init(&pagevec); in cachefiles_read_or_alloc_pages()
754 } else if (space && pagevec_add(&pagevec, page) == 0) { in cachefiles_read_or_alloc_pages()
755 fscache_mark_pages_cached(op, &pagevec); in cachefiles_read_or_alloc_pages()
763 if (pagevec_count(&pagevec) > 0) in cachefiles_read_or_alloc_pages()
764 fscache_mark_pages_cached(op, &pagevec); in cachefiles_read_or_alloc_pages()
841 struct pagevec pagevec; in cachefiles_allocate_pages() local
854 pagevec_init(&pagevec); in cachefiles_allocate_pages()
857 if (pagevec_add(&pagevec, page) == 0) in cachefiles_allocate_pages()
858 fscache_mark_pages_cached(op, &pagevec); in cachefiles_allocate_pages()
[all …]
/Linux-v5.4/fs/nfs/
Ddirect.c464 struct page **pagevec; in nfs_direct_read_schedule_iovec() local
469 result = iov_iter_get_pages_alloc(iter, &pagevec, in nfs_direct_read_schedule_iovec()
481 req = nfs_create_request(dreq->ctx, pagevec[i], in nfs_direct_read_schedule_iovec()
500 nfs_direct_release_pages(pagevec, npages); in nfs_direct_read_schedule_iovec()
501 kvfree(pagevec); in nfs_direct_read_schedule_iovec()
869 struct page **pagevec; in nfs_direct_write_schedule_iovec() local
874 result = iov_iter_get_pages_alloc(iter, &pagevec, in nfs_direct_write_schedule_iovec()
886 req = nfs_create_request(dreq->ctx, pagevec[i], in nfs_direct_write_schedule_iovec()
913 nfs_direct_release_pages(pagevec, npages); in nfs_direct_write_schedule_iovec()
914 kvfree(pagevec); in nfs_direct_write_schedule_iovec()
Dpagelist.c540 if (hdr->page_array.pagevec != hdr->page_array.page_array) in nfs_pgio_data_destroy()
541 kfree(hdr->page_array.pagevec); in nfs_pgio_data_destroy()
576 hdr->args.pages = hdr->page_array.pagevec; in nfs_pgio_rpcsetup()
776 pg_array->pagevec = pg_array->page_array; in nfs_generic_pgio()
778 pg_array->pagevec = kcalloc(pagecount, sizeof(struct page *), gfp_flags); in nfs_generic_pgio()
779 if (!pg_array->pagevec) { in nfs_generic_pgio()
788 pages = hdr->page_array.pagevec; in nfs_generic_pgio()
/Linux-v5.4/fs/nilfs2/
Dpage.c244 struct pagevec pvec; in nilfs_copy_dirty_pages()
298 struct pagevec pvec; in nilfs_copy_back_pages()
361 struct pagevec pvec; in nilfs_clear_dirty_pages()
500 struct pagevec pvec; in nilfs_find_uncommitted_extent()
/Linux-v5.4/net/ceph/
DMakefile17 pagevec.o snapshot.o string_table.o
/Linux-v5.4/drivers/gpu/drm/i915/gem/
Di915_gem_shmem.c19 static void check_release_pagevec(struct pagevec *pvec) in check_release_pagevec()
39 struct pagevec pvec; in shmem_get_pages()
297 struct pagevec pvec; in shmem_put_pages()
/Linux-v5.4/fs/fscache/
Dpage.c1200 struct pagevec *pagevec) in fscache_mark_pages_cached() argument
1204 for (loop = 0; loop < pagevec->nr; loop++) in fscache_mark_pages_cached()
1205 fscache_mark_page_cached(op, pagevec->pages[loop]); in fscache_mark_pages_cached()
1207 pagevec_reinit(pagevec); in fscache_mark_pages_cached()
1219 struct pagevec pvec; in __fscache_uncache_all_inode_pages()
/Linux-v5.4/fs/erofs/
Dzdata.h39 erofs_vtptr_t pagevec[Z_EROFS_NR_INLINE_PAGEVECS]; member
Dzdata.c486 cl->pagevec, cl->vcnt); in z_erofs_collector_begin()
804 cl->pagevec, 0); in z_erofs_decompress_pcluster()
/Linux-v5.4/fs/iomap/
Dseek.c80 struct pagevec pvec; in page_cache_seek_hole_data()
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_gpu_error.c178 static void pool_fini(struct pagevec *pv) in pool_fini()
183 static int pool_refill(struct pagevec *pv, gfp_t gfp) in pool_refill()
198 static int pool_init(struct pagevec *pv, gfp_t gfp) in pool_init()
211 static void *pool_alloc(struct pagevec *pv, gfp_t gfp) in pool_alloc()
222 static void pool_free(struct pagevec *pv, void *addr) in pool_free()
235 struct pagevec pool;
369 struct pagevec pool;
Di915_gem_gtt.h285 struct pagevec pvec;
/Linux-v5.4/fs/afs/
Dwrite.c236 struct pagevec pv; in afs_kill_pages()
279 struct pagevec pv; in afs_redirty_pages()
317 struct pagevec pv; in afs_pages_written_back()
/Linux-v5.4/drivers/gpu/drm/
Ddrm_gem.c525 static void drm_gem_check_release_pagevec(struct pagevec *pvec) in drm_gem_check_release_pagevec()
557 struct pagevec pvec; in drm_gem_get_pages()
621 struct pagevec pvec; in drm_gem_put_pages()
/Linux-v5.4/fs/gfs2/
Daops.c240 struct pagevec *pvec, in gfs2_write_jdata_pagevec()
338 struct pagevec pvec; in gfs2_write_cache_jdata()
/Linux-v5.4/fs/hugetlbfs/
Dinode.c115 static void huge_pagevec_release(struct pagevec *pvec) in huge_pagevec_release()
422 struct pagevec pvec; in remove_inode_hugepages()
/Linux-v5.4/Documentation/filesystems/caching/
Dbackend-api.txt427 explicit uncaching. This operation takes a pagevec, thus allowing several
587 struct pagevec *pagevec);

12