Lines Matching refs:btrfs_root
182 struct btrfs_root *root, *tmp; in switch_commit_roots()
208 struct btrfs_root, root_list); in switch_commit_roots()
405 struct btrfs_root *root, in record_root_in_trans()
466 struct btrfs_root *root) in btrfs_add_dropped_root()
485 struct btrfs_root *root) in btrfs_record_root_in_trans()
551 static inline bool need_reserve_reloc_root(struct btrfs_root *root) in need_reserve_reloc_root()
565 start_transaction(struct btrfs_root *root, unsigned int num_items, in start_transaction()
779 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, in btrfs_start_transaction()
787 struct btrfs_root *root, in btrfs_start_transaction_fallback_global_rsv()
794 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root) in btrfs_join_transaction()
800 struct btrfs_trans_handle *btrfs_join_transaction_spacecache(struct btrfs_root *root) in btrfs_join_transaction_spacecache()
813 struct btrfs_trans_handle *btrfs_join_transaction_nostart(struct btrfs_root *root) in btrfs_join_transaction_nostart()
832 struct btrfs_trans_handle *btrfs_attach_transaction(struct btrfs_root *root) in btrfs_attach_transaction()
846 btrfs_attach_transaction_barrier(struct btrfs_root *root) in btrfs_attach_transaction_barrier()
1183 int btrfs_wait_tree_log_extents(struct btrfs_root *log_root, int mark) in btrfs_wait_tree_log_extents()
1247 struct btrfs_root *root) in update_cowonly_root()
1253 struct btrfs_root *tree_root = fs_info->tree_root; in update_cowonly_root()
1323 struct btrfs_root *root; in commit_cowonly_roots()
1326 root = list_entry(next, struct btrfs_root, dirty_list); in commit_cowonly_roots()
1380 struct btrfs_root *root = list_first_entry(&fs_info->dead_roots, in btrfs_maybe_wake_unfinished_drop()
1381 struct btrfs_root, in btrfs_maybe_wake_unfinished_drop()
1398 void btrfs_add_dead_root(struct btrfs_root *root) in btrfs_add_dead_root()
1422 struct btrfs_root *gang[8]; in commit_fs_roots()
1441 struct btrfs_root *root = gang[i]; in commit_fs_roots()
1490 int btrfs_defrag_root(struct btrfs_root *root) in btrfs_defrag_root()
1533 struct btrfs_root *src, in qgroup_account_snapshot()
1534 struct btrfs_root *parent, in qgroup_account_snapshot()
1638 struct btrfs_root *tree_root = fs_info->tree_root; in create_pending_snapshot()
1639 struct btrfs_root *root = pending->root; in create_pending_snapshot()
1640 struct btrfs_root *parent_root; in create_pending_snapshot()
2615 struct btrfs_root *root; in btrfs_clean_one_deleted_snapshot()
2624 struct btrfs_root, root_list); in btrfs_clean_one_deleted_snapshot()