Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dpagevec.h17 struct pagevec { struct
23 void __pagevec_release(struct pagevec *pvec); argument
24 void __pagevec_lru_add(struct pagevec *pvec);
25 unsigned pagevec_lookup_entries(struct pagevec *pvec,
29 void pagevec_remove_exceptionals(struct pagevec *pvec);
30 unsigned pagevec_lookup(struct pagevec *pvec, struct address_space *mapping,
32 unsigned pagevec_lookup_tag(struct pagevec *pvec,
36 static inline void pagevec_init(struct pagevec *pvec, int cold) in pagevec_init()
42 static inline void pagevec_reinit(struct pagevec *pvec) in pagevec_reinit()
47 static inline unsigned pagevec_count(struct pagevec *pvec) in pagevec_count()
[all …]
Dfscache-cache.h534 struct pagevec *pagevec);
Dfscache.h48 struct pagevec;
Dnfs_xdr.h1368 struct page **pagevec; member
/linux-4.4.14/mm/
Dswap.c45 static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
46 static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
47 static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
418 static void pagevec_lru_move_fn(struct pagevec *pvec, in pagevec_lru_move_fn()
463 static void pagevec_move_tail(struct pagevec *pvec) in pagevec_move_tail()
480 struct pagevec *pvec; in rotate_reclaimable_page()
521 static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
525 struct pagevec *pvec = &per_cpu(activate_page_pvecs, cpu); in activate_page_drain()
539 struct pagevec *pvec = &get_cpu_var(activate_page_pvecs); in activate_page()
570 struct pagevec *pvec = &get_cpu_var(lru_add_pvec); in __lru_cache_activate_page()
[all …]
Dmlock.c232 static bool __putback_lru_fast_prepare(struct page *page, struct pagevec *pvec, in __putback_lru_fast_prepare()
255 static void __putback_lru_fast(struct pagevec *pvec, int pgrescued) in __putback_lru_fast()
276 static void __munlock_pagevec(struct pagevec *pvec, struct zone *zone) in __munlock_pagevec()
281 struct pagevec pvec_putback; in __munlock_pagevec()
359 static unsigned long __munlock_pagevec_fill(struct pagevec *pvec, in __munlock_pagevec_fill()
431 struct pagevec pvec; in munlock_vma_pages_range()
Dtruncate.c225 struct pagevec pvec; in truncate_inode_pages_range()
458 struct pagevec pvec; in invalidate_mapping_pages()
567 struct pagevec pvec; in invalidate_inode_pages2_range()
Dshmem.c367 struct pagevec pvec; in shmem_unlock_mapping()
405 struct pagevec pvec; in shmem_undo_range()
1763 struct pagevec pvec; in shmem_seek_hole_data()
Dpage-writeback.c2150 struct pagevec pvec; in write_cache_pages()
Dfilemap.c339 struct pagevec pvec; in __filemap_fdatawait_range()
/linux-4.4.14/fs/cachefiles/
Drdwr.c683 struct pagevec pagevec; in cachefiles_read_or_alloc_pages() local
713 pagevec_init(&pagevec, 0); in cachefiles_read_or_alloc_pages()
747 } else if (space && pagevec_add(&pagevec, page) == 0) { in cachefiles_read_or_alloc_pages()
748 fscache_mark_pages_cached(op, &pagevec); in cachefiles_read_or_alloc_pages()
756 if (pagevec_count(&pagevec) > 0) in cachefiles_read_or_alloc_pages()
757 fscache_mark_pages_cached(op, &pagevec); in cachefiles_read_or_alloc_pages()
834 struct pagevec pagevec; in cachefiles_allocate_pages() local
847 pagevec_init(&pagevec, 0); in cachefiles_allocate_pages()
850 if (pagevec_add(&pagevec, page) == 0) in cachefiles_allocate_pages()
851 fscache_mark_pages_cached(op, &pagevec); in cachefiles_allocate_pages()
[all …]
/linux-4.4.14/fs/nfs/
Ddirect.c491 struct page **pagevec; in nfs_direct_read_schedule_iovec() local
496 result = iov_iter_get_pages_alloc(iter, &pagevec, in nfs_direct_read_schedule_iovec()
508 req = nfs_create_request(dreq->ctx, pagevec[i], NULL, in nfs_direct_read_schedule_iovec()
527 nfs_direct_release_pages(pagevec, npages); in nfs_direct_read_schedule_iovec()
528 kvfree(pagevec); in nfs_direct_read_schedule_iovec()
878 struct page **pagevec; in nfs_direct_write_schedule_iovec() local
883 result = iov_iter_get_pages_alloc(iter, &pagevec, in nfs_direct_write_schedule_iovec()
895 req = nfs_create_request(dreq->ctx, pagevec[i], NULL, in nfs_direct_write_schedule_iovec()
918 nfs_direct_release_pages(pagevec, npages); in nfs_direct_write_schedule_iovec()
919 kvfree(pagevec); in nfs_direct_write_schedule_iovec()
Dpagelist.c36 p->pagevec = p->page_array; in nfs_pgarray_set()
38 p->pagevec = kcalloc(pagecount, sizeof(struct page *), GFP_KERNEL); in nfs_pgarray_set()
39 if (!p->pagevec) in nfs_pgarray_set()
42 return p->pagevec != NULL; in nfs_pgarray_set()
553 if (hdr->page_array.pagevec != hdr->page_array.page_array) in nfs_pgio_data_destroy()
554 kfree(hdr->page_array.pagevec); in nfs_pgio_data_destroy()
580 hdr->args.pages = hdr->page_array.pagevec; in nfs_pgio_rpcsetup()
807 pages = hdr->page_array.pagevec; in nfs_generic_pgio()
Dfscache-index.c264 struct pagevec pvec; in nfs_fscache_inode_now_uncached()
/linux-4.4.14/net/ceph/
DMakefile14 pagevec.o snapshot.o
/linux-4.4.14/fs/nilfs2/
Dpage.c258 struct pagevec pvec; in nilfs_copy_dirty_pages()
313 struct pagevec pvec; in nilfs_copy_back_pages()
379 struct pagevec pvec; in nilfs_clear_dirty_pages()
520 struct pagevec pvec; in nilfs_find_uncommitted_extent()
Dsegment.c691 struct pagevec pvec; in nilfs_lookup_dirty_data_buffers()
749 struct pagevec pvec; in nilfs_lookup_dirty_node_buffers()
Dbtree.c2138 struct pagevec pvec; in nilfs_btree_lookup_dirty_buffers()
/linux-4.4.14/fs/fscache/
Dpage.c1146 struct pagevec *pagevec) in fscache_mark_pages_cached() argument
1150 for (loop = 0; loop < pagevec->nr; loop++) in fscache_mark_pages_cached()
1151 fscache_mark_page_cached(op, pagevec->pages[loop]); in fscache_mark_pages_cached()
1153 pagevec_reinit(pagevec); in fscache_mark_pages_cached()
1165 struct pagevec pvec; in __fscache_uncache_all_inode_pages()
/linux-4.4.14/fs/cifs/
Dcache.c298 struct pagevec pvec; in cifs_fscache_inode_now_uncached()
/linux-4.4.14/fs/afs/
Dwrite.c280 struct pagevec pv; in afs_kill_pages()
574 struct pagevec pv; in afs_pages_written_back()
Dcache.c373 struct pagevec pvec; in afs_vnode_cache_now_uncached()
Dinternal.h29 struct pagevec;
/linux-4.4.14/fs/ceph/
Dcache.c149 struct pagevec pvec; in ceph_fscache_inode_now_uncached()
Daddr.c586 struct pagevec pvec; in ceph_release_pages()
697 struct pagevec pvec; in ceph_writepages_start()
/linux-4.4.14/fs/9p/
Dcache.c157 struct pagevec pvec; in v9fs_cache_inode_now_uncached()
/linux-4.4.14/fs/gfs2/
Daops.c235 struct pagevec *pvec, in gfs2_write_jdata_pagevec()
349 struct pagevec pvec; in gfs2_write_cache_jdata()
/linux-4.4.14/fs/hugetlbfs/
Dinode.c111 static void huge_pagevec_release(struct pagevec *pvec) in huge_pagevec_release()
357 struct pagevec pvec; in remove_inode_hugepages()
/linux-4.4.14/Documentation/filesystems/caching/
Dbackend-api.txt427 explicit uncaching. This operation takes a pagevec, thus allowing several
587 struct pagevec *pagevec);
Dnetfs-api.txt153 struct pagevec *cached_pvec);
/linux-4.4.14/fs/ext4/
Dfile.c441 struct pagevec pvec; in ext4_find_unwritten_pgoff()
Dinode.c1466 struct pagevec pvec; in mpage_release_unused_pages()
2068 struct pagevec pvec; in mpage_map_and_submit_buffers()
2344 struct pagevec pvec; in mpage_prepare_extent_to_map()
/linux-4.4.14/fs/f2fs/
Dnode.c1157 struct pagevec pvec; in sync_node_pages()
1260 struct pagevec pvec; in wait_on_node_pages_writeback()
Dcheckpoint.c280 struct pagevec pvec; in sync_meta_pages()
Ddata.c1213 struct pagevec pvec; in f2fs_write_cache_pages()
Dfile.c293 struct pagevec pvec; in __get_first_dirty_index()
/linux-4.4.14/fs/xfs/
Dxfs_file.c1193 struct pagevec pvec; in xfs_find_get_desired_pgoff()
Dxfs_aops.c836 struct pagevec pvec; in xfs_cluster_write()
/linux-4.4.14/Documentation/vm/
Dunevictable-lru.txt114 The unevictable list does not use the LRU pagevec mechanism. Rather,
/linux-4.4.14/fs/btrfs/
Dextent_io.c3917 struct pagevec pvec; in btree_write_cache_pages()
4049 struct pagevec pvec; in extent_write_cache_pages()