Lines Matching defs:trans
111 static noinline void switch_commit_roots(struct btrfs_transaction *trans, in switch_commit_roots()
141 static inline void extwriter_counter_inc(struct btrfs_transaction *trans, in extwriter_counter_inc()
148 static inline void extwriter_counter_dec(struct btrfs_transaction *trans, in extwriter_counter_dec()
155 static inline void extwriter_counter_init(struct btrfs_transaction *trans, in extwriter_counter_init()
161 static inline int extwriter_counter_read(struct btrfs_transaction *trans) in extwriter_counter_read()
296 static int record_root_in_trans(struct btrfs_trans_handle *trans, in record_root_in_trans()
354 void btrfs_add_dropped_root(struct btrfs_trans_handle *trans, in btrfs_add_dropped_root()
372 int btrfs_record_root_in_trans(struct btrfs_trans_handle *trans, in btrfs_record_root_in_trans()
394 static inline int is_transaction_blocked(struct btrfs_transaction *trans) in is_transaction_blocked()
599 struct btrfs_trans_handle *trans; in btrfs_start_transaction_fallback_global_rsv() local
678 struct btrfs_trans_handle *trans; in btrfs_attach_transaction_barrier() local
758 static int should_end_transaction(struct btrfs_trans_handle *trans, in should_end_transaction()
768 int btrfs_should_end_transaction(struct btrfs_trans_handle *trans, in btrfs_should_end_transaction()
791 static int __btrfs_end_transaction(struct btrfs_trans_handle *trans, in __btrfs_end_transaction()
889 int btrfs_end_transaction(struct btrfs_trans_handle *trans, in btrfs_end_transaction()
895 int btrfs_end_transaction_throttle(struct btrfs_trans_handle *trans, in btrfs_end_transaction_throttle()
1045 static int btrfs_write_and_wait_transaction(struct btrfs_trans_handle *trans, in btrfs_write_and_wait_transaction()
1068 static int update_cowonly_root(struct btrfs_trans_handle *trans, in update_cowonly_root()
1104 static noinline int commit_cowonly_roots(struct btrfs_trans_handle *trans, in commit_cowonly_roots()
1198 static noinline int commit_fs_roots(struct btrfs_trans_handle *trans, in commit_fs_roots()
1259 struct btrfs_trans_handle *trans; in btrfs_defrag_root() local
1298 static noinline int create_pending_snapshot(struct btrfs_trans_handle *trans, in create_pending_snapshot()
1573 static noinline int create_pending_snapshots(struct btrfs_trans_handle *trans, in create_pending_snapshots()
1613 struct btrfs_transaction *trans; in btrfs_transaction_in_commit() local
1626 struct btrfs_transaction *trans; in btrfs_transaction_blocked() local
1642 struct btrfs_transaction *trans) in wait_current_trans_commit_start()
1654 struct btrfs_transaction *trans) in wait_current_trans_commit_start_and_unblock()
1689 int btrfs_commit_transaction_async(struct btrfs_trans_handle *trans, in btrfs_commit_transaction_async()
1738 static void cleanup_transaction(struct btrfs_trans_handle *trans, in cleanup_transaction()
1809 int btrfs_commit_transaction(struct btrfs_trans_handle *trans, in btrfs_commit_transaction()