Lines Matching refs:btrfs_root
132 struct btrfs_root *root, *tmp; in switch_commit_roots()
149 struct btrfs_root, root_list); in switch_commit_roots()
187 static noinline int join_transaction(struct btrfs_root *root, unsigned int type) in join_transaction()
314 struct btrfs_root *root, in record_root_in_trans()
373 struct btrfs_root *root) in btrfs_add_dropped_root()
391 struct btrfs_root *root) in btrfs_record_root_in_trans()
423 static void wait_current_trans(struct btrfs_root *root) in wait_current_trans()
442 static int may_wait_transaction(struct btrfs_root *root, int type) in may_wait_transaction()
457 static inline bool need_reserve_reloc_root(struct btrfs_root *root) in need_reserve_reloc_root()
469 start_transaction(struct btrfs_root *root, unsigned int num_items, in start_transaction()
604 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, in btrfs_start_transaction()
611 struct btrfs_root *root, in btrfs_start_transaction_fallback_global_rsv()
646 struct btrfs_root *root, in btrfs_start_transaction_lflush()
653 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root) in btrfs_join_transaction()
659 struct btrfs_trans_handle *btrfs_join_transaction_nolock(struct btrfs_root *root) in btrfs_join_transaction_nolock()
665 struct btrfs_trans_handle *btrfs_start_ioctl_transaction(struct btrfs_root *root) in btrfs_start_ioctl_transaction()
684 struct btrfs_trans_handle *btrfs_attach_transaction(struct btrfs_root *root) in btrfs_attach_transaction()
698 btrfs_attach_transaction_barrier(struct btrfs_root *root) in btrfs_attach_transaction_barrier()
711 static noinline void wait_for_commit(struct btrfs_root *root, in wait_for_commit()
717 int btrfs_wait_for_commit(struct btrfs_root *root, u64 transid) in btrfs_wait_for_commit()
775 void btrfs_throttle(struct btrfs_root *root) in btrfs_throttle()
782 struct btrfs_root *root) in should_end_transaction()
792 struct btrfs_root *root) in btrfs_should_end_transaction()
815 struct btrfs_root *root, int throttle) in __btrfs_end_transaction()
914 struct btrfs_root *root) in btrfs_end_transaction()
920 struct btrfs_root *root) in btrfs_end_transaction_throttle()
930 int btrfs_write_marked_extents(struct btrfs_root *root, in btrfs_write_marked_extents()
984 int btrfs_wait_marked_extents(struct btrfs_root *root, in btrfs_wait_marked_extents()
1049 static int btrfs_write_and_wait_marked_extents(struct btrfs_root *root, in btrfs_write_and_wait_marked_extents()
1069 struct btrfs_root *root) in btrfs_write_and_wait_transaction()
1092 struct btrfs_root *root) in update_cowonly_root()
1097 struct btrfs_root *tree_root = root->fs_info->tree_root; in update_cowonly_root()
1128 struct btrfs_root *root) in commit_cowonly_roots()
1172 root = list_entry(next, struct btrfs_root, dirty_list); in commit_cowonly_roots()
1210 void btrfs_add_dead_root(struct btrfs_root *root) in btrfs_add_dead_root()
1222 struct btrfs_root *root) in commit_fs_roots()
1224 struct btrfs_root *gang[8]; in commit_fs_roots()
1279 int btrfs_defrag_root(struct btrfs_root *root) in btrfs_defrag_root()
1320 struct btrfs_root *src, in qgroup_account_snapshot()
1321 struct btrfs_root *parent, in qgroup_account_snapshot()
1413 struct btrfs_root *tree_root = fs_info->tree_root; in create_pending_snapshot()
1414 struct btrfs_root *root = pending->root; in create_pending_snapshot()
1415 struct btrfs_root *parent_root; in create_pending_snapshot()
1693 static void update_super_roots(struct btrfs_root *root) in update_super_roots()
1745 static void wait_current_trans_commit_start(struct btrfs_root *root, in wait_current_trans_commit_start()
1757 static void wait_current_trans_commit_start_and_unblock(struct btrfs_root *root, in wait_current_trans_commit_start_and_unblock()
1771 struct btrfs_root *root;
1794 struct btrfs_root *root, in btrfs_commit_transaction_async()
1843 struct btrfs_root *root, int err) in cleanup_transaction()
1914 struct btrfs_root *root) in btrfs_commit_transaction()
2311 int btrfs_clean_one_deleted_snapshot(struct btrfs_root *root) in btrfs_clean_one_deleted_snapshot()
2322 struct btrfs_root, root_list); in btrfs_clean_one_deleted_snapshot()