Lines Matching refs:file_offset
50 const u64 file_offset, in copy_inline_to_page() argument
58 const u64 range_end = file_offset + block_size - 1; in copy_inline_to_page()
66 ASSERT(IS_ALIGNED(file_offset, block_size)); in copy_inline_to_page()
74 ret = btrfs_delalloc_reserve_space(inode, &data_reserved, file_offset, in copy_inline_to_page()
79 page = find_or_create_page(mapping, file_offset >> PAGE_SHIFT, in copy_inline_to_page()
90 clear_extent_bit(&inode->io_tree, file_offset, range_end, in copy_inline_to_page()
93 ret = btrfs_set_extent_delalloc(inode, file_offset, range_end, 0, NULL); in copy_inline_to_page()
111 memcpy_to_page(page, offset_in_page(file_offset), data_start, in copy_inline_to_page()
116 offset_in_page(file_offset), in copy_inline_to_page()
140 btrfs_page_set_uptodate(fs_info, page, file_offset, block_size); in copy_inline_to_page()
141 btrfs_page_clear_checked(fs_info, page, file_offset, block_size); in copy_inline_to_page()
142 btrfs_page_set_dirty(fs_info, page, file_offset, block_size); in copy_inline_to_page()
149 btrfs_delalloc_release_space(inode, data_reserved, file_offset, in copy_inline_to_page()
489 clone_info.file_offset = new_key.offset; in btrfs_clone()