Lines Matching refs:file_offset
1940 struct inode *inode, u64 file_offset, in add_pending_csums() argument
2699 new->file_pos = ordered->file_offset; in record_old_file_extents()
2836 btrfs_free_io_failure_record(inode, ordered_extent->file_offset, in btrfs_finish_ordered_io()
2837 ordered_extent->file_offset + in btrfs_finish_ordered_io()
2856 btrfs_qgroup_free_data(inode, ordered_extent->file_offset, in btrfs_finish_ordered_io()
2875 lock_extent_bits(io_tree, ordered_extent->file_offset, in btrfs_finish_ordered_io()
2876 ordered_extent->file_offset + ordered_extent->len - 1, in btrfs_finish_ordered_io()
2879 ret = test_range_bit(io_tree, ordered_extent->file_offset, in btrfs_finish_ordered_io()
2880 ordered_extent->file_offset + ordered_extent->len - 1, in btrfs_finish_ordered_io()
2888 clear_extent_bit(io_tree, ordered_extent->file_offset, in btrfs_finish_ordered_io()
2889 ordered_extent->file_offset + ordered_extent->len - 1, in btrfs_finish_ordered_io()
2910 ordered_extent->file_offset, in btrfs_finish_ordered_io()
2911 ordered_extent->file_offset + in btrfs_finish_ordered_io()
2916 ordered_extent->file_offset, in btrfs_finish_ordered_io()
2928 ordered_extent->file_offset, ordered_extent->len, in btrfs_finish_ordered_io()
2935 add_pending_csums(trans, inode, ordered_extent->file_offset, in btrfs_finish_ordered_io()
2946 unlock_extent_cached(io_tree, ordered_extent->file_offset, in btrfs_finish_ordered_io()
2947 ordered_extent->file_offset + in btrfs_finish_ordered_io()
2959 start = ordered_extent->file_offset + logical_len; in btrfs_finish_ordered_io()
2961 start = ordered_extent->file_offset; in btrfs_finish_ordered_io()
2962 end = ordered_extent->file_offset + ordered_extent->len - 1; in btrfs_finish_ordered_io()
8113 u64 file_offset) in btrfs_lookup_and_bind_dio_csum() argument
8124 if (dip->logical_offset == file_offset) { in btrfs_lookup_and_bind_dio_csum()
8126 file_offset); in btrfs_lookup_and_bind_dio_csum()
8134 file_offset -= dip->logical_offset; in btrfs_lookup_and_bind_dio_csum()
8135 file_offset >>= inode->i_sb->s_blocksize_bits; in btrfs_lookup_and_bind_dio_csum()
8136 io_bio->csum = (u8 *)(((u32 *)orig_io_bio->csum) + file_offset); in btrfs_lookup_and_bind_dio_csum()
8142 int rw, u64 file_offset, int skip_sum, in __btrfs_submit_dio_bio() argument
8168 file_offset, in __btrfs_submit_dio_bio()
8177 ret = btrfs_csum_one_bio(root, inode, bio, file_offset, 1); in __btrfs_submit_dio_bio()
8182 file_offset); in __btrfs_submit_dio_bio()
8202 u64 file_offset = dip->logical_offset; in btrfs_submit_direct_hook() local
8233 btrfs_io_bio(bio)->logical = file_offset; in btrfs_submit_direct_hook()
8248 file_offset, skip_sum, in btrfs_submit_direct_hook()
8257 file_offset += submit_len; in btrfs_submit_direct_hook()
8268 btrfs_io_bio(bio)->logical = file_offset; in btrfs_submit_direct_hook()
8286 ret = __btrfs_submit_dio_bio(bio, inode, rw, file_offset, skip_sum, in btrfs_submit_direct_hook()
8307 struct inode *inode, loff_t file_offset) in btrfs_submit_direct() argument
8332 dip->logical_offset = file_offset; in btrfs_submit_direct()
8340 btrfs_bio->logical = file_offset; in btrfs_submit_direct()
8381 file_offset); in btrfs_submit_direct()
8392 unlock_extent(&BTRFS_I(inode)->io_tree, file_offset, in btrfs_submit_direct()
8393 file_offset + dio_bio->bi_iter.bi_size - 1); in btrfs_submit_direct()
8667 new_len = page_start - ordered->file_offset; in btrfs_invalidatepage()
9129 ordered->file_offset, ordered->len); in btrfs_destroy_inode()