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()
38 static inline bool __btree_path_put(struct btree_trans *trans, struct btree_path *path, bool intent) in __btree_path_put()
78 static inline void btree_trans_sort_paths(struct btree_trans *trans) in btree_trans_sort_paths()
103 __trans_next_path(struct btree_trans *trans, unsigned *idx) in __trans_next_path()
138 static inline struct btree_path *next_btree_path(struct btree_trans *trans, struct btree_path *path) in next_btree_path()
149 static inline struct btree_path *prev_btree_path(struct btree_trans *trans, struct btree_path *path) in prev_btree_path()
189 __trans_next_path_with_node(struct btree_trans *trans, struct btree *b, in __trans_next_path_with_node()
210 bch2_btree_path_make_mut(struct btree_trans *trans, in bch2_btree_path_make_mut()
226 bch2_btree_path_set_pos(struct btree_trans *trans, in bch2_btree_path_set_pos()
241 static inline int __must_check bch2_btree_path_traverse(struct btree_trans *trans, in bch2_btree_path_traverse()
282 static inline int bch2_trans_mutex_lock(struct btree_trans *trans, struct mutex *lock) in bch2_trans_mutex_lock()
293 static inline void bch2_trans_verify_paths(struct btree_trans *trans) {} in bch2_trans_verify_paths()
294 static inline void bch2_assert_pos_locked(struct btree_trans *trans, enum btree_id id, in bch2_assert_pos_locked()
313 static inline int trans_was_restarted(struct btree_trans *trans, u32 restart_count) in trans_was_restarted()
322 static inline void bch2_trans_verify_not_restarted(struct btree_trans *trans, in bch2_trans_verify_not_restarted()
331 static inline void bch2_trans_verify_not_unlocked_or_in_restart(struct btree_trans *trans) in bch2_trans_verify_not_unlocked_or_in_restart()
338 static int btree_trans_restart_ip(struct btree_trans *trans, int err, unsigned long ip) in btree_trans_restart_ip()
353 static int btree_trans_restart(struct btree_trans *trans, int err) in btree_trans_restart()
358 static inline int trans_maybe_inject_restart(struct btree_trans *trans, unsigned long ip) in trans_maybe_inject_restart()
375 static inline void bch2_btree_path_downgrade(struct btree_trans *trans, in bch2_btree_path_downgrade()
432 struct btree_trans *trans = iter->trans; in bch2_btree_iter_set_pos() local
462 static inline unsigned bch2_btree_iter_flags(struct btree_trans *trans, in bch2_btree_iter_flags()
491 static inline void bch2_trans_iter_init_common(struct btree_trans *trans, in bch2_trans_iter_init_common()
519 static inline void bch2_trans_iter_init(struct btree_trans *trans, in bch2_trans_iter_init()
548 static inline void *bch2_trans_kmalloc(struct btree_trans *trans, size_t size) in bch2_trans_kmalloc()
563 static inline void *bch2_trans_kmalloc_nomemzero(struct btree_trans *trans, size_t size) in bch2_trans_kmalloc_nomemzero()
577 static inline struct bkey_s_c __bch2_bkey_get_iter(struct btree_trans *trans, in __bch2_bkey_get_iter()
594 static inline struct bkey_s_c bch2_bkey_get_iter(struct btree_trans *trans, in bch2_bkey_get_iter()
620 static inline int __bch2_bkey_get_val_typed(struct btree_trans *trans, in __bch2_bkey_get_val_typed()
703 static inline int btree_trans_too_many_iters(struct btree_trans *trans) in btree_trans_too_many_iters()