Lines Matching refs:old_root
274 struct tree_mod_root old_root; member
576 static noinline int tree_mod_log_insert_root(struct extent_buffer *old_root, in tree_mod_log_insert_root() argument
579 struct btrfs_fs_info *fs_info = old_root->fs_info; in tree_mod_log_insert_root()
589 if (log_removal && btrfs_header_level(old_root) > 0) { in tree_mod_log_insert_root()
590 nritems = btrfs_header_nritems(old_root); in tree_mod_log_insert_root()
598 tm_list[i] = alloc_tree_mod_elem(old_root, i, in tree_mod_log_insert_root()
614 tm->old_root.logical = old_root->start; in tree_mod_log_insert_root()
615 tm->old_root.level = btrfs_header_level(old_root); in tree_mod_log_insert_root()
616 tm->generation = btrfs_header_generation(old_root); in tree_mod_log_insert_root()
1173 root_logical = tm->old_root.logical; in __tree_mod_log_oldest_root()
1338 struct tree_mod_root *old_root = NULL; in get_old_root() local
1349 old_root = &tm->old_root; in get_old_root()
1351 logical = old_root->logical; in get_old_root()
1352 level = old_root->level; in get_old_root()
1359 if (old_root && tm && tm->op != MOD_LOG_KEY_REMOVE_WHILE_FREEING) { in get_old_root()
1395 } else if (old_root) { in get_old_root()
1409 if (old_root) { in get_old_root()
1413 btrfs_set_header_level(eb, old_root->level); in get_old_root()
1436 level = tm->old_root.level; in btrfs_old_root_level()