Lines Matching refs:btrfs_root
163 struct btrfs_root *root, *tmp; in switch_commit_roots()
189 struct btrfs_root, root_list); in switch_commit_roots()
387 struct btrfs_root *root, in record_root_in_trans()
448 struct btrfs_root *root) in btrfs_add_dropped_root()
467 struct btrfs_root *root) in btrfs_record_root_in_trans()
533 static inline bool need_reserve_reloc_root(struct btrfs_root *root) in need_reserve_reloc_root()
547 start_transaction(struct btrfs_root *root, unsigned int num_items, in start_transaction()
747 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, in btrfs_start_transaction()
755 struct btrfs_root *root, in btrfs_start_transaction_fallback_global_rsv()
762 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root) in btrfs_join_transaction()
768 struct btrfs_trans_handle *btrfs_join_transaction_spacecache(struct btrfs_root *root) in btrfs_join_transaction_spacecache()
778 struct btrfs_trans_handle *btrfs_join_transaction_nostart(struct btrfs_root *root) in btrfs_join_transaction_nostart()
797 struct btrfs_trans_handle *btrfs_attach_transaction(struct btrfs_root *root) in btrfs_attach_transaction()
811 btrfs_attach_transaction_barrier(struct btrfs_root *root) in btrfs_attach_transaction_barrier()
1151 int btrfs_wait_tree_log_extents(struct btrfs_root *log_root, int mark) in btrfs_wait_tree_log_extents()
1215 struct btrfs_root *root) in update_cowonly_root()
1221 struct btrfs_root *tree_root = fs_info->tree_root; in update_cowonly_root()
1291 struct btrfs_root *root; in commit_cowonly_roots()
1294 root = list_entry(next, struct btrfs_root, dirty_list); in commit_cowonly_roots()
1348 struct btrfs_root *root = list_first_entry(&fs_info->dead_roots, in btrfs_maybe_wake_unfinished_drop()
1349 struct btrfs_root, in btrfs_maybe_wake_unfinished_drop()
1366 void btrfs_add_dead_root(struct btrfs_root *root) in btrfs_add_dead_root()
1390 struct btrfs_root *gang[8]; in commit_fs_roots()
1409 struct btrfs_root *root = gang[i]; in commit_fs_roots()
1458 int btrfs_defrag_root(struct btrfs_root *root) in btrfs_defrag_root()
1501 struct btrfs_root *src, in qgroup_account_snapshot()
1502 struct btrfs_root *parent, in qgroup_account_snapshot()
1606 struct btrfs_root *tree_root = fs_info->tree_root; in create_pending_snapshot()
1607 struct btrfs_root *root = pending->root; in create_pending_snapshot()
1608 struct btrfs_root *parent_root; in create_pending_snapshot()
2558 struct btrfs_root *root; in btrfs_clean_one_deleted_snapshot()
2567 struct btrfs_root, root_list); in btrfs_clean_one_deleted_snapshot()