Home
last modified time | relevance | path

Searched refs:six_lock (Results 1 – 5 of 5) sorted by relevance

/fs/bcachefs/
A Dsix.h136 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 Dsix.c98 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 Dbtree_locking.h199 int bch2_six_check_for_deadlock(struct six_lock *lock, void *p);
A Dbtree_types.h66 struct six_lock lock;
A Dbtree_locking.c415 int bch2_six_check_for_deadlock(struct six_lock *lock, void *p) in bch2_six_check_for_deadlock()

Completed in 19 milliseconds