Home
last modified time | relevance | path

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

12

/Linux-v4.19/include/linux/
Dpagevec.h18 struct pagevec { struct
24 void __pagevec_release(struct pagevec *pvec); argument
25 void __pagevec_lru_add(struct pagevec *pvec);
26 unsigned pagevec_lookup_entries(struct pagevec *pvec,
30 void pagevec_remove_exceptionals(struct pagevec *pvec);
31 unsigned pagevec_lookup_range(struct pagevec *pvec,
34 static inline unsigned pagevec_lookup(struct pagevec *pvec, in pagevec_lookup()
41 unsigned pagevec_lookup_range_tag(struct pagevec *pvec,
44 unsigned pagevec_lookup_range_nr_tag(struct pagevec *pvec,
47 static inline unsigned pagevec_lookup_tag(struct pagevec *pvec, in pagevec_lookup_tag()
[all …]
Dfscache-cache.h550 struct pagevec *pagevec);
Dpagemap.h19 struct pagevec;
624 struct pagevec *pvec);
Dfscache.h49 struct pagevec;
/Linux-v4.19/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_lazyfree_pvecs);
52 static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
189 static void pagevec_lru_move_fn(struct pagevec *pvec, in pagevec_lru_move_fn()
235 static void pagevec_move_tail(struct pagevec *pvec) in pagevec_move_tail()
252 struct pagevec *pvec; in rotate_reclaimable_page()
295 struct pagevec *pvec = &per_cpu(activate_page_pvecs, cpu); in activate_page_drain()
310 struct pagevec *pvec = &get_cpu_var(activate_page_pvecs); in activate_page()
[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.c62 struct pagevec *pvec, pgoff_t *indices, in truncate_exceptional_pvec_entries()
300 struct pagevec pvec; in truncate_inode_pages_range()
339 struct pagevec locked_pvec; in truncate_inode_pages_range()
546 struct pagevec pvec; in invalidate_mapping_pages()
672 struct pagevec pvec; in invalidate_inode_pages2_range()
Dfilemap.c324 struct pagevec *pvec) in page_cache_tree_delete_batch()
370 struct pagevec *pvec) in delete_from_page_cache_batch()
516 struct pagevec pvec; in __filemap_fdatawait_range()
/Linux-v4.19/fs/cachefiles/
Drdwr.c688 struct pagevec pagevec; in cachefiles_read_or_alloc_pages() local
718 pagevec_init(&pagevec); in cachefiles_read_or_alloc_pages()
752 } else if (space && pagevec_add(&pagevec, page) == 0) { in cachefiles_read_or_alloc_pages()
753 fscache_mark_pages_cached(op, &pagevec); in cachefiles_read_or_alloc_pages()
761 if (pagevec_count(&pagevec) > 0) in cachefiles_read_or_alloc_pages()
762 fscache_mark_pages_cached(op, &pagevec); in cachefiles_read_or_alloc_pages()
839 struct pagevec pagevec; in cachefiles_allocate_pages() local
852 pagevec_init(&pagevec); in cachefiles_allocate_pages()
855 if (pagevec_add(&pagevec, page) == 0) in cachefiles_allocate_pages()
856 fscache_mark_pages_cached(op, &pagevec); in cachefiles_allocate_pages()
[all …]
/Linux-v4.19/fs/nfs/
Ddirect.c474 struct page **pagevec; in nfs_direct_read_schedule_iovec() local
479 result = iov_iter_get_pages_alloc(iter, &pagevec, in nfs_direct_read_schedule_iovec()
491 req = nfs_create_request(dreq->ctx, pagevec[i], NULL, in nfs_direct_read_schedule_iovec()
510 nfs_direct_release_pages(pagevec, npages); in nfs_direct_read_schedule_iovec()
511 kvfree(pagevec); in nfs_direct_read_schedule_iovec()
879 struct page **pagevec; in nfs_direct_write_schedule_iovec() local
884 result = iov_iter_get_pages_alloc(iter, &pagevec, in nfs_direct_write_schedule_iovec()
896 req = nfs_create_request(dreq->ctx, pagevec[i], NULL, in nfs_direct_write_schedule_iovec()
924 nfs_direct_release_pages(pagevec, npages); in nfs_direct_write_schedule_iovec()
925 kvfree(pagevec); in nfs_direct_write_schedule_iovec()
Dpagelist.c516 if (hdr->page_array.pagevec != hdr->page_array.page_array) in nfs_pgio_data_destroy()
517 kfree(hdr->page_array.pagevec); in nfs_pgio_data_destroy()
553 hdr->args.pages = hdr->page_array.pagevec; in nfs_pgio_rpcsetup()
753 pg_array->pagevec = pg_array->page_array; in nfs_generic_pgio()
757 pg_array->pagevec = kcalloc(pagecount, sizeof(struct page *), gfp_flags); in nfs_generic_pgio()
758 if (!pg_array->pagevec) { in nfs_generic_pgio()
767 pages = hdr->page_array.pagevec; in nfs_generic_pgio()
/Linux-v4.19/net/ceph/
DMakefile17 pagevec.o snapshot.o string_table.o
/Linux-v4.19/fs/nilfs2/
Dpage.c244 struct pagevec pvec; in nilfs_copy_dirty_pages()
298 struct pagevec pvec; in nilfs_copy_back_pages()
363 struct pagevec pvec; in nilfs_clear_dirty_pages()
503 struct pagevec pvec; in nilfs_find_uncommitted_extent()
/Linux-v4.19/fs/fscache/
Dpage.c1204 struct pagevec *pagevec) in fscache_mark_pages_cached() argument
1208 for (loop = 0; loop < pagevec->nr; loop++) in fscache_mark_pages_cached()
1209 fscache_mark_page_cached(op, pagevec->pages[loop]); in fscache_mark_pages_cached()
1211 pagevec_reinit(pagevec); in fscache_mark_pages_cached()
1223 struct pagevec pvec; in __fscache_uncache_all_inode_pages()
/Linux-v4.19/drivers/staging/erofs/
Dunzip_vle.h68 erofs_vtptr_t pagevec[Z_EROFS_VLE_INLINE_PAGEVECS]; member
Dunzip_vle.c474 Z_EROFS_VLE_INLINE_PAGEVECS, work->pagevec, work->vcnt); in z_erofs_vle_work_iter_begin()
844 Z_EROFS_VLE_INLINE_PAGEVECS, work->pagevec, 0); in z_erofs_vle_unzip()
/Linux-v4.19/fs/afs/
Dwrite.c230 struct pagevec pv; in afs_kill_pages()
272 struct pagevec pv; in afs_redirty_pages()
673 struct pagevec pv; in afs_pages_written_back()
Dinternal.h35 struct pagevec;
/Linux-v4.19/fs/gfs2/
Daops.c263 struct pagevec *pvec, in gfs2_write_jdata_pagevec()
361 struct pagevec pvec; in gfs2_write_cache_jdata()
/Linux-v4.19/drivers/gpu/drm/i915/
Di915_gem_gtt.h275 struct pagevec pvec;
Di915_gem_gtt.c399 static void stash_push_pagevec(struct pagestash *stash, struct pagevec *pvec) in stash_push_pagevec()
418 struct pagevec stack; in vm_alloc_page()
478 struct pagevec *pvec = &vm->free_pages.pvec; in vm_free_pages_release()
479 struct pagevec stack; in vm_free_pages_release()
2984 struct pagevec *pvec; in i915_ggtt_cleanup_hw()
/Linux-v4.19/fs/hugetlbfs/
Dinode.c101 static void huge_pagevec_release(struct pagevec *pvec) in huge_pagevec_release()
408 struct pagevec pvec; in remove_inode_hugepages()
/Linux-v4.19/fs/
Ddax.c635 struct pagevec pvec; in dax_layout_busy_page()
1032 struct pagevec pvec; in dax_writeback_mapping_range()
/Linux-v4.19/Documentation/filesystems/caching/
Dbackend-api.txt427 explicit uncaching. This operation takes a pagevec, thus allowing several
587 struct pagevec *pagevec);
/Linux-v4.19/fs/ceph/
Daddr.c688 struct pagevec pvec; in ceph_release_pages()
798 struct pagevec pvec; in ceph_writepages_start()

12