Lines Matching refs:btree_path

20 static inline bool is_btree_node(struct btree_path *path, unsigned l)  in is_btree_node()
40 static inline int btree_node_locked_type(struct btree_path *path, in btree_node_locked_type()
46 static inline int btree_node_locked_type_nowrite(struct btree_path *path, in btree_node_locked_type_nowrite()
55 static inline bool btree_node_write_locked(struct btree_path *path, unsigned l) in btree_node_write_locked()
60 static inline bool btree_node_intent_locked(struct btree_path *path, unsigned l) in btree_node_intent_locked()
65 static inline bool btree_node_read_locked(struct btree_path *path, unsigned l) in btree_node_read_locked()
70 static inline bool btree_node_locked(struct btree_path *path, unsigned level) in btree_node_locked()
75 static inline void mark_btree_node_locked_noreset(struct btree_path *path, in mark_btree_node_locked_noreset()
88 struct btree_path *path, in mark_btree_node_locked()
98 static inline enum six_lock_type __btree_lock_want(struct btree_path *path, int level) in __btree_lock_want()
106 btree_lock_want(struct btree_path *path, int level) in btree_lock_want()
118 struct btree_path *path, unsigned level) in btree_trans_lock_hold_time_update()
130 struct btree_path *, struct btree *);
133 struct btree_path *path, unsigned level) in btree_node_unlock()
150 static inline int btree_path_lowest_level_locked(struct btree_path *path) in btree_path_lowest_level_locked()
155 static inline int btree_path_highest_level_locked(struct btree_path *path) in btree_path_highest_level_locked()
161 struct btree_path *path) in __bch2_btree_path_unlock()
177 struct btree_path *linked; in __bch2_btree_node_unlock_write()
188 bch2_btree_node_unlock_write_inlined(struct btree_trans *trans, struct btree_path *path, in bch2_btree_node_unlock_write_inlined()
274 struct btree_path *path; in btree_node_lock_increment()
288 struct btree_path *path, in btree_node_lock()
310 int __bch2_btree_node_lock_write(struct btree_trans *, struct btree_path *,
314 struct btree_path *path, in __btree_node_lock_write()
336 struct btree_path *path, in bch2_btree_node_lock_write()
343 struct btree_path *,
348 bool bch2_btree_path_relock_norestart(struct btree_trans *, struct btree_path *);
350 struct btree_path *, unsigned long);
353 struct btree_path *path, unsigned long trace_ip) in bch2_btree_path_relock()
360 bool __bch2_btree_node_relock(struct btree_trans *, struct btree_path *, unsigned, bool trace);
363 struct btree_path *path, unsigned level) in bch2_btree_node_relock()
375 struct btree_path *path, unsigned level) in bch2_btree_node_relock_notrace()
388 bool __bch2_btree_path_upgrade_norestart(struct btree_trans *, struct btree_path *, unsigned);
391 struct btree_path *path, in bch2_btree_path_upgrade_norestart()
400 struct btree_path *, unsigned);
403 struct btree_path *path, in bch2_btree_path_upgrade()
415 static inline void btree_path_set_should_be_locked(struct btree_trans *trans, struct btree_path *pa… in btree_path_set_should_be_locked()
427 struct btree_path *path, in __btree_path_set_level_up()
435 struct btree_path *path) in btree_path_set_level_up()
444 struct btree_path *,
450 void __bch2_btree_path_verify_locks(struct btree_trans *, struct btree_path *);
454 struct btree_path *path) in bch2_btree_path_verify_locks()