Lines Matching refs:extent_offset
1325 u64 extent_offset; in run_delalloc_nocow() local
1413 extent_offset = btrfs_file_extent_offset(leaf, fi); in run_delalloc_nocow()
1442 extent_offset, disk_bytenr); in run_delalloc_nocow()
1457 disk_bytenr += extent_offset; in run_delalloc_nocow()
1530 u64 orig_start = found_key.offset - extent_offset; in run_delalloc_nocow()
2338 u64 extent_offset; member
2347 u64 extent_offset; member
2440 u64 extent_offset; in record_one_backref() local
2514 extent_offset = btrfs_file_extent_offset(leaf, extent); in record_one_backref()
2517 if (extent_offset >= old->extent_offset + old->offset + in record_one_backref()
2518 old->len || extent_offset + num_bytes <= in record_one_backref()
2519 old->extent_offset + old->offset) in record_one_backref()
2534 backref->extent_offset = extent_offset; in record_one_backref()
2556 old->extent_offset, fs_info, in record_extent_backrefs()
2700 if (backref->extent_offset < old->extent_offset + old->offset) in relink_extent_backref()
2701 start += old->extent_offset + old->offset - in relink_extent_backref()
2702 backref->extent_offset; in relink_extent_backref()
2704 len = min(backref->extent_offset + backref->num_bytes, in relink_extent_backref()
2705 old->extent_offset + old->offset + old->len); in relink_extent_backref()
2706 len -= max(backref->extent_offset, old->extent_offset + old->offset); in relink_extent_backref()
2909 u64 extent_offset; in record_old_file_extents() local
2942 extent_offset = btrfs_file_extent_offset(l, extent); in record_old_file_extents()
2952 old->extent_offset = extent_offset; in record_old_file_extents()
4624 u64 extent_offset = 0; in btrfs_truncate_inode_items() local
4777 extent_offset = found_key.offset - in btrfs_truncate_inode_items()
4846 ino, extent_offset); in btrfs_truncate_inode_items()
6888 size_t pg_offset, u64 extent_offset, in uncompress_inline() argument
6913 extent_offset, inline_size, max_size); in uncompress_inline()
7095 size_t extent_offset; in btrfs_get_extent() local
7102 extent_offset = page_offset(page) + pg_offset - extent_start; in btrfs_get_extent()
7104 size - extent_offset); in btrfs_get_extent()
7105 em->start = extent_start + extent_offset; in btrfs_get_extent()
7109 ptr = btrfs_file_extent_inline_start(item) + extent_offset; in btrfs_get_extent()
7114 extent_offset, item); in btrfs_get_extent()