Lines Matching defs:trans

22 static inline void __btree_path_get(struct btree_trans *trans, struct btree_path *path, bool intent)  in __btree_path_get()
37 static inline bool __btree_path_put(struct btree_trans *trans, struct btree_path *path, bool intent) in __btree_path_put()
76 static inline void btree_trans_sort_paths(struct btree_trans *trans) in btree_trans_sort_paths()
101 __trans_next_path(struct btree_trans *trans, unsigned *idx) in __trans_next_path()
136 static inline struct btree_path *next_btree_path(struct btree_trans *trans, struct btree_path *path) in next_btree_path()
147 static inline struct btree_path *prev_btree_path(struct btree_trans *trans, struct btree_path *path) in prev_btree_path()
187 __trans_next_path_with_node(struct btree_trans *trans, struct btree *b, in __trans_next_path_with_node()
208 bch2_btree_path_make_mut(struct btree_trans *trans, in bch2_btree_path_make_mut()
224 bch2_btree_path_set_pos(struct btree_trans *trans, in bch2_btree_path_set_pos()
239 static inline int __must_check bch2_btree_path_traverse(struct btree_trans *trans, in bch2_btree_path_traverse()
280 static inline int bch2_trans_mutex_lock(struct btree_trans *trans, struct mutex *lock) in bch2_trans_mutex_lock()
291 static inline void bch2_trans_verify_paths(struct btree_trans *trans) {} in bch2_trans_verify_paths()
292 static inline void bch2_assert_pos_locked(struct btree_trans *trans, enum btree_id id, in bch2_assert_pos_locked()
311 static inline int trans_was_restarted(struct btree_trans *trans, u32 restart_count) in trans_was_restarted()
320 static inline void bch2_trans_verify_not_restarted(struct btree_trans *trans, in bch2_trans_verify_not_restarted()
329 static inline void bch2_trans_verify_not_in_restart(struct btree_trans *trans) in bch2_trans_verify_not_in_restart()
337 static inline void bch2_trans_verify_not_unlocked(struct btree_trans *trans) in bch2_trans_verify_not_unlocked()
344 static int btree_trans_restart_nounlock(struct btree_trans *trans, int err) in btree_trans_restart_nounlock()
355 static int btree_trans_restart(struct btree_trans *trans, int err) in btree_trans_restart()
366 static inline void bch2_btree_path_downgrade(struct btree_trans *trans, in bch2_btree_path_downgrade()
416 struct btree_trans *trans = iter->trans; in bch2_btree_iter_set_pos() local
446 static inline unsigned __bch2_btree_iter_flags(struct btree_trans *trans, in __bch2_btree_iter_flags()
468 static inline unsigned bch2_btree_iter_flags(struct btree_trans *trans, in bch2_btree_iter_flags()
481 static inline void bch2_trans_iter_init_common(struct btree_trans *trans, in bch2_trans_iter_init_common()
509 static inline void bch2_trans_iter_init(struct btree_trans *trans, in bch2_trans_iter_init()
538 static inline void *bch2_trans_kmalloc(struct btree_trans *trans, size_t size) in bch2_trans_kmalloc()
553 static inline void *bch2_trans_kmalloc_nomemzero(struct btree_trans *trans, size_t size) in bch2_trans_kmalloc_nomemzero()
567 static inline struct bkey_s_c __bch2_bkey_get_iter(struct btree_trans *trans, in __bch2_bkey_get_iter()
584 static inline struct bkey_s_c bch2_bkey_get_iter(struct btree_trans *trans, in bch2_bkey_get_iter()
605 static inline int __bch2_bkey_get_val_typed(struct btree_trans *trans, in __bch2_bkey_get_val_typed()
695 static inline int btree_trans_too_many_iters(struct btree_trans *trans) in btree_trans_too_many_iters()