Lines Matching defs:trans

176 static noinline void switch_commit_roots(struct btrfs_trans_handle *trans)  in switch_commit_roots()
218 static inline void extwriter_counter_inc(struct btrfs_transaction *trans, in extwriter_counter_inc()
225 static inline void extwriter_counter_dec(struct btrfs_transaction *trans, in extwriter_counter_dec()
232 static inline void extwriter_counter_init(struct btrfs_transaction *trans, in extwriter_counter_init()
238 static inline int extwriter_counter_read(struct btrfs_transaction *trans) in extwriter_counter_read()
250 void btrfs_trans_release_chunk_metadata(struct btrfs_trans_handle *trans) in btrfs_trans_release_chunk_metadata()
402 static int record_root_in_trans(struct btrfs_trans_handle *trans, in record_root_in_trans()
463 void btrfs_add_dropped_root(struct btrfs_trans_handle *trans, in btrfs_add_dropped_root()
482 int btrfs_record_root_in_trans(struct btrfs_trans_handle *trans, in btrfs_record_root_in_trans()
507 static inline int is_transaction_blocked(struct btrfs_transaction *trans) in is_transaction_blocked()
845 struct btrfs_trans_handle *trans; in btrfs_attach_transaction_barrier() local
970 bool btrfs_should_end_transaction(struct btrfs_trans_handle *trans) in btrfs_should_end_transaction()
984 static void btrfs_trans_release_metadata(struct btrfs_trans_handle *trans) in btrfs_trans_release_metadata()
1005 static int __btrfs_end_transaction(struct btrfs_trans_handle *trans, in __btrfs_end_transaction()
1058 int btrfs_end_transaction(struct btrfs_trans_handle *trans) in btrfs_end_transaction()
1063 int btrfs_end_transaction_throttle(struct btrfs_trans_handle *trans) in btrfs_end_transaction_throttle()
1210 static int btrfs_write_and_wait_transaction(struct btrfs_trans_handle *trans) in btrfs_write_and_wait_transaction()
1243 static int update_cowonly_root(struct btrfs_trans_handle *trans, in update_cowonly_root()
1280 static noinline int commit_cowonly_roots(struct btrfs_trans_handle *trans) in commit_cowonly_roots()
1416 static noinline int commit_fs_roots(struct btrfs_trans_handle *trans) in commit_fs_roots()
1490 struct btrfs_trans_handle *trans; in btrfs_defrag_root() local
1529 static int qgroup_account_snapshot(struct btrfs_trans_handle *trans, in qgroup_account_snapshot()
1628 static noinline int create_pending_snapshot(struct btrfs_trans_handle *trans, in create_pending_snapshot()
1904 static noinline int create_pending_snapshots(struct btrfs_trans_handle *trans) in create_pending_snapshots()
1945 struct btrfs_transaction *trans; in btrfs_transaction_in_commit() local
1958 struct btrfs_transaction *trans; in btrfs_transaction_blocked() local
1969 void btrfs_commit_transaction_async(struct btrfs_trans_handle *trans) in btrfs_commit_transaction_async()
1995 static void cleanup_transaction(struct btrfs_trans_handle *trans, int err) in cleanup_transaction()
2078 static void btrfs_cleanup_pending_block_groups(struct btrfs_trans_handle *trans) in btrfs_cleanup_pending_block_groups()
2127 static void add_pending_snapshot(struct btrfs_trans_handle *trans) in add_pending_snapshot()
2149 int btrfs_commit_transaction(struct btrfs_trans_handle *trans) in btrfs_commit_transaction()
2652 void __cold __btrfs_abort_transaction(struct btrfs_trans_handle *trans, in __btrfs_abort_transaction()