Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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);
Dswap.h21 struct pagevec;
390 extern void check_move_unevictable_pages(struct pagevec *pvec);
Dpagemap.h19 struct pagevec;
762 struct pagevec *pvec);
Dfscache.h45 struct pagevec;
/kernel/linux/linux-5.10/mm/
Dswap.c51 struct pagevec pvec;
63 struct pagevec lru_add;
64 struct pagevec lru_deactivate_file;
65 struct pagevec lru_deactivate;
66 struct pagevec lru_lazyfree;
68 struct pagevec activate_page;
206 static void pagevec_lru_move_fn(struct pagevec *pvec, in pagevec_lru_move_fn()
252 static void pagevec_move_tail(struct pagevec *pvec) in pagevec_move_tail()
269 struct pagevec *pvec; in rotate_reclaimable_page()
346 struct pagevec *pvec = &per_cpu(lru_pvecs.activate_page, cpu); in activate_page_drain()
[all …]
Dmlock.c251 static bool __putback_lru_fast_prepare(struct page *page, struct pagevec *pvec, in __putback_lru_fast_prepare()
274 static void __putback_lru_fast(struct pagevec *pvec, int pgrescued) in __putback_lru_fast()
295 static void __munlock_pagevec(struct pagevec *pvec, struct zone *zone) in __munlock_pagevec()
300 struct pagevec pvec_putback; in __munlock_pagevec()
379 static unsigned long __munlock_pagevec_fill(struct pagevec *pvec, in __munlock_pagevec_fill()
459 struct pagevec pvec; in munlock_vma_pages_range()
Dtruncate.c60 struct pagevec *pvec, pgoff_t *indices, in truncate_exceptional_pvec_entries()
295 struct pagevec pvec; in truncate_inode_pages_range()
334 struct pagevec locked_pvec; in truncate_inode_pages_range()
532 struct pagevec pvec; in __invalidate_mapping_pages()
707 struct pagevec pvec; in invalidate_inode_pages2_range()
/kernel/linux/linux-5.10/fs/cachefiles/
Drdwr.c690 struct pagevec pagevec; in cachefiles_read_or_alloc_pages() local
718 pagevec_init(&pagevec); in cachefiles_read_or_alloc_pages()
753 } else if (space && pagevec_add(&pagevec, page) == 0) { in cachefiles_read_or_alloc_pages()
754 fscache_mark_pages_cached(op, &pagevec); in cachefiles_read_or_alloc_pages()
762 if (pagevec_count(&pagevec) > 0) in cachefiles_read_or_alloc_pages()
763 fscache_mark_pages_cached(op, &pagevec); in cachefiles_read_or_alloc_pages()
840 struct pagevec pagevec; in cachefiles_allocate_pages() local
853 pagevec_init(&pagevec); in cachefiles_allocate_pages()
856 if (pagevec_add(&pagevec, page) == 0) in cachefiles_allocate_pages()
857 fscache_mark_pages_cached(op, &pagevec); in cachefiles_allocate_pages()
[all …]
/kernel/linux/linux-5.10/fs/nfs/
Ddirect.c364 struct page **pagevec; in nfs_direct_read_schedule_iovec() local
369 result = iov_iter_get_pages_alloc(iter, &pagevec, in nfs_direct_read_schedule_iovec()
381 req = nfs_create_request(dreq->ctx, pagevec[i], in nfs_direct_read_schedule_iovec()
400 nfs_direct_release_pages(pagevec, npages); in nfs_direct_read_schedule_iovec()
401 kvfree(pagevec); in nfs_direct_read_schedule_iovec()
808 struct page **pagevec; in nfs_direct_write_schedule_iovec() local
813 result = iov_iter_get_pages_alloc(iter, &pagevec, in nfs_direct_write_schedule_iovec()
825 req = nfs_create_request(dreq->ctx, pagevec[i], in nfs_direct_write_schedule_iovec()
852 nfs_direct_release_pages(pagevec, npages); in nfs_direct_write_schedule_iovec()
853 kvfree(pagevec); in nfs_direct_write_schedule_iovec()
Dpagelist.c683 if (hdr->page_array.pagevec != hdr->page_array.page_array) in nfs_pgio_data_destroy()
684 kfree(hdr->page_array.pagevec); in nfs_pgio_data_destroy()
719 hdr->args.pages = hdr->page_array.pagevec; in nfs_pgio_rpcsetup()
910 pg_array->pagevec = pg_array->page_array; in nfs_generic_pgio()
912 pg_array->pagevec = kcalloc(pagecount, sizeof(struct page *), gfp_flags); in nfs_generic_pgio()
913 if (!pg_array->pagevec) { in nfs_generic_pgio()
922 pages = hdr->page_array.pagevec; in nfs_generic_pgio()
/kernel/linux/linux-5.10/fs/nilfs2/
Dpage.c243 struct pagevec pvec; in nilfs_copy_dirty_pages()
297 struct pagevec pvec; in nilfs_copy_back_pages()
360 struct pagevec pvec; in nilfs_clear_dirty_pages()
498 struct pagevec pvec; in nilfs_find_uncommitted_extent()
/kernel/linux/linux-5.10/net/ceph/
DMakefile17 pagevec.o snapshot.o string_table.o
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_shmem.c21 static void check_release_pagevec(struct pagevec *pvec) in check_release_pagevec()
194 struct pagevec pvec; in shmem_get_pages()
303 struct pagevec pvec; in shmem_put_pages()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/erofs/
Dzdata.h39 erofs_vtptr_t pagevec[Z_EROFS_NR_INLINE_PAGEVECS]; member
Dzdata.c488 clt->cl->pagevec, clt->cl->vcnt); in z_erofs_collector_begin()
788 cl->pagevec, 0); in z_erofs_decompress_pcluster()
/kernel/linux/linux-5.10/fs/iomap/
Dseek.c80 struct pagevec pvec; in page_cache_seek_hole_data()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_gpu_error.c181 static void pool_fini(struct pagevec *pv) in pool_fini()
186 static int pool_refill(struct pagevec *pv, gfp_t gfp) in pool_refill()
201 static int pool_init(struct pagevec *pv, gfp_t gfp) in pool_init()
214 static void *pool_alloc(struct pagevec *pv, gfp_t gfp) in pool_alloc()
225 static void pool_free(struct pagevec *pv, void *addr) in pool_free()
238 struct pagevec pool;
375 struct pagevec pool;
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_gem.c524 static void drm_gem_check_release_pagevec(struct pagevec *pvec) in drm_gem_check_release_pagevec()
560 struct pagevec pvec; in drm_gem_get_pages()
628 struct pagevec pvec; in drm_gem_put_pages()
/kernel/linux/linux-5.10/fs/afs/
Dwrite.c242 struct pagevec pv; in afs_kill_pages()
285 struct pagevec pv; in afs_redirty_pages()
323 struct pagevec pv; in afs_pages_written_back()
/kernel/linux/linux-5.10/fs/gfs2/
Daops.c235 struct pagevec *pvec, in gfs2_write_jdata_pagevec()
333 struct pagevec pvec; in gfs2_write_cache_jdata()
/kernel/linux/linux-5.10/fs/hmdfs/
Dclient_writeback.c97 struct pagevec pvec; in hmdfs_idirty_pages()
/kernel/linux/linux-5.10/fs/hugetlbfs/
Dinode.c111 static void huge_pagevec_release(struct pagevec *pvec) in huge_pagevec_release()
472 struct pagevec pvec; in remove_inode_hugepages()
/kernel/linux/linux-5.10/Documentation/filesystems/caching/
Dbackend-api.rst425 explicit uncaching. This operation takes a pagevec, thus allowing several
584 struct pagevec *pagevec);

12