Lines Matching refs:eb_root
597 static struct tree_mod_elem *tree_mod_log_oldest_root(struct extent_buffer *eb_root, in tree_mod_log_oldest_root() argument
602 u64 root_logical = eb_root->start; in tree_mod_log_oldest_root()
615 tm = tree_mod_log_search_oldest(eb_root->fs_info, root_logical, in tree_mod_log_oldest_root()
797 struct extent_buffer *eb_root; in btrfs_get_old_root() local
805 eb_root = btrfs_read_lock_root_node(root); in btrfs_get_old_root()
806 tm = tree_mod_log_oldest_root(eb_root, time_seq); in btrfs_get_old_root()
808 return eb_root; in btrfs_get_old_root()
816 logical = eb_root->start; in btrfs_get_old_root()
817 level = btrfs_header_level(eb_root); in btrfs_get_old_root()
822 btrfs_tree_read_unlock(eb_root); in btrfs_get_old_root()
823 free_extent_buffer(eb_root); in btrfs_get_old_root()
859 eb_root_owner = btrfs_header_owner(eb_root); in btrfs_get_old_root()
860 btrfs_tree_read_unlock(eb_root); in btrfs_get_old_root()
861 free_extent_buffer(eb_root); in btrfs_get_old_root()
864 eb = btrfs_clone_extent_buffer(eb_root); in btrfs_get_old_root()
865 btrfs_tree_read_unlock(eb_root); in btrfs_get_old_root()
866 free_extent_buffer(eb_root); in btrfs_get_old_root()
894 struct extent_buffer *eb_root = btrfs_root_node(root); in btrfs_old_root_level() local
896 tm = tree_mod_log_oldest_root(eb_root, time_seq); in btrfs_old_root_level()
900 level = btrfs_header_level(eb_root); in btrfs_old_root_level()
902 free_extent_buffer(eb_root); in btrfs_old_root_level()