Lines Matching refs:file_offset
2815 new->file_pos = ordered->file_offset; in record_old_file_extents()
2961 ordered_extent->file_offset, in btrfs_finish_ordered_io()
2962 ordered_extent->file_offset + in btrfs_finish_ordered_io()
2981 btrfs_qgroup_free_data(inode, NULL, ordered_extent->file_offset, in btrfs_finish_ordered_io()
3001 lock_extent_bits(io_tree, ordered_extent->file_offset, in btrfs_finish_ordered_io()
3002 ordered_extent->file_offset + ordered_extent->len - 1, in btrfs_finish_ordered_io()
3005 ret = test_range_bit(io_tree, ordered_extent->file_offset, in btrfs_finish_ordered_io()
3006 ordered_extent->file_offset + ordered_extent->len - 1, in btrfs_finish_ordered_io()
3014 clear_extent_bit(io_tree, ordered_extent->file_offset, in btrfs_finish_ordered_io()
3015 ordered_extent->file_offset + ordered_extent->len - 1, in btrfs_finish_ordered_io()
3035 btrfs_qgroup_free_data(inode, NULL, ordered_extent->file_offset, in btrfs_finish_ordered_io()
3038 ordered_extent->file_offset, in btrfs_finish_ordered_io()
3039 ordered_extent->file_offset + in btrfs_finish_ordered_io()
3044 ordered_extent->file_offset, in btrfs_finish_ordered_io()
3056 ordered_extent->file_offset, ordered_extent->len, in btrfs_finish_ordered_io()
3085 ordered_extent->file_offset, in btrfs_finish_ordered_io()
3086 ordered_extent->file_offset + in btrfs_finish_ordered_io()
3100 start = ordered_extent->file_offset + logical_len; in btrfs_finish_ordered_io()
3102 start = ordered_extent->file_offset; in btrfs_finish_ordered_io()
3103 end = ordered_extent->file_offset + ordered_extent->len - 1; in btrfs_finish_ordered_io()
8185 u64 file_offset) in btrfs_lookup_and_bind_dio_csum() argument
8196 if (dip->logical_offset == file_offset) { in btrfs_lookup_and_bind_dio_csum()
8198 file_offset); in btrfs_lookup_and_bind_dio_csum()
8206 file_offset -= dip->logical_offset; in btrfs_lookup_and_bind_dio_csum()
8207 file_offset >>= inode->i_sb->s_blocksize_bits; in btrfs_lookup_and_bind_dio_csum()
8208 io_bio->csum = (u8 *)(((u32 *)orig_io_bio->csum) + file_offset); in btrfs_lookup_and_bind_dio_csum()
8214 struct inode *inode, u64 file_offset, int async_submit) in btrfs_submit_dio_bio() argument
8236 file_offset, inode, in btrfs_submit_dio_bio()
8244 ret = btrfs_csum_one_bio(inode, bio, file_offset, 1); in btrfs_submit_dio_bio()
8249 file_offset); in btrfs_submit_dio_bio()
8266 u64 file_offset = dip->logical_offset; in btrfs_submit_direct_hook() local
8308 btrfs_io_bio(bio)->logical = file_offset; in btrfs_submit_direct_hook()
8323 status = btrfs_submit_dio_bio(bio, inode, file_offset, in btrfs_submit_direct_hook()
8333 file_offset += clone_len; in btrfs_submit_direct_hook()
8343 status = btrfs_submit_dio_bio(bio, inode, file_offset, async_submit); in btrfs_submit_direct_hook()
8364 loff_t file_offset) in btrfs_submit_direct() argument
8382 dip->logical_offset = file_offset; in btrfs_submit_direct()
8390 io_bio->logical = file_offset; in btrfs_submit_direct()
8443 file_offset, in btrfs_submit_direct()
8447 unlock_extent(&BTRFS_I(inode)->io_tree, file_offset, in btrfs_submit_direct()
8448 file_offset + dio_bio->bi_iter.bi_size - 1); in btrfs_submit_direct()
8714 end = min(page_end, ordered->file_offset + ordered->len - 1); in btrfs_invalidatepage()
8737 new_len = start - ordered->file_offset; in btrfs_invalidatepage()
9246 ordered->file_offset, ordered->len); in btrfs_destroy_inode()