Lines Matching refs:p
1674 struct page *p = eb->pages[0]; in write_one_eb() local
1676 lock_page(p); in write_one_eb()
1677 btrfs_subpage_set_writeback(fs_info, p, eb->start, eb->len); in write_one_eb()
1678 if (btrfs_subpage_clear_and_test_dirty(fs_info, p, eb->start, in write_one_eb()
1680 clear_page_dirty_for_io(p); in write_one_eb()
1683 __bio_add_page(&bbio->bio, p, eb->len, eb->start - page_offset(p)); in write_one_eb()
1684 wbc_account_cgroup_owner(wbc, p, eb->len); in write_one_eb()
1685 unlock_page(p); in write_one_eb()
1688 struct page *p = eb->pages[i]; in write_one_eb() local
1690 lock_page(p); in write_one_eb()
1691 clear_page_dirty_for_io(p); in write_one_eb()
1692 set_page_writeback(p); in write_one_eb()
1693 __bio_add_page(&bbio->bio, p, PAGE_SIZE, 0); in write_one_eb()
1694 wbc_account_cgroup_owner(wbc, p, PAGE_SIZE); in write_one_eb()
1696 unlock_page(p); in write_one_eb()
3425 struct page *p = new->pages[i]; in btrfs_clone_extent_buffer() local
3427 ret = attach_extent_buffer_page(new, p, NULL); in btrfs_clone_extent_buffer()
3432 WARN_ON(PageDirty(p)); in btrfs_clone_extent_buffer()
3458 struct page *p = eb->pages[i]; in __alloc_dummy_extent_buffer() local
3460 ret = attach_extent_buffer_page(eb, p, NULL); in __alloc_dummy_extent_buffer()
3532 struct page *p = eb->pages[i]; in mark_extent_buffer_accessed() local
3534 if (p != accessed) in mark_extent_buffer_accessed()
3535 mark_page_accessed(p); in mark_extent_buffer_accessed()
3675 struct page *p; in alloc_extent_buffer() local
3731 p = find_or_create_page(mapping, index, GFP_NOFS|__GFP_NOFAIL); in alloc_extent_buffer()
3732 if (!p) { in alloc_extent_buffer()
3739 exists = grab_extent_buffer(fs_info, p); in alloc_extent_buffer()
3742 unlock_page(p); in alloc_extent_buffer()
3743 put_page(p); in alloc_extent_buffer()
3744 mark_extent_buffer_accessed(exists, p); in alloc_extent_buffer()
3749 ret = attach_extent_buffer_page(eb, p, prealloc); in alloc_extent_buffer()
3760 btrfs_page_inc_eb_refs(fs_info, p); in alloc_extent_buffer()
3763 WARN_ON(btrfs_page_test_dirty(fs_info, p, eb->start, eb->len)); in alloc_extent_buffer()
3764 eb->pages[i] = p; in alloc_extent_buffer()
3765 if (!btrfs_page_test_uptodate(fs_info, p, eb->start, eb->len)) in alloc_extent_buffer()