Lines Matching refs:extent
3964 struct btrfs_file_extent_item *extent; in copy_items() local
4045 extent = btrfs_item_ptr(src, start_slot + i, in copy_items()
4048 if (btrfs_file_extent_generation(src, extent) < trans->transid) in copy_items()
4051 found_type = btrfs_file_extent_type(src, extent); in copy_items()
4055 extent); in copy_items()
4061 extent); in copy_items()
4062 cs = btrfs_file_extent_offset(src, extent); in copy_items()
4064 extent); in copy_items()
4066 extent)) { in copy_items()
4137 extent = btrfs_item_ptr(src, src_path->slots[0], in copy_items()
4139 if (btrfs_file_extent_type(src, extent) == in copy_items()
4141 len = btrfs_file_extent_ram_bytes(src, extent); in copy_items()
4145 len = btrfs_file_extent_num_bytes(src, extent); in copy_items()
4203 extent = btrfs_item_ptr(src, i, struct btrfs_file_extent_item); in copy_items()
4204 if (btrfs_file_extent_type(src, extent) == in copy_items()
4206 len = btrfs_file_extent_ram_bytes(src, extent); in copy_items()
4210 len = btrfs_file_extent_num_bytes(src, extent); in copy_items()
4796 struct btrfs_file_extent_item *extent; in btrfs_log_trailing_hole() local
4806 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_log_trailing_hole()
4809 if (btrfs_file_extent_type(leaf, extent) == in btrfs_log_trailing_hole()
4813 len = btrfs_file_extent_num_bytes(leaf, extent); in btrfs_log_trailing_hole()