Searched refs:six_lock (Results 1 – 5 of 5) sorted by relevance
| /fs/bcachefs/ |
| A D | six.h | 136 struct six_lock { struct 160 void six_lock_exit(struct six_lock *lock); 166 void __six_lock_init(struct six_lock *lock, const char *name, 193 static inline u32 six_lock_seq(const struct six_lock *lock) in six_lock_seq() 334 static inline int six_lock_ip_##type(struct six_lock *lock, \ 351 static inline int six_lock_##type(struct six_lock *lock, \ 372 void six_lock_downgrade(struct six_lock *); 373 bool six_lock_tryupgrade(struct six_lock *); 379 void six_lock_wakeup_all(struct six_lock *); 385 struct six_lock_count six_lock_counts(struct six_lock *); [all …]
|
| A D | six.c | 98 static inline unsigned pcpu_read_count(struct six_lock *lock) in pcpu_read_count() 265 static void six_lock_wakeup(struct six_lock *lock, u32 state, in six_lock_wakeup() 335 static inline bool six_owner_running(struct six_lock *lock) in six_owner_running() 347 static inline bool six_optimistic_spin(struct six_lock *lock, in six_optimistic_spin() 397 static inline bool six_optimistic_spin(struct six_lock *lock, in six_optimistic_spin() 642 void six_lock_downgrade(struct six_lock *lock) in six_lock_downgrade() 658 bool six_lock_tryupgrade(struct six_lock *lock) in six_lock_tryupgrade() 696 bool six_trylock_convert(struct six_lock *lock, in six_trylock_convert() 763 void six_lock_wakeup_all(struct six_lock *lock) in six_lock_wakeup_all() 820 void six_lock_readers_add(struct six_lock *lock, int nr) in six_lock_readers_add() [all …]
|
| A D | btree_locking.h | 199 int bch2_six_check_for_deadlock(struct six_lock *lock, void *p);
|
| A D | btree_types.h | 66 struct six_lock lock;
|
| A D | btree_locking.c | 415 int bch2_six_check_for_deadlock(struct six_lock *lock, void *p) in bch2_six_check_for_deadlock()
|
Completed in 19 milliseconds