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()
1626 struct btrfs_root *btrfs_get_fs_root(struct btrfs_fs_info *fs_info, in btrfs_get_fs_root()
1640 struct btrfs_root *btrfs_get_new_fs_root(struct btrfs_fs_info *fs_info, in btrfs_get_new_fs_root()
1660 struct btrfs_root *btrfs_get_fs_root_commit_root(struct btrfs_fs_info *fs_info, in btrfs_get_fs_root_commit_root()
1664 struct btrfs_root *root; in btrfs_get_fs_root_commit_root()
1713 struct btrfs_root *root = arg; in cleaner_kthread()
1781 struct btrfs_root *root = arg; in transaction_kthread()
2017 static void free_root_extent_buffers(struct btrfs_root *root) in free_root_extent_buffers()
2044 void btrfs_put_root(struct btrfs_root *root) in btrfs_put_root()
2070 struct btrfs_root *gang[8]; in btrfs_free_fs_roots()
2075 struct btrfs_root, root_list); in btrfs_free_fs_roots()
2256 struct btrfs_root *log_tree_root; in btrfs_replay_log()
2305 struct btrfs_root *tree_root = fs_info->tree_root; in btrfs_read_roots()
2306 struct btrfs_root *root; in btrfs_read_roots()
2621 struct btrfs_root *tree_root = fs_info->tree_root; in init_tree_roots()
2914 struct btrfs_root *tree_root; in open_ctree()
2915 struct btrfs_root *chunk_root; in open_ctree()
3972 struct btrfs_root *root) in btrfs_drop_and_free_fs_root()
4006 struct btrfs_root *gang[8]; in btrfs_cleanup_fs_roots()
4055 struct btrfs_root *root = fs_info->tree_root; in btrfs_commit_super()
4247 struct btrfs_root *root; in btrfs_mark_buffer_dirty()
4340 struct btrfs_root *gang[8]; in btrfs_drop_all_logs()
4368 static void btrfs_destroy_ordered_extents(struct btrfs_root *root) in btrfs_destroy_ordered_extents()
4385 struct btrfs_root *root; in btrfs_destroy_all_ordered_extents()
4393 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_ordered_extents()
4498 static void btrfs_destroy_delalloc_inodes(struct btrfs_root *root) in btrfs_destroy_delalloc_inodes()
4531 struct btrfs_root *root; in btrfs_destroy_all_delalloc_inodes()
4539 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_delalloc_inodes()