Lines Matching defs:trans
153 #define TRANS_ABORTED(trans) (unlikely(READ_ONCE((trans)->aborted)))
173 static inline void btrfs_set_inode_last_trans(struct btrfs_trans_handle *trans,
177 inode->last_trans = trans->transaction->transid;
187 static inline void btrfs_set_skip_qgroup(struct btrfs_trans_handle *trans,
192 delayed_refs = &trans->transaction->delayed_refs;
197 static inline void btrfs_clear_skip_qgroup(struct btrfs_trans_handle *trans)
201 delayed_refs = &trans->transaction->delayed_refs;
212 #define btrfs_abort_transaction(trans, errno) \
217 &((trans)->fs_info->fs_state))) { \
225 btrfs_err((trans)->fs_info, \
230 __btrfs_abort_transaction((trans), __func__, \
234 int btrfs_end_transaction(struct btrfs_trans_handle *trans);
252 int btrfs_commit_transaction(struct btrfs_trans_handle *trans);
253 void btrfs_commit_transaction_async(struct btrfs_trans_handle *trans);
254 int btrfs_end_transaction_throttle(struct btrfs_trans_handle *trans);
255 bool btrfs_should_end_transaction(struct btrfs_trans_handle *trans);
257 int btrfs_record_root_in_trans(struct btrfs_trans_handle *trans,
265 void btrfs_add_dropped_root(struct btrfs_trans_handle *trans,
267 void btrfs_trans_release_chunk_metadata(struct btrfs_trans_handle *trans);
268 void __cold __btrfs_abort_transaction(struct btrfs_trans_handle *trans,