• Home
  • Raw
  • Download

Lines Matching refs:btrfs_root

51 	struct btrfs_root *root;
152 struct btrfs_root *extent_root;
520 static bool reloc_root_is_dead(struct btrfs_root *root) in reloc_root_is_dead()
540 static bool have_reloc_root(struct btrfs_root *root) in have_reloc_root()
549 static int should_ignore_root(struct btrfs_root *root) in should_ignore_root()
551 struct btrfs_root *reloc_root; in should_ignore_root()
578 static struct btrfs_root *find_reloc_root(struct reloc_control *rc, in find_reloc_root()
583 struct btrfs_root *root = NULL; in find_reloc_root()
589 root = (struct btrfs_root *)node->data; in find_reloc_root()
610 static struct btrfs_root *read_fs_root(struct btrfs_fs_info *fs_info, in read_fs_root()
690 struct btrfs_root *root; in build_backref_tree()
1203 struct btrfs_root *src, in clone_backref_node()
1204 struct btrfs_root *dest) in clone_backref_node()
1206 struct btrfs_root *reloc_root = src->reloc_root; in clone_backref_node()
1290 static int __must_check __add_reloc_root(struct btrfs_root *root) in __add_reloc_root()
1322 static void __del_reloc_root(struct btrfs_root *root) in __del_reloc_root()
1339 ASSERT(!node || (struct btrfs_root *)node->data == root); in __del_reloc_root()
1352 static int __update_reloc_root(struct btrfs_root *root) in __update_reloc_root()
1370 BUG_ON((struct btrfs_root *)node->data != root); in __update_reloc_root()
1382 static struct btrfs_root *create_reloc_root(struct btrfs_trans_handle *trans, in create_reloc_root()
1383 struct btrfs_root *root, u64 objectid) in create_reloc_root()
1386 struct btrfs_root *reloc_root; in create_reloc_root()
1460 struct btrfs_root *root) in btrfs_init_reloc_root()
1463 struct btrfs_root *reloc_root; in btrfs_init_reloc_root()
1520 struct btrfs_root *root) in btrfs_update_reloc_root()
1523 struct btrfs_root *reloc_root; in btrfs_update_reloc_root()
1564 static struct inode *find_next_inode(struct btrfs_root *root, u64 objectid) in find_next_inode()
1629 struct btrfs_root *root = BTRFS_I(reloc_inode)->root; in get_new_location()
1677 struct btrfs_root *root, in replace_file_extents()
1819 struct btrfs_root *dest, struct btrfs_root *src, in replace_path()
2028 int walk_up_reloc_tree(struct btrfs_root *root, struct btrfs_path *path, in walk_up_reloc_tree()
2065 int walk_down_reloc_tree(struct btrfs_root *root, struct btrfs_path *path, in walk_down_reloc_tree()
2121 static int invalidate_extent_cache(struct btrfs_root *root, in invalidate_extent_cache()
2213 struct btrfs_root *root) in insert_dirty_subvol()
2215 struct btrfs_root *reloc_root = root->reloc_root; in insert_dirty_subvol()
2237 struct btrfs_root *root; in clean_dirty_subvols()
2238 struct btrfs_root *next; in clean_dirty_subvols()
2246 struct btrfs_root *reloc_root = root->reloc_root; in clean_dirty_subvols()
2278 struct btrfs_root *root) in merge_reloc_root()
2284 struct btrfs_root *reloc_root; in merge_reloc_root()
2450 struct btrfs_root *root = rc->extent_root; in prepare_to_merge()
2452 struct btrfs_root *reloc_root; in prepare_to_merge()
2493 struct btrfs_root, root_list); in prepare_to_merge()
2523 struct btrfs_root *reloc_root; in free_reloc_roots()
2526 reloc_root = list_entry(list->next, struct btrfs_root, in free_reloc_roots()
2540 struct btrfs_root *root; in merge_reloc_roots()
2541 struct btrfs_root *reloc_root; in merge_reloc_roots()
2561 struct btrfs_root, root_list); in merge_reloc_roots()
2636 struct btrfs_root *reloc_root) in record_reloc_root_in_trans()
2639 struct btrfs_root *root; in record_reloc_root_in_trans()
2652 struct btrfs_root *select_reloc_root(struct btrfs_trans_handle *trans, in select_reloc_root()
2658 struct btrfs_root *root; in select_reloc_root()
2715 struct btrfs_root *select_one_root(struct backref_node *node) in select_one_root()
2718 struct btrfs_root *root; in select_one_root()
2719 struct btrfs_root *fs_root = NULL; in select_one_root()
2788 struct btrfs_root *root = rc->extent_root; in reserve_metadata_space()
2842 struct btrfs_root *root; in do_relocation()
3127 struct btrfs_root *root; in relocate_tree_block()
3648 struct btrfs_root *root = fs_info->tree_root; in delete_block_group_cache()
3697 struct btrfs_root *root; in find_data_references()
4283 struct btrfs_root *root, u64 objectid) in __insert_orphan_inode()
4322 struct btrfs_root *root; in create_reloc_inode()
4411 struct btrfs_root *extent_root = fs_info->extent_root; in btrfs_relocate_block_group()
4526 static noinline_for_stack int mark_garbage_root(struct btrfs_root *root) in mark_garbage_root()
4555 int btrfs_recover_relocation(struct btrfs_root *root) in btrfs_recover_relocation()
4560 struct btrfs_root *fs_root; in btrfs_recover_relocation()
4561 struct btrfs_root *reloc_root; in btrfs_recover_relocation()
4653 struct btrfs_root, root_list); in btrfs_recover_relocation()
4765 struct btrfs_root *root, struct extent_buffer *buf, in btrfs_reloc_cow_block()
4825 struct btrfs_root *root = pending->root; in btrfs_reloc_pre_snapshot()
4856 struct btrfs_root *root = pending->root; in btrfs_reloc_post_snapshot()
4857 struct btrfs_root *reloc_root; in btrfs_reloc_post_snapshot()
4858 struct btrfs_root *new_root; in btrfs_reloc_post_snapshot()