Lines Matching defs:trans
148 #define TRANS_ABORTED(trans) (unlikely(READ_ONCE((trans)->aborted)))
168 static inline void btrfs_set_inode_last_trans(struct btrfs_trans_handle *trans,
172 inode->last_trans = trans->transaction->transid;
182 static inline void btrfs_set_skip_qgroup(struct btrfs_trans_handle *trans,
187 delayed_refs = &trans->transaction->delayed_refs;
192 static inline void btrfs_clear_skip_qgroup(struct btrfs_trans_handle *trans)
196 delayed_refs = &trans->transaction->delayed_refs;
201 int btrfs_end_transaction(struct btrfs_trans_handle *trans);
218 int btrfs_commit_transaction(struct btrfs_trans_handle *trans);
219 int btrfs_commit_transaction_async(struct btrfs_trans_handle *trans,
221 int btrfs_end_transaction_throttle(struct btrfs_trans_handle *trans);
222 int btrfs_should_end_transaction(struct btrfs_trans_handle *trans);
224 int btrfs_record_root_in_trans(struct btrfs_trans_handle *trans,
233 void btrfs_add_dropped_root(struct btrfs_trans_handle *trans,
235 void btrfs_trans_release_chunk_metadata(struct btrfs_trans_handle *trans);