Lines Matching defs:lock
16 void __raw_spin_lock_init(raw_spinlock_t *lock, const char *name, in __raw_spin_lock_init()
35 void __rwlock_init(rwlock_t *lock, const char *name, in __rwlock_init()
54 static void spin_dump(raw_spinlock_t *lock, const char *msg) in spin_dump()
72 static void spin_bug(raw_spinlock_t *lock, const char *msg) in spin_bug()
80 #define SPIN_BUG_ON(cond, lock, msg) if (unlikely(cond)) spin_bug(lock, msg) argument
83 debug_spin_lock_before(raw_spinlock_t *lock) in debug_spin_lock_before()
91 static inline void debug_spin_lock_after(raw_spinlock_t *lock) in debug_spin_lock_after()
97 static inline void debug_spin_unlock(raw_spinlock_t *lock) in debug_spin_unlock()
112 void do_raw_spin_lock(raw_spinlock_t *lock) in do_raw_spin_lock()
120 int do_raw_spin_trylock(raw_spinlock_t *lock) in do_raw_spin_trylock()
137 void do_raw_spin_unlock(raw_spinlock_t *lock) in do_raw_spin_unlock()
145 static void rwlock_bug(rwlock_t *lock, const char *msg) in rwlock_bug()
156 #define RWLOCK_BUG_ON(cond, lock, msg) if (unlikely(cond)) rwlock_bug(lock, msg) argument
158 void do_raw_read_lock(rwlock_t *lock) in do_raw_read_lock()
164 int do_raw_read_trylock(rwlock_t *lock) in do_raw_read_trylock()
177 void do_raw_read_unlock(rwlock_t *lock) in do_raw_read_unlock()
183 static inline void debug_write_lock_before(rwlock_t *lock) in debug_write_lock_before()
191 static inline void debug_write_lock_after(rwlock_t *lock) in debug_write_lock_after()
197 static inline void debug_write_unlock(rwlock_t *lock) in debug_write_unlock()
207 void do_raw_write_lock(rwlock_t *lock) in do_raw_write_lock()
214 int do_raw_write_trylock(rwlock_t *lock) in do_raw_write_trylock()
229 void do_raw_write_unlock(rwlock_t *lock) in do_raw_write_unlock()