/fs/nilfs2/ |
D | page.c | 243 struct pagevec pvec; in nilfs_copy_dirty_pages() local 248 pagevec_init(&pvec); in nilfs_copy_dirty_pages() 250 if (!pagevec_lookup_tag(&pvec, smap, &index, PAGECACHE_TAG_DIRTY)) in nilfs_copy_dirty_pages() 253 for (i = 0; i < pagevec_count(&pvec); i++) { in nilfs_copy_dirty_pages() 254 struct page *page = pvec.pages[i], *dpage; in nilfs_copy_dirty_pages() 278 pagevec_release(&pvec); in nilfs_copy_dirty_pages() 297 struct pagevec pvec; in nilfs_copy_back_pages() local 301 pagevec_init(&pvec); in nilfs_copy_back_pages() 303 n = pagevec_lookup(&pvec, smap, &index); in nilfs_copy_back_pages() 307 for (i = 0; i < pagevec_count(&pvec); i++) { in nilfs_copy_back_pages() [all …]
|
D | segment.c | 707 struct pagevec pvec; in nilfs_lookup_dirty_data_buffers() local 721 pagevec_init(&pvec); in nilfs_lookup_dirty_data_buffers() 724 !pagevec_lookup_range_tag(&pvec, mapping, &index, last, in nilfs_lookup_dirty_data_buffers() 728 for (i = 0; i < pagevec_count(&pvec); i++) { in nilfs_lookup_dirty_data_buffers() 730 struct page *page = pvec.pages[i]; in nilfs_lookup_dirty_data_buffers() 750 pagevec_release(&pvec); in nilfs_lookup_dirty_data_buffers() 756 pagevec_release(&pvec); in nilfs_lookup_dirty_data_buffers() 766 struct pagevec pvec; in nilfs_lookup_dirty_node_buffers() local 774 pagevec_init(&pvec); in nilfs_lookup_dirty_node_buffers() 776 while (pagevec_lookup_tag(&pvec, btnc_inode->i_mapping, &index, in nilfs_lookup_dirty_node_buffers() [all …]
|
D | btree.c | 2156 struct pagevec pvec; in nilfs_btree_lookup_dirty_buffers() local 2166 pagevec_init(&pvec); in nilfs_btree_lookup_dirty_buffers() 2168 while (pagevec_lookup_tag(&pvec, btcache, &index, in nilfs_btree_lookup_dirty_buffers() 2170 for (i = 0; i < pagevec_count(&pvec); i++) { in nilfs_btree_lookup_dirty_buffers() 2171 bh = head = page_buffers(pvec.pages[i]); in nilfs_btree_lookup_dirty_buffers() 2178 pagevec_release(&pvec); in nilfs_btree_lookup_dirty_buffers()
|
/fs/iomap/ |
D | seek.c | 80 struct pagevec pvec; in page_cache_seek_hole_data() local 85 pagevec_init(&pvec); in page_cache_seek_hole_data() 90 nr_pages = pagevec_lookup_range(&pvec, inode->i_mapping, &index, in page_cache_seek_hole_data() 96 struct page *page = pvec.pages[i]; in page_cache_seek_hole_data() 102 pagevec_release(&pvec); in page_cache_seek_hole_data() 115 pagevec_release(&pvec); in page_cache_seek_hole_data()
|
/fs/gfs2/ |
D | aops.c | 234 struct pagevec *pvec, in gfs2_write_jdata_pagevec() argument 249 struct page *page = pvec->pages[i]; in gfs2_write_jdata_pagevec() 332 struct pagevec pvec; in gfs2_write_cache_jdata() local 342 pagevec_init(&pvec); in gfs2_write_cache_jdata() 368 nr_pages = pagevec_lookup_range_tag(&pvec, mapping, &index, end, in gfs2_write_cache_jdata() 373 ret = gfs2_write_jdata_pagevec(mapping, wbc, &pvec, nr_pages, &done_index); in gfs2_write_cache_jdata() 378 pagevec_release(&pvec); in gfs2_write_cache_jdata()
|
/fs/ceph/ |
D | addr.c | 823 struct pagevec pvec; in ceph_writepages_start() local 847 pagevec_init(&pvec); in ceph_writepages_start() 905 pvec_pages = pagevec_lookup_range_tag(&pvec, mapping, &index, in ceph_writepages_start() 911 page = pvec.pages[i]; in ceph_writepages_start() 1031 pvec.pages[i] = NULL; in ceph_writepages_start() 1043 if (!pvec.pages[j]) in ceph_writepages_start() 1046 pvec.pages[n] = pvec.pages[j]; in ceph_writepages_start() 1049 pvec.nr = n; in ceph_writepages_start() 1054 pagevec_release(&pvec); in ceph_writepages_start() 1179 dout("pagevec_release on %d pages (%p)\n", (int)pvec.nr, in ceph_writepages_start() [all …]
|
/fs/hugetlbfs/ |
D | inode.c | 111 static void huge_pagevec_release(struct pagevec *pvec) in huge_pagevec_release() argument 115 for (i = 0; i < pagevec_count(pvec); ++i) in huge_pagevec_release() 116 put_page(pvec->pages[i]); in huge_pagevec_release() 118 pagevec_reinit(pvec); in huge_pagevec_release() 484 struct pagevec pvec; in remove_inode_hugepages() local 491 pagevec_init(&pvec); in remove_inode_hugepages() 497 if (!pagevec_lookup_range(&pvec, mapping, &next, end - 1)) in remove_inode_hugepages() 500 for (i = 0; i < pagevec_count(&pvec); ++i) { in remove_inode_hugepages() 501 struct page *page = pvec.pages[i]; in remove_inode_hugepages() 560 huge_pagevec_release(&pvec); in remove_inode_hugepages()
|
/fs/f2fs/ |
D | node.c | 1521 struct pagevec pvec; in last_fsync_dnode() local 1525 pagevec_init(&pvec); in last_fsync_dnode() 1528 while ((nr_pages = pagevec_lookup_tag(&pvec, NODE_MAPPING(sbi), &index, in last_fsync_dnode() 1533 struct page *page = pvec.pages[i]; in last_fsync_dnode() 1537 pagevec_release(&pvec); in last_fsync_dnode() 1568 pagevec_release(&pvec); in last_fsync_dnode() 1734 struct pagevec pvec; in f2fs_fsync_node_pages() local 1748 pagevec_init(&pvec); in f2fs_fsync_node_pages() 1751 while ((nr_pages = pagevec_lookup_tag(&pvec, NODE_MAPPING(sbi), &index, in f2fs_fsync_node_pages() 1756 struct page *page = pvec.pages[i]; in f2fs_fsync_node_pages() [all …]
|
D | compress.c | 843 bool f2fs_all_cluster_page_loaded(struct compress_ctx *cc, struct pagevec *pvec, in f2fs_all_cluster_page_loaded() argument 852 pgidx = pvec->pages[index]->index; in f2fs_all_cluster_page_loaded() 855 if (pvec->pages[index + i]->index != pgidx + i) in f2fs_all_cluster_page_loaded() 1907 struct pagevec pvec; in f2fs_invalidate_compress_pages() local 1914 pagevec_init(&pvec); in f2fs_invalidate_compress_pages() 1920 nr_pages = pagevec_lookup_range(&pvec, mapping, in f2fs_invalidate_compress_pages() 1926 struct page *page = pvec.pages[i]; in f2fs_invalidate_compress_pages() 1945 pagevec_release(&pvec); in f2fs_invalidate_compress_pages()
|
D | checkpoint.c | 399 struct pagevec pvec; in f2fs_sync_meta_pages() local 407 pagevec_init(&pvec); in f2fs_sync_meta_pages() 411 while ((nr_pages = pagevec_lookup_tag(&pvec, mapping, &index, in f2fs_sync_meta_pages() 416 struct page *page = pvec.pages[i]; in f2fs_sync_meta_pages() 421 pagevec_release(&pvec); in f2fs_sync_meta_pages() 451 pagevec_release(&pvec); in f2fs_sync_meta_pages()
|
D | data.c | 2930 struct pagevec pvec; in f2fs_write_cache_pages() local 2961 pagevec_init(&pvec); in f2fs_write_cache_pages() 2988 nr_pages = pagevec_lookup_range_tag(&pvec, mapping, &index, end, in f2fs_write_cache_pages() 2994 struct page *page = pvec.pages[i]; in f2fs_write_cache_pages() 3036 &pvec, i, nr_pages))) { in f2fs_write_cache_pages() 3126 pagevec_release(&pvec); in f2fs_write_cache_pages()
|
D | f2fs.h | 4209 bool f2fs_all_cluster_page_loaded(struct compress_ctx *cc, struct pagevec *pvec,
|
/fs/fscache/ |
D | page.c | 1219 struct pagevec pvec; in __fscache_uncache_all_inode_pages() local 1230 pagevec_init(&pvec); in __fscache_uncache_all_inode_pages() 1233 if (!pagevec_lookup(&pvec, mapping, &next)) in __fscache_uncache_all_inode_pages() 1235 for (i = 0; i < pagevec_count(&pvec); i++) { in __fscache_uncache_all_inode_pages() 1236 struct page *page = pvec.pages[i]; in __fscache_uncache_all_inode_pages() 1242 pagevec_release(&pvec); in __fscache_uncache_all_inode_pages()
|
/fs/ext4/ |
D | inode.c | 1578 struct pagevec pvec; in mpage_release_unused_pages() local 1603 pagevec_init(&pvec); in mpage_release_unused_pages() 1605 nr_pages = pagevec_lookup_range(&pvec, mapping, &index, end); in mpage_release_unused_pages() 1609 struct page *page = pvec.pages[i]; in mpage_release_unused_pages() 1621 pagevec_release(&pvec); in mpage_release_unused_pages() 2342 struct pagevec pvec; in mpage_map_and_submit_buffers() local 2357 pagevec_init(&pvec); in mpage_map_and_submit_buffers() 2359 nr_pages = pagevec_lookup_range(&pvec, inode->i_mapping, in mpage_map_and_submit_buffers() 2364 struct page *page = pvec.pages[i]; in mpage_map_and_submit_buffers() 2380 pagevec_release(&pvec); in mpage_map_and_submit_buffers() [all …]
|
/fs/ |
D | buffer.c | 1641 struct pagevec pvec; in clean_bdev_aliases() local 1649 pagevec_init(&pvec); in clean_bdev_aliases() 1650 while (pagevec_lookup_range(&pvec, bd_mapping, &index, end)) { in clean_bdev_aliases() 1651 count = pagevec_count(&pvec); in clean_bdev_aliases() 1653 struct page *page = pvec.pages[i]; in clean_bdev_aliases() 1682 pagevec_release(&pvec); in clean_bdev_aliases()
|
/fs/btrfs/ |
D | extent_io.c | 3950 struct pagevec pvec; in btree_write_cache_pages() local 3957 pagevec_init(&pvec); in btree_write_cache_pages() 3979 (nr_pages = pagevec_lookup_range_tag(&pvec, mapping, &index, end, in btree_write_cache_pages() 3984 struct page *page = pvec.pages[i]; in btree_write_cache_pages() 4044 pagevec_release(&pvec); in btree_write_cache_pages() 4119 struct pagevec pvec; in extent_write_cache_pages() local 4140 pagevec_init(&pvec); in extent_write_cache_pages() 4178 (nr_pages = pagevec_lookup_range_tag(&pvec, mapping, in extent_write_cache_pages() 4183 struct page *page = pvec.pages[i]; in extent_write_cache_pages() 4231 pagevec_release(&pvec); in extent_write_cache_pages()
|