Lines Matching refs:eb_rewin
737 struct extent_buffer *eb_rewin; in btrfs_tree_mod_log_rewind() local
752 eb_rewin = alloc_dummy_extent_buffer(fs_info, eb->start); in btrfs_tree_mod_log_rewind()
753 if (!eb_rewin) { in btrfs_tree_mod_log_rewind()
758 btrfs_set_header_bytenr(eb_rewin, eb->start); in btrfs_tree_mod_log_rewind()
759 btrfs_set_header_backref_rev(eb_rewin, in btrfs_tree_mod_log_rewind()
761 btrfs_set_header_owner(eb_rewin, btrfs_header_owner(eb)); in btrfs_tree_mod_log_rewind()
762 btrfs_set_header_level(eb_rewin, btrfs_header_level(eb)); in btrfs_tree_mod_log_rewind()
764 eb_rewin = btrfs_clone_extent_buffer(eb); in btrfs_tree_mod_log_rewind()
765 if (!eb_rewin) { in btrfs_tree_mod_log_rewind()
775 btrfs_set_buffer_lockdep_class(btrfs_header_owner(eb_rewin), in btrfs_tree_mod_log_rewind()
776 eb_rewin, btrfs_header_level(eb_rewin)); in btrfs_tree_mod_log_rewind()
777 btrfs_tree_read_lock(eb_rewin); in btrfs_tree_mod_log_rewind()
778 tree_mod_log_rewind(fs_info, eb_rewin, time_seq, tm); in btrfs_tree_mod_log_rewind()
779 WARN_ON(btrfs_header_nritems(eb_rewin) > in btrfs_tree_mod_log_rewind()
782 return eb_rewin; in btrfs_tree_mod_log_rewind()