Searched refs:six_lock_type (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | six.h | 130 enum six_lock_type { enum 152 enum six_lock_type lock_want; 196 bool six_trylock_ip(struct six_lock *lock, enum six_lock_type type, unsigned long ip); 205 static inline bool six_trylock_type(struct six_lock *lock, enum six_lock_type type) in six_trylock_type() 210 int six_lock_ip_waiter(struct six_lock *lock, enum six_lock_type type, 229 static inline int six_lock_waiter(struct six_lock *lock, enum six_lock_type type, in six_lock_waiter() 247 static inline int six_lock_ip(struct six_lock *lock, enum six_lock_type type, in six_lock_ip() 266 static inline int six_lock_type(struct six_lock *lock, enum six_lock_type type, in six_lock_type() function 274 bool six_relock_ip(struct six_lock *lock, enum six_lock_type type, 286 static inline bool six_relock_type(struct six_lock *lock, enum six_lock_type type, in six_relock_type() [all …]
|
D | six.c | 27 static void do_six_unlock_type(struct six_lock *lock, enum six_lock_type type); 48 enum six_lock_type unlock_wakeup; 84 static inline void six_set_owner(struct six_lock *lock, enum six_lock_type type, in six_set_owner() 117 static int __do_six_trylock(struct six_lock *lock, enum six_lock_type type, in __do_six_trylock() 212 static void __six_lock_wakeup(struct six_lock *lock, enum six_lock_type lock_type) in __six_lock_wakeup() 266 enum six_lock_type lock_type) in six_lock_wakeup() 278 static bool do_six_trylock(struct six_lock *lock, enum six_lock_type type, bool try) in do_six_trylock() 297 bool six_trylock_ip(struct six_lock *lock, enum six_lock_type type, unsigned long ip) in six_trylock_ip() 318 bool six_relock_ip(struct six_lock *lock, enum six_lock_type type, in six_relock_ip() 352 enum six_lock_type type) in six_optimistic_spin() [all …]
|
D | btree_locking.h | 96 static inline enum six_lock_type __btree_lock_want(struct btree_path *path, int level) in __btree_lock_want() 217 enum six_lock_type type, in __btree_node_lock_nopath() 238 enum six_lock_type type, in btree_node_lock_nopath() 246 enum six_lock_type type) in btree_node_lock_nopath_nofail() 268 six_lock_increment(&b->lock, (enum six_lock_type) want); in btree_node_lock_increment() 279 enum six_lock_type type, in btree_node_lock()
|
D | btree_io.h | 146 enum six_lock_type, unsigned); 149 enum six_lock_type lock_held) in btree_node_write_if_need()
|
D | btree_cache.h | 38 enum six_lock_type, unsigned long);
|
D | btree_locking.c | 59 enum six_lock_type lock_want; 269 static bool lock_type_conflicts(enum six_lock_type t1, enum six_lock_type t2) in lock_type_conflicts()
|
D | btree_key_cache.c | 268 enum six_lock_type lock_want = __btree_lock_want(path, 0); in btree_key_cache_create() 330 enum six_lock_type lock_want = __btree_lock_want(path, 0); in btree_path_traverse_cached_fast()
|
D | btree_cache.c | 899 enum six_lock_type lock_type, in bch2_btree_node_fill() 1040 enum six_lock_type lock_type, in __bch2_btree_node_get() 1164 enum six_lock_type lock_type, in bch2_btree_node_get()
|
D | btree_iter.c | 690 six_lock_increment(&b->c.lock, (enum six_lock_type) t); in bch2_trans_node_add() 724 enum six_lock_type lock_type; in btree_path_lock_root() 918 enum six_lock_type lock_type = __btree_lock_want(path, level); in btree_path_down()
|
D | btree_io.c | 2278 enum six_lock_type lock_type_held, in bch2_btree_node_write()
|