Home
last modified time | relevance | path

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

/linux-4.1.27/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.h546 struct pagevec *pagevec);
Dfscache.h48 struct pagevec;
Dnfs_xdr.h1310 struct page **pagevec; member
/linux-4.1.27/mm/
Dswap.c44 static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
45 static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
46 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.c227 struct pagevec pvec; in truncate_inode_pages_range()
460 struct pagevec pvec; in invalidate_mapping_pages()
563 struct pagevec pvec; in invalidate_inode_pages2_range()
Dshmem.c365 struct pagevec pvec; in shmem_unlock_mapping()
403 struct pagevec pvec; in shmem_undo_range()
1747 struct pagevec pvec; in shmem_seek_hole_data()
Dpage-writeback.c1840 struct pagevec pvec; in write_cache_pages()
Dfilemap.c334 struct pagevec pvec; in filemap_fdatawait_range()
/linux-4.1.27/fs/cachefiles/
Drdwr.c686 struct pagevec pagevec; in cachefiles_read_or_alloc_pages() local
719 pagevec_init(&pagevec, 0); 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, 0); 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 …]
/linux-4.1.27/fs/nfs/
Ddirect.c488 struct page **pagevec; in nfs_direct_read_schedule_iovec() local
493 result = iov_iter_get_pages_alloc(iter, &pagevec, in nfs_direct_read_schedule_iovec()
505 req = nfs_create_request(dreq->ctx, pagevec[i], NULL, in nfs_direct_read_schedule_iovec()
524 nfs_direct_release_pages(pagevec, npages); in nfs_direct_read_schedule_iovec()
525 kvfree(pagevec); in nfs_direct_read_schedule_iovec()
875 struct page **pagevec; in nfs_direct_write_schedule_iovec() local
880 result = iov_iter_get_pages_alloc(iter, &pagevec, in nfs_direct_write_schedule_iovec()
892 req = nfs_create_request(dreq->ctx, pagevec[i], NULL, in nfs_direct_write_schedule_iovec()
915 nfs_direct_release_pages(pagevec, npages); in nfs_direct_write_schedule_iovec()
916 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()
808 pages = hdr->page_array.pagevec; in nfs_generic_pgio()
Dfscache-index.c264 struct pagevec pvec; in nfs_fscache_inode_now_uncached()
/linux-4.1.27/net/ceph/
DMakefile14 pagevec.o snapshot.o
/linux-4.1.27/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.c630 struct pagevec pvec; in nilfs_lookup_dirty_data_buffers()
688 struct pagevec pvec; in nilfs_lookup_dirty_node_buffers()
Dbtree.c2143 struct pagevec pvec; in nilfs_btree_lookup_dirty_buffers()
/linux-4.1.27/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.1.27/fs/cifs/
Dcache.c298 struct pagevec pvec; in cifs_fscache_inode_now_uncached()
/linux-4.1.27/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.1.27/fs/9p/
Dcache.c157 struct pagevec pvec; in v9fs_cache_inode_now_uncached()
/linux-4.1.27/fs/ceph/
Dcache.c149 struct pagevec pvec; in ceph_fscache_inode_now_uncached()
Daddr.c581 struct pagevec pvec; in ceph_release_pages()
692 struct pagevec pvec; in ceph_writepages_start()
/linux-4.1.27/fs/gfs2/
Daops.c233 struct pagevec *pvec, in gfs2_write_jdata_pagevec()
349 struct pagevec pvec; in gfs2_write_cache_jdata()
/linux-4.1.27/fs/hugetlbfs/
Dinode.c87 static void huge_pagevec_release(struct pagevec *pvec) in huge_pagevec_release()
309 struct pagevec pvec; in truncate_hugepages()
/linux-4.1.27/fs/ext4/
Dfile.c332 struct pagevec pvec; in ext4_find_unwritten_pgoff()
Dinode.c1445 struct pagevec pvec; in mpage_release_unused_pages()
2036 struct pagevec pvec; in mpage_map_and_submit_buffers()
2312 struct pagevec pvec; in mpage_prepare_extent_to_map()
/linux-4.1.27/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.1.27/fs/f2fs/
Dnode.c1143 struct pagevec pvec; in sync_node_pages()
1250 struct pagevec pvec; in wait_on_node_pages_writeback()
Dcheckpoint.c245 struct pagevec pvec; in sync_meta_pages()
Dfile.c281 struct pagevec pvec; in __get_first_dirty_index()
/linux-4.1.27/fs/xfs/
Dxfs_file.c1155 struct pagevec pvec; in xfs_find_get_desired_pgoff()
Dxfs_aops.c831 struct pagevec pvec; in xfs_cluster_write()
/linux-4.1.27/fs/btrfs/
Dextent_io.c3845 struct pagevec pvec; in btree_write_cache_pages()
3977 struct pagevec pvec; in extent_write_cache_pages()
/linux-4.1.27/Documentation/vm/
Dunevictable-lru.txt114 The unevictable list does not use the LRU pagevec mechanism. Rather,