Searched refs:six_lock (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | six.h | 136 struct six_lock { struct 157 typedef int (*six_lock_should_sleep_fn)(struct six_lock *lock, void *); argument 159 void six_lock_exit(struct six_lock *lock); 165 void __six_lock_init(struct six_lock *lock, const char *name, 191 static inline u32 six_lock_seq(const struct six_lock *lock) in six_lock_seq() 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() [all …]
|
D | six.c | 27 static void do_six_unlock_type(struct six_lock *lock, enum six_lock_type type); 72 static inline void six_set_bitmask(struct six_lock *lock, u32 mask) in six_set_bitmask() 78 static inline void six_clear_bitmask(struct six_lock *lock, u32 mask) in six_clear_bitmask() 84 static inline void six_set_owner(struct six_lock *lock, enum six_lock_type type, in six_set_owner() 98 static inline unsigned pcpu_read_count(struct six_lock *lock) in pcpu_read_count() 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() 265 static void six_lock_wakeup(struct six_lock *lock, u32 state, 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() [all …]
|
D | btree_locking.h | 187 int bch2_six_check_for_deadlock(struct six_lock *lock, void *p);
|
D | btree_types.h | 66 struct six_lock lock;
|
D | btree_locking.c | 397 int bch2_six_check_for_deadlock(struct six_lock *lock, void *p) in bch2_six_check_for_deadlock()
|