Lines Matching refs:six_lock

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()
318 bool six_relock_ip(struct six_lock *lock, enum six_lock_type type, in six_relock_ip()
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()
410 static int six_lock_slowpath(struct six_lock *lock, enum six_lock_type type, in six_lock_slowpath()
543 int six_lock_ip_waiter(struct six_lock *lock, enum six_lock_type type, in six_lock_ip_waiter()
568 static void do_six_unlock_type(struct six_lock *lock, enum six_lock_type type) in do_six_unlock_type()
609 void six_unlock_ip(struct six_lock *lock, enum six_lock_type type, unsigned long ip) in six_unlock_ip()
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()
721 void six_lock_increment(struct six_lock *lock, enum six_lock_type type) in six_lock_increment()
759 void six_lock_wakeup_all(struct six_lock *lock) in six_lock_wakeup_all()
781 struct six_lock_count six_lock_counts(struct six_lock *lock) in six_lock_counts()
816 void six_lock_readers_add(struct six_lock *lock, int nr) in six_lock_readers_add()
835 void six_lock_exit(struct six_lock *lock) in six_lock_exit()
845 void __six_lock_init(struct six_lock *lock, const char *name, in __six_lock_init()