Lines Matching refs:btrfs_trans_handle

153 static noinline void switch_commit_roots(struct btrfs_trans_handle *trans)  in switch_commit_roots()
255 void btrfs_trans_release_chunk_metadata(struct btrfs_trans_handle *trans) in btrfs_trans_release_chunk_metadata()
399 static int record_root_in_trans(struct btrfs_trans_handle *trans, in record_root_in_trans()
460 void btrfs_add_dropped_root(struct btrfs_trans_handle *trans, in btrfs_add_dropped_root()
479 int btrfs_record_root_in_trans(struct btrfs_trans_handle *trans, in btrfs_record_root_in_trans()
557 static struct btrfs_trans_handle *
564 struct btrfs_trans_handle *h; in start_transaction()
754 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, in btrfs_start_transaction()
761 struct btrfs_trans_handle *btrfs_start_transaction_fallback_global_rsv( in btrfs_start_transaction_fallback_global_rsv()
769 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root) in btrfs_join_transaction()
775 struct btrfs_trans_handle *btrfs_join_transaction_spacecache(struct btrfs_root *root) in btrfs_join_transaction_spacecache()
785 struct btrfs_trans_handle *btrfs_join_transaction_nostart(struct btrfs_root *root) in btrfs_join_transaction_nostart()
804 struct btrfs_trans_handle *btrfs_attach_transaction(struct btrfs_root *root) in btrfs_attach_transaction()
817 struct btrfs_trans_handle *
820 struct btrfs_trans_handle *trans; in btrfs_attach_transaction_barrier()
899 static int should_end_transaction(struct btrfs_trans_handle *trans) in should_end_transaction()
909 int btrfs_should_end_transaction(struct btrfs_trans_handle *trans) in btrfs_should_end_transaction()
921 static void btrfs_trans_release_metadata(struct btrfs_trans_handle *trans) in btrfs_trans_release_metadata()
942 static int __btrfs_end_transaction(struct btrfs_trans_handle *trans, in __btrfs_end_transaction()
992 int btrfs_end_transaction(struct btrfs_trans_handle *trans) in btrfs_end_transaction()
997 int btrfs_end_transaction_throttle(struct btrfs_trans_handle *trans) in btrfs_end_transaction_throttle()
1146 static int btrfs_write_and_wait_transaction(struct btrfs_trans_handle *trans) in btrfs_write_and_wait_transaction()
1179 static int update_cowonly_root(struct btrfs_trans_handle *trans, in update_cowonly_root()
1216 static noinline int commit_cowonly_roots(struct btrfs_trans_handle *trans) in commit_cowonly_roots()
1317 static noinline int commit_fs_roots(struct btrfs_trans_handle *trans) in commit_fs_roots()
1377 struct btrfs_trans_handle *trans; in btrfs_defrag_root()
1416 static int qgroup_account_snapshot(struct btrfs_trans_handle *trans, in qgroup_account_snapshot()
1504 static noinline int create_pending_snapshot(struct btrfs_trans_handle *trans, in create_pending_snapshot()
1774 static noinline int create_pending_snapshots(struct btrfs_trans_handle *trans) in create_pending_snapshots()
1867 struct btrfs_trans_handle *newtrans;
1889 int btrfs_commit_transaction_async(struct btrfs_trans_handle *trans, in btrfs_commit_transaction_async()
1937 static void cleanup_transaction(struct btrfs_trans_handle *trans, int err) in cleanup_transaction()
2001 static void btrfs_cleanup_pending_block_groups(struct btrfs_trans_handle *trans) in btrfs_cleanup_pending_block_groups()
2012 static inline int btrfs_start_delalloc_flush(struct btrfs_trans_handle *trans) in btrfs_start_delalloc_flush()
2049 static inline void btrfs_wait_delalloc_flush(struct btrfs_trans_handle *trans) in btrfs_wait_delalloc_flush()
2071 int btrfs_commit_transaction(struct btrfs_trans_handle *trans) in btrfs_commit_transaction()