Home
last modified time | relevance | path

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

/linux/fs/bcachefs/
A Dsix.h136 struct six_lock { struct
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()
332 static inline int six_lock_ip_##type(struct six_lock *lock, \
349 static inline int six_lock_##type(struct six_lock *lock, \
370 void six_lock_downgrade(struct six_lock *);
371 bool six_lock_tryupgrade(struct six_lock *);
377 void six_lock_wakeup_all(struct six_lock *);
383 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()
350 static inline bool six_optimistic_spin(struct six_lock *lock, in six_optimistic_spin()
400 static inline bool six_optimistic_spin(struct six_lock *lock, in six_optimistic_spin()
638 void six_lock_downgrade(struct six_lock *lock) in six_lock_downgrade()
654 bool six_lock_tryupgrade(struct six_lock *lock) in six_lock_tryupgrade()
692 bool six_trylock_convert(struct six_lock *lock, in six_trylock_convert()
759 void six_lock_wakeup_all(struct six_lock *lock) in six_lock_wakeup_all()
816 void six_lock_readers_add(struct six_lock *lock, int nr) in six_lock_readers_add()
[all …]
A Dbtree_locking.h187 int bch2_six_check_for_deadlock(struct six_lock *lock, void *p);
A Dbtree_types.h66 struct six_lock lock;
A Dbtree_locking.c397 int bch2_six_check_for_deadlock(struct six_lock *lock, void *p) in bch2_six_check_for_deadlock()

Completed in 21 milliseconds