Lines Matching refs:page_offset
198 page_start = page_offset(locked_page); in btrfs_cleanup_ordered_extents()
244 bytes = offset + bytes - page_offset(locked_page) - PAGE_SIZE; in btrfs_cleanup_ordered_extents()
245 offset = page_offset(locked_page) + PAGE_SIZE; in btrfs_cleanup_ordered_extents()
876 (page_offset(async_chunk->locked_page) >= start && in compress_file_range()
877 page_offset(async_chunk->locked_page)) <= end) { in compress_file_range()
934 const u64 page_start = page_offset(locked_page); in submit_uncompressed_range()
974 u64 locked_page_start = page_offset(async_chunk->locked_page); in submit_one_async_extent()
2209 ASSERT(!(end <= page_offset(locked_page) || in btrfs_run_delalloc_range()
2210 start >= page_offset(locked_page) + PAGE_SIZE)); in btrfs_run_delalloc_range()
2705 page_offset(bio_first_bvec_all(bio)->bv_page)); in btrfs_submit_data_write_bio()
2882 page_start = page_offset(page); in btrfs_writepage_fixup_worker()
2883 page_end = page_offset(page) + PAGE_SIZE - 1; in btrfs_writepage_fixup_worker()
3036 btrfs_page_set_checked(fs_info, page, page_offset(page), PAGE_SIZE); in btrfs_writepage_cow_fixup()
3552 ASSERT(page_offset(page) <= start && in btrfs_verify_data_csum()
3553 end <= page_offset(page) + PAGE_SIZE - 1); in btrfs_verify_data_csum()
3557 u64 file_offset = pg_off + page_offset(page); in btrfs_verify_data_csum()
5022 memzero_page(page, (block_start - page_offset(page)), in btrfs_truncate_block()
5025 memzero_page(page, (block_start - page_offset(page)) + offset, in btrfs_truncate_block()
7120 extent_offset = page_offset(page) + pg_offset - extent_start; in btrfs_get_extent()
8564 page_start = page_offset(page); in btrfs_page_mkwrite()
10551 size_t page_offset; in btrfs_encoded_read_regular() local
10575 page_offset = 0; in btrfs_encoded_read_regular()
10578 page_offset = (iocb->ki_pos - start) & (PAGE_SIZE - 1); in btrfs_encoded_read_regular()
10583 PAGE_SIZE - page_offset); in btrfs_encoded_read_regular()
10585 if (copy_page_to_iter(pages[i], page_offset, bytes, in btrfs_encoded_read_regular()
10592 page_offset = 0; in btrfs_encoded_read_regular()