Lines Matching refs:btrfs_root
54 static void btrfs_destroy_ordered_extents(struct btrfs_root *root);
57 static void btrfs_destroy_delalloc_inodes(struct btrfs_root *root);
781 struct btrfs_root *root; in btree_csum_one_bio()
1022 static void __setup_root(struct btrfs_root *root, struct btrfs_fs_info *fs_info, in __setup_root()
1099 static struct btrfs_root *btrfs_alloc_root(struct btrfs_fs_info *fs_info, in btrfs_alloc_root()
1102 struct btrfs_root *root = kzalloc(sizeof(*root), flags); in btrfs_alloc_root()
1110 struct btrfs_root *btrfs_alloc_dummy_root(struct btrfs_fs_info *fs_info) in btrfs_alloc_dummy_root()
1112 struct btrfs_root *root; in btrfs_alloc_dummy_root()
1128 struct btrfs_root *btrfs_create_tree(struct btrfs_trans_handle *trans, in btrfs_create_tree()
1133 struct btrfs_root *tree_root = fs_info->tree_root; in btrfs_create_tree()
1134 struct btrfs_root *root; in btrfs_create_tree()
1201 static struct btrfs_root *alloc_log_tree(struct btrfs_trans_handle *trans, in alloc_log_tree()
1204 struct btrfs_root *root; in alloc_log_tree()
1242 struct btrfs_root *log_root; in btrfs_init_log_root_tree()
1253 struct btrfs_root *root) in btrfs_add_log_tree()
1256 struct btrfs_root *log_root; in btrfs_add_log_tree()
1284 static struct btrfs_root *read_tree_root_path(struct btrfs_root *tree_root, in read_tree_root_path()
1288 struct btrfs_root *root; in read_tree_root_path()
1326 struct btrfs_root *btrfs_read_tree_root(struct btrfs_root *tree_root, in btrfs_read_tree_root()
1329 struct btrfs_root *root; in btrfs_read_tree_root()
1346 static int btrfs_init_fs_root(struct btrfs_root *root, dev_t anon_dev) in btrfs_init_fs_root()
1412 static struct btrfs_root *btrfs_lookup_fs_root(struct btrfs_fs_info *fs_info, in btrfs_lookup_fs_root()
1415 struct btrfs_root *root; in btrfs_lookup_fs_root()
1426 static struct btrfs_root *btrfs_get_global_root(struct btrfs_fs_info *fs_info, in btrfs_get_global_root()
1452 struct btrfs_root *root) in btrfs_insert_fs_root()
1477 struct btrfs_root *root; in btrfs_check_leaked_roots()
1483 struct btrfs_root, leak_list); in btrfs_check_leaked_roots()
1541 static struct btrfs_root *btrfs_get_root_ref(struct btrfs_fs_info *fs_info, in btrfs_get_root_ref()
1545 struct btrfs_root *root; in btrfs_get_root_ref()
1635 struct btrfs_root *btrfs_get_fs_root(struct btrfs_fs_info *fs_info, in btrfs_get_fs_root()
1649 struct btrfs_root *btrfs_get_new_fs_root(struct btrfs_fs_info *fs_info, in btrfs_get_new_fs_root()
1669 struct btrfs_root *btrfs_get_fs_root_commit_root(struct btrfs_fs_info *fs_info, in btrfs_get_fs_root_commit_root()
1673 struct btrfs_root *root; in btrfs_get_fs_root_commit_root()
1722 struct btrfs_root *root = arg; in cleaner_kthread()
1790 struct btrfs_root *root = arg; in transaction_kthread()
2026 static void free_root_extent_buffers(struct btrfs_root *root) in free_root_extent_buffers()
2053 void btrfs_put_root(struct btrfs_root *root) in btrfs_put_root()
2079 struct btrfs_root *gang[8]; in btrfs_free_fs_roots()
2084 struct btrfs_root, root_list); in btrfs_free_fs_roots()
2265 struct btrfs_root *log_tree_root; in btrfs_replay_log()
2314 struct btrfs_root *tree_root = fs_info->tree_root; in btrfs_read_roots()
2315 struct btrfs_root *root; in btrfs_read_roots()
2630 struct btrfs_root *tree_root = fs_info->tree_root; in init_tree_roots()
2923 struct btrfs_root *tree_root; in open_ctree()
2924 struct btrfs_root *chunk_root; in open_ctree()
3981 struct btrfs_root *root) in btrfs_drop_and_free_fs_root()
4015 struct btrfs_root *gang[8]; in btrfs_cleanup_fs_roots()
4064 struct btrfs_root *root = fs_info->tree_root; in btrfs_commit_super()
4256 struct btrfs_root *root; in btrfs_mark_buffer_dirty()
4349 struct btrfs_root *gang[8]; in btrfs_drop_all_logs()
4377 static void btrfs_destroy_ordered_extents(struct btrfs_root *root) in btrfs_destroy_ordered_extents()
4394 struct btrfs_root *root; in btrfs_destroy_all_ordered_extents()
4402 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_ordered_extents()
4507 static void btrfs_destroy_delalloc_inodes(struct btrfs_root *root) in btrfs_destroy_delalloc_inodes()
4540 struct btrfs_root *root; in btrfs_destroy_all_delalloc_inodes()
4548 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_delalloc_inodes()