Lines Matching defs:trans
26 static inline struct btree_transaction_stats *btree_trans_stats(struct btree_trans *trans) in btree_trans_stats()
79 static inline void mark_btree_node_locked(struct btree_trans *trans, in mark_btree_node_locked()
109 static void btree_trans_lock_hold_time_update(struct btree_trans *trans, in btree_trans_lock_hold_time_update()
124 static inline void btree_node_unlock(struct btree_trans *trans, in btree_node_unlock()
152 static inline void __bch2_btree_path_unlock(struct btree_trans *trans, in __bch2_btree_path_unlock()
166 __bch2_btree_node_unlock_write(struct btree_trans *trans, struct btree *b) in __bch2_btree_node_unlock_write()
180 bch2_btree_node_unlock_write_inlined(struct btree_trans *trans, struct btree_path *path, in bch2_btree_node_unlock_write_inlined()
195 static inline void trans_set_locked(struct btree_trans *trans, bool try) in trans_set_locked()
207 static inline void trans_set_unlocked(struct btree_trans *trans) in trans_set_unlocked()
219 static inline int __btree_node_lock_nopath(struct btree_trans *trans, in __btree_node_lock_nopath()
240 btree_node_lock_nopath(struct btree_trans *trans, in btree_node_lock_nopath()
248 static inline void btree_node_lock_nopath_nofail(struct btree_trans *trans, in btree_node_lock_nopath_nofail()
261 static inline bool btree_node_lock_increment(struct btree_trans *trans, in btree_node_lock_increment()
279 static inline int btree_node_lock(struct btree_trans *trans, in btree_node_lock()
305 static inline int __btree_node_lock_write(struct btree_trans *trans, in __btree_node_lock_write()
327 bch2_btree_node_lock_write(struct btree_trans *trans, in bch2_btree_node_lock_write()
344 static inline int bch2_btree_path_relock(struct btree_trans *trans, in bch2_btree_path_relock()
354 static inline bool bch2_btree_node_relock(struct btree_trans *trans, in bch2_btree_node_relock()
366 static inline bool bch2_btree_node_relock_notrace(struct btree_trans *trans, in bch2_btree_node_relock_notrace()
388 static inline int bch2_btree_path_upgrade(struct btree_trans *trans, in bch2_btree_path_upgrade()
409 static inline void btree_path_set_should_be_locked(struct btree_trans *trans, struct btree_path *pa… in btree_path_set_should_be_locked()
418 static inline void __btree_path_set_level_up(struct btree_trans *trans, in __btree_path_set_level_up()
426 static inline void btree_path_set_level_up(struct btree_trans *trans, in btree_path_set_level_up()
447 static inline void bch2_trans_verify_locks(struct btree_trans *trans) {} in bch2_trans_verify_locks()