Lines Matching refs:pages
1673 struct page *pages[16]; in __process_pages_contig() local
1689 nr_pages, ARRAY_SIZE(pages)), pages); in __process_pages_contig()
1702 SetPagePrivate2(pages[i]); in __process_pages_contig()
1704 if (pages[i] == locked_page) { in __process_pages_contig()
1705 put_page(pages[i]); in __process_pages_contig()
1710 clear_page_dirty_for_io(pages[i]); in __process_pages_contig()
1712 set_page_writeback(pages[i]); in __process_pages_contig()
1714 SetPageError(pages[i]); in __process_pages_contig()
1716 end_page_writeback(pages[i]); in __process_pages_contig()
1718 unlock_page(pages[i]); in __process_pages_contig()
1720 lock_page(pages[i]); in __process_pages_contig()
1721 if (!PageDirty(pages[i]) || in __process_pages_contig()
1722 pages[i]->mapping != mapping) { in __process_pages_contig()
1723 unlock_page(pages[i]); in __process_pages_contig()
1724 put_page(pages[i]); in __process_pages_contig()
1729 put_page(pages[i]); in __process_pages_contig()
2068 struct page *p = eb->pages[i]; in repair_eb_io_failure()
3093 struct page *pages[], int nr_pages, in __do_contiguous_readpages() argument
3105 inode = pages[0]->mapping->host; in __do_contiguous_readpages()
3118 __do_readpage(tree, pages[index], get_extent, em_cached, bio, in __do_contiguous_readpages()
3120 put_page(pages[index]); in __do_contiguous_readpages()
3125 struct page *pages[], in __extent_readpages() argument
3139 page_start = page_offset(pages[index]); in __extent_readpages()
3147 __do_contiguous_readpages(tree, &pages[first_index], in __extent_readpages()
3159 __do_contiguous_readpages(tree, &pages[first_index], in __extent_readpages()
3596 struct page *p = eb->pages[i]; in lock_extent_buffer_for_io()
3747 struct page *p = eb->pages[i]; in write_one_eb()
3773 struct page *p = eb->pages[i]; in write_one_eb()
3828 struct page *page = pvec.pages[i]; in btree_write_cache_pages()
3970 struct page *page = pvec.pages[i]; in extent_write_cache_pages()
4162 struct list_head *pages, unsigned nr_pages, in extent_readpages() argument
4175 page = list_entry(pages->prev, struct page, lru); in extent_readpages()
4200 BUG_ON(!list_empty(pages)); in extent_readpages()
4703 page = eb->pages[index]; in btrfs_release_extent_buffer_page()
4805 new->pages[i] = p; in btrfs_clone_extent_buffer()
4806 copy_page(page_address(p), page_address(src->pages[i])); in btrfs_clone_extent_buffer()
4829 eb->pages[i] = alloc_page(GFP_NOFS); in __alloc_dummy_extent_buffer()
4830 if (!eb->pages[i]) in __alloc_dummy_extent_buffer()
4840 __free_page(eb->pages[i - 1]); in __alloc_dummy_extent_buffer()
4893 struct page *p = eb->pages[i]; in mark_extent_buffer_accessed()
5050 eb->pages[i] = p; in alloc_extent_buffer()
5093 SetPageChecked(eb->pages[0]); in alloc_extent_buffer()
5095 p = eb->pages[i]; in alloc_extent_buffer()
5099 unlock_page(eb->pages[0]); in alloc_extent_buffer()
5105 if (eb->pages[i]) in alloc_extent_buffer()
5106 unlock_page(eb->pages[i]); in alloc_extent_buffer()
5212 page = eb->pages[i]; in clear_extent_buffer_dirty()
5248 set_page_dirty(eb->pages[i]); in set_extent_buffer_dirty()
5261 page = eb->pages[i]; in clear_extent_buffer_uptodate()
5276 page = eb->pages[i]; in set_extent_buffer_uptodate()
5306 page = eb->pages[i]; in read_extent_buffer_pages()
5321 page = eb->pages[i]; in read_extent_buffer_pages()
5337 page = eb->pages[i]; in read_extent_buffer_pages()
5378 page = eb->pages[i]; in read_extent_buffer_pages()
5389 page = eb->pages[locked_pages]; in read_extent_buffer_pages()
5416 page = eb->pages[i]; in read_extent_buffer()
5448 page = eb->pages[i]; in read_extent_buffer_to_user()
5501 p = eb->pages[i]; in map_private_extent_buffer()
5526 page = eb->pages[i]; in memcmp_extent_buffer()
5548 WARN_ON(!PageUptodate(eb->pages[0])); in write_extent_buffer_chunk_tree_uuid()
5549 kaddr = page_address(eb->pages[0]); in write_extent_buffer_chunk_tree_uuid()
5558 WARN_ON(!PageUptodate(eb->pages[0])); in write_extent_buffer_fsid()
5559 kaddr = page_address(eb->pages[0]); in write_extent_buffer_fsid()
5581 page = eb->pages[i]; in write_extent_buffer()
5611 page = eb->pages[i]; in memzero_extent_buffer()
5634 copy_page(page_address(dst->pages[i]), in copy_extent_buffer_full()
5635 page_address(src->pages[i])); in copy_extent_buffer_full()
5656 page = dst->pages[i]; in copy_extent_buffer()
5759 page = eb->pages[i]; in extent_buffer_test_bit()
5784 page = eb->pages[i]; in extent_buffer_bitmap_set()
5795 page = eb->pages[++i]; in extent_buffer_bitmap_set()
5826 page = eb->pages[i]; in extent_buffer_bitmap_clear()
5837 page = eb->pages[++i]; in extent_buffer_bitmap_clear()
5914 copy_pages(dst->pages[dst_i], dst->pages[src_i], in memcpy_extent_buffer()
5963 copy_pages(dst->pages[dst_i], dst->pages[src_i], in memmove_extent_buffer()