Lines Matching refs:spinlock_t
23 } spinlock_t; typedef
25 extern void __arch_spin_lock(spinlock_t *lock);
26 extern void __arch_spin_unlock(spinlock_t *lock);
28 extern void __arch_spin_lock_no_preempt(spinlock_t *lock);
29 extern void __arch_spin_unlock_no_preempt(spinlock_t *lock);
31 extern long __arch_spin_trylock(spinlock_t *lock);
38 void spin_lock(spinlock_t *lock) in spin_lock()
48 void spin_unlock(spinlock_t *lock) in spin_unlock()
58 void spin_init(spinlock_t *lock) in spin_init()
70 void spin_lock_no_preempt(spinlock_t *lock) in spin_lock_no_preempt()
80 void spin_unlock_no_preempt(spinlock_t *lock) in spin_unlock_no_preempt()
91 long spin_trylock(spinlock_t *lock) in spin_trylock()
147 static inline bool spin_is_locked(const spinlock_t *lock) in spin_is_locked()