Lines Matching refs:pages
1583 struct page *pages[16]; in __unlock_for_delalloc() local
1595 ARRAY_SIZE(pages)), pages); in __unlock_for_delalloc()
1597 if (pages[i] != locked_page) in __unlock_for_delalloc()
1598 unlock_page(pages[i]); in __unlock_for_delalloc()
1599 page_cache_release(pages[i]); in __unlock_for_delalloc()
1616 struct page *pages[16]; in lock_delalloc_pages() local
1630 nrpages, ARRAY_SIZE(pages)), pages); in lock_delalloc_pages()
1641 if (pages[i] != locked_page) { in lock_delalloc_pages()
1642 lock_page(pages[i]); in lock_delalloc_pages()
1643 if (!PageDirty(pages[i]) || in lock_delalloc_pages()
1644 pages[i]->mapping != inode->i_mapping) { in lock_delalloc_pages()
1646 unlock_page(pages[i]); in lock_delalloc_pages()
1647 page_cache_release(pages[i]); in lock_delalloc_pages()
1651 page_cache_release(pages[i]); in lock_delalloc_pages()
1762 struct page *pages[16]; in extent_clear_unlock_delalloc() local
1778 nr_pages, ARRAY_SIZE(pages)), pages); in extent_clear_unlock_delalloc()
1782 SetPagePrivate2(pages[i]); in extent_clear_unlock_delalloc()
1784 if (pages[i] == locked_page) { in extent_clear_unlock_delalloc()
1785 page_cache_release(pages[i]); in extent_clear_unlock_delalloc()
1789 clear_page_dirty_for_io(pages[i]); in extent_clear_unlock_delalloc()
1791 set_page_writeback(pages[i]); in extent_clear_unlock_delalloc()
1793 SetPageError(pages[i]); in extent_clear_unlock_delalloc()
1795 end_page_writeback(pages[i]); in extent_clear_unlock_delalloc()
1797 unlock_page(pages[i]); in extent_clear_unlock_delalloc()
1798 page_cache_release(pages[i]); in extent_clear_unlock_delalloc()
2095 struct page *p = eb->pages[i]; in repair_eb_io_failure()
3126 struct page *pages[], int nr_pages, in __do_contiguous_readpages() argument
3138 inode = pages[0]->mapping->host; in __do_contiguous_readpages()
3151 __do_readpage(tree, pages[index], get_extent, em_cached, bio, in __do_contiguous_readpages()
3153 page_cache_release(pages[index]); in __do_contiguous_readpages()
3158 struct page *pages[], in __extent_readpages() argument
3172 page_start = page_offset(pages[index]); in __extent_readpages()
3180 __do_contiguous_readpages(tree, &pages[first_index], in __extent_readpages()
3192 __do_contiguous_readpages(tree, &pages[first_index], in __extent_readpages()
3664 struct page *p = eb->pages[i]; in lock_extent_buffer_for_io()
3796 struct page *p = eb->pages[i]; in write_one_eb()
3820 struct page *p = eb->pages[i]; in write_one_eb()
3875 struct page *page = pvec.pages[i]; in btree_write_cache_pages()
4019 struct page *page = pvec.pages[i]; in extent_write_cache_pages()
4197 struct list_head *pages, unsigned nr_pages, in extent_readpages() argument
4210 page = list_entry(pages->prev, struct page, lru); in extent_readpages()
4234 BUG_ON(!list_empty(pages)); in extent_readpages()
4614 page = eb->pages[index]; in btrfs_release_extent_buffer_page()
4718 new->pages[i] = p; in btrfs_clone_extent_buffer()
4752 eb->pages[i] = alloc_page(GFP_NOFS); in alloc_dummy_extent_buffer()
4753 if (!eb->pages[i]) in alloc_dummy_extent_buffer()
4763 __free_page(eb->pages[i - 1]); in alloc_dummy_extent_buffer()
4810 struct page *p = eb->pages[i]; in mark_extent_buffer_accessed()
4958 eb->pages[i] = p; in alloc_extent_buffer()
4999 SetPageChecked(eb->pages[0]); in alloc_extent_buffer()
5001 p = eb->pages[i]; in alloc_extent_buffer()
5005 unlock_page(eb->pages[0]); in alloc_extent_buffer()
5011 if (eb->pages[i]) in alloc_extent_buffer()
5012 unlock_page(eb->pages[i]); in alloc_extent_buffer()
5118 page = eb->pages[i]; in clear_extent_buffer_dirty()
5154 set_page_dirty(eb->pages[i]); in set_extent_buffer_dirty()
5167 page = eb->pages[i]; in clear_extent_buffer_uptodate()
5183 page = eb->pages[i]; in set_extent_buffer_uptodate()
5223 page = eb->pages[i]; in read_extent_buffer_pages()
5246 page = eb->pages[i]; in read_extent_buffer_pages()
5271 page = eb->pages[i]; in read_extent_buffer_pages()
5282 page = eb->pages[i]; in read_extent_buffer_pages()
5308 page = eb->pages[i]; in read_extent_buffer()
5340 page = eb->pages[i]; in read_extent_buffer_to_user()
5389 p = eb->pages[i]; in map_private_extent_buffer()
5415 page = eb->pages[i]; in memcmp_extent_buffer()
5449 page = eb->pages[i]; in write_extent_buffer()
5479 page = eb->pages[i]; in memset_extent_buffer()
5510 page = dst->pages[i]; in copy_extent_buffer()
5588 copy_pages(dst->pages[dst_i], dst->pages[src_i], in memcpy_extent_buffer()
5634 copy_pages(dst->pages[dst_i], dst->pages[src_i], in memmove_extent_buffer()