Lines Matching refs:locked_page
85 struct page *locked_page,
109 struct page *locked_page, in btrfs_cleanup_ordered_extents() argument
114 u64 page_start = page_offset(locked_page); in btrfs_cleanup_ordered_extents()
369 struct page *locked_page; member
728 if (async_chunk->locked_page && in compress_file_range()
729 (page_offset(async_chunk->locked_page) >= start && in compress_file_range()
730 page_offset(async_chunk->locked_page)) <= end) { in compress_file_range()
731 __set_page_dirty_nobuffers(async_chunk->locked_page); in compress_file_range()
793 ret = cow_file_range(inode, async_chunk->locked_page, in submit_compressed_extents()
813 else if (ret && async_chunk->locked_page) in submit_compressed_extents()
814 unlock_page(async_chunk->locked_page); in submit_compressed_extents()
978 struct page *locked_page, in cow_file_range() argument
1116 locked_page, in cow_file_range()
1161 locked_page, in cow_file_range()
1168 extent_clear_unlock_delalloc(inode, start, end, locked_page, in cow_file_range()
1238 struct page *locked_page, in cow_file_range_async() argument
1276 extent_clear_unlock_delalloc(inode, start, end, locked_page, in cow_file_range_async()
1311 if (locked_page) { in cow_file_range_async()
1321 wbc_account_cgroup_owner(wbc, locked_page, in cow_file_range_async()
1323 async_chunk[i].locked_page = locked_page; in cow_file_range_async()
1324 locked_page = NULL; in cow_file_range_async()
1326 async_chunk[i].locked_page = NULL; in cow_file_range_async()
1373 static int fallback_to_cow(struct btrfs_inode *inode, struct page *locked_page, in fallback_to_cow() argument
1436 return cow_file_range(inode, locked_page, start, end, page_started, in fallback_to_cow()
1448 struct page *locked_page, in run_delalloc_nocow() argument
1467 extent_clear_unlock_delalloc(inode, start, end, locked_page, in run_delalloc_nocow()
1687 ret = fallback_to_cow(inode, locked_page, in run_delalloc_nocow()
1746 locked_page, EXTENT_LOCKED | in run_delalloc_nocow()
1770 ret = fallback_to_cow(inode, locked_page, cow_start, end, in run_delalloc_nocow()
1782 locked_page, EXTENT_LOCKED | in run_delalloc_nocow()
1815 int btrfs_run_delalloc_range(struct btrfs_inode *inode, struct page *locked_page, in btrfs_run_delalloc_range() argument
1823 ret = run_delalloc_nocow(inode, locked_page, start, end, in btrfs_run_delalloc_range()
1826 ret = run_delalloc_nocow(inode, locked_page, start, end, in btrfs_run_delalloc_range()
1830 ret = cow_file_range(inode, locked_page, start, end, in btrfs_run_delalloc_range()
1834 ret = cow_file_range_async(inode, wbc, locked_page, start, end, in btrfs_run_delalloc_range()
1838 btrfs_cleanup_ordered_extents(inode, locked_page, start, in btrfs_run_delalloc_range()