Lines Matching defs:trans
22 static void verify_update_old_key(struct btree_trans *trans, struct btree_insert_entry *i) in verify_update_old_key()
45 static inline struct btree_path_level *insert_l(struct btree_trans *trans, struct btree_insert_entr… in insert_l()
50 static inline bool same_leaf_as_prev(struct btree_trans *trans, in same_leaf_as_prev()
57 static inline bool same_leaf_as_next(struct btree_trans *trans, in same_leaf_as_next()
64 inline void bch2_btree_node_prep_for_write(struct btree_trans *trans, in bch2_btree_node_prep_for_write()
82 static noinline int trans_lock_write_fail(struct btree_trans *trans, struct btree_insert_entry *i) in trans_lock_write_fail()
95 static inline int bch2_trans_lock_write(struct btree_trans *trans) in bch2_trans_lock_write()
114 static inline void bch2_trans_unlock_write(struct btree_trans *trans) in bch2_trans_unlock_write()
128 bool bch2_btree_bset_insert_key(struct btree_trans *trans, in bch2_btree_bset_insert_key()
209 struct btree_trans *trans = bch2_trans_get(c); in __btree_node_flush() local
264 inline void bch2_btree_insert_key_leaf(struct btree_trans *trans, in bch2_btree_insert_key_leaf()
307 static inline void btree_insert_entry_checks(struct btree_trans *trans, in btree_insert_entry_checks()
324 static __always_inline int bch2_trans_journal_res_get(struct btree_trans *trans, in bch2_trans_journal_res_get()
333 static noinline void journal_transaction_name(struct btree_trans *trans) in journal_transaction_name()
347 static inline int btree_key_can_insert(struct btree_trans *trans, in btree_key_can_insert()
357 btree_key_can_insert_cached_slowpath(struct btree_trans *trans, unsigned flags, in btree_key_can_insert_cached_slowpath()
393 static int btree_key_can_insert_cached(struct btree_trans *trans, unsigned flags, in btree_key_can_insert_cached()
433 static int run_one_mem_trigger(struct btree_trans *trans, in run_one_mem_trigger()
462 static int run_one_trans_trigger(struct btree_trans *trans, struct btree_insert_entry *i, in run_one_trans_trigger()
501 static int run_btree_triggers(struct btree_trans *trans, enum btree_id btree_id, in run_btree_triggers()
535 static int bch2_trans_commit_run_triggers(struct btree_trans *trans) in bch2_trans_commit_run_triggers()
581 static noinline int bch2_trans_commit_run_gc_triggers(struct btree_trans *trans) in bch2_trans_commit_run_gc_triggers()
602 bch2_trans_commit_write_locked(struct btree_trans *trans, unsigned flags, in bch2_trans_commit_write_locked()
761 static noinline void bch2_drop_overwrites_from_journal(struct btree_trans *trans) in bch2_drop_overwrites_from_journal()
767 static noinline int bch2_trans_commit_bkey_invalid(struct btree_trans *trans, in bch2_trans_commit_bkey_invalid()
792 static noinline int bch2_trans_commit_journal_entry_invalid(struct btree_trans *trans, in bch2_trans_commit_journal_entry_invalid()
822 static inline int do_bch2_trans_commit(struct btree_trans *trans, unsigned flags, in do_bch2_trans_commit()
885 int bch2_trans_commit_error(struct btree_trans *trans, unsigned flags, in bch2_trans_commit_error()
945 bch2_trans_commit_get_rw_cold(struct btree_trans *trans, unsigned flags) in bch2_trans_commit_get_rw_cold()
968 do_bch2_trans_commit_to_journal_replay(struct btree_trans *trans) in do_bch2_trans_commit_to_journal_replay()
982 int __bch2_trans_commit(struct btree_trans *trans, unsigned flags) in __bch2_trans_commit()