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()
1617 struct btrfs_root *btrfs_get_fs_root(struct btrfs_fs_info *fs_info, in btrfs_get_fs_root()
1631 struct btrfs_root *btrfs_get_new_fs_root(struct btrfs_fs_info *fs_info, in btrfs_get_new_fs_root()
1651 struct btrfs_root *btrfs_get_fs_root_commit_root(struct btrfs_fs_info *fs_info, in btrfs_get_fs_root_commit_root()
1655 struct btrfs_root *root; in btrfs_get_fs_root_commit_root()
1704 struct btrfs_root *root = arg; in cleaner_kthread()
1772 struct btrfs_root *root = arg; in transaction_kthread()
2008 static void free_root_extent_buffers(struct btrfs_root *root) in free_root_extent_buffers()
2035 void btrfs_put_root(struct btrfs_root *root) in btrfs_put_root()
2061 struct btrfs_root *gang[8]; in btrfs_free_fs_roots()
2066 struct btrfs_root, root_list); in btrfs_free_fs_roots()
2247 struct btrfs_root *log_tree_root; in btrfs_replay_log()
2296 struct btrfs_root *tree_root = fs_info->tree_root; in btrfs_read_roots()
2297 struct btrfs_root *root; in btrfs_read_roots()
2594 struct btrfs_root *tree_root = fs_info->tree_root; in init_tree_roots()
2887 struct btrfs_root *tree_root; in open_ctree()
2888 struct btrfs_root *chunk_root; in open_ctree()
3925 struct btrfs_root *root) in btrfs_drop_and_free_fs_root()
3959 struct btrfs_root *gang[8]; in btrfs_cleanup_fs_roots()
4008 struct btrfs_root *root = fs_info->tree_root; in btrfs_commit_super()
4175 struct btrfs_root *root; in btrfs_mark_buffer_dirty()
4268 struct btrfs_root *gang[8]; in btrfs_drop_all_logs()
4296 static void btrfs_destroy_ordered_extents(struct btrfs_root *root) in btrfs_destroy_ordered_extents()
4313 struct btrfs_root *root; in btrfs_destroy_all_ordered_extents()
4321 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_ordered_extents()
4426 static void btrfs_destroy_delalloc_inodes(struct btrfs_root *root) in btrfs_destroy_delalloc_inodes()
4459 struct btrfs_root *root; in btrfs_destroy_all_delalloc_inodes()
4467 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_delalloc_inodes()