Lines Matching defs: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 bool btree_node_write_locked(struct btree_path *path, unsigned l) in btree_node_write_locked()
51 static inline bool btree_node_intent_locked(struct btree_path *path, unsigned l) in btree_node_intent_locked()
56 static inline bool btree_node_read_locked(struct btree_path *path, unsigned l) in btree_node_read_locked()
61 static inline bool btree_node_locked(struct btree_path *path, unsigned level) in btree_node_locked()
66 static inline void mark_btree_node_locked_noreset(struct btree_path *path, in mark_btree_node_locked_noreset()
78 static inline void mark_btree_node_unlocked(struct btree_path *path, in mark_btree_node_unlocked()
86 struct btree_path *path, in mark_btree_node_locked()
96 static inline enum six_lock_type __btree_lock_want(struct btree_path *path, int level) in __btree_lock_want()
104 btree_lock_want(struct btree_path *path, int level) in btree_lock_want()
116 struct btree_path *path, unsigned level) in btree_trans_lock_hold_time_update()
128 struct btree_path *path, unsigned level) in btree_node_unlock()
142 static inline int btree_path_lowest_level_locked(struct btree_path *path) in btree_path_lowest_level_locked()
147 static inline int btree_path_highest_level_locked(struct btree_path *path) in btree_path_highest_level_locked()
153 struct btree_path *path) in __bch2_btree_path_unlock()
166 bch2_btree_node_unlock_write_inlined(struct btree_trans *trans, struct btree_path *path, in bch2_btree_node_unlock_write_inlined()
262 struct btree_path *path; in btree_node_lock_increment() local
276 struct btree_path *path, in btree_node_lock()
302 struct btree_path *path, in __btree_node_lock_write()
324 struct btree_path *path, in bch2_btree_node_lock_write()
341 struct btree_path *path, unsigned long trace_ip) in bch2_btree_path_relock()
351 struct btree_path *path, unsigned level) in bch2_btree_node_relock()
363 struct btree_path *path, unsigned level) in bch2_btree_node_relock_notrace()
385 struct btree_path *path, in bch2_btree_path_upgrade()
405 …tic inline void btree_path_set_should_be_locked(struct btree_trans *trans, struct btree_path *path) in btree_path_set_should_be_locked()
415 struct btree_path *path, in __btree_path_set_level_up()
423 struct btree_path *path) in btree_path_set_level_up()
442 static inline void bch2_btree_path_verify_locks(struct btree_path *path) {} in bch2_btree_path_verify_locks()