/arch/x86/include/asm/ |
D | spinlock.h | 61 static __always_inline void __ticket_spin_lock(raw_spinlock_t *lock) in __ticket_spin_lock() 80 static __always_inline int __ticket_spin_trylock(raw_spinlock_t *lock) in __ticket_spin_trylock() 99 static __always_inline void __ticket_spin_unlock(raw_spinlock_t *lock) in __ticket_spin_unlock() 109 static __always_inline void __ticket_spin_lock(raw_spinlock_t *lock) in __ticket_spin_lock() 130 static __always_inline int __ticket_spin_trylock(raw_spinlock_t *lock) in __ticket_spin_trylock() 152 static __always_inline void __ticket_spin_unlock(raw_spinlock_t *lock) in __ticket_spin_unlock() 161 static inline int __ticket_spin_is_locked(raw_spinlock_t *lock) in __ticket_spin_is_locked() 168 static inline int __ticket_spin_is_contended(raw_spinlock_t *lock) in __ticket_spin_is_contended() 191 static inline int __byte_spin_is_locked(raw_spinlock_t *lock) in __byte_spin_is_locked() 197 static inline int __byte_spin_is_contended(raw_spinlock_t *lock) in __byte_spin_is_contended() [all …]
|
D | spinlock_types.h | 10 } raw_spinlock_t; typedef
|
/arch/s390/include/asm/ |
D | spinlock.h | 60 extern void _raw_spin_lock_wait(raw_spinlock_t *); 61 extern void _raw_spin_lock_wait_flags(raw_spinlock_t *, unsigned long flags); 62 extern int _raw_spin_trylock_retry(raw_spinlock_t *); 63 extern void _raw_spin_relax(raw_spinlock_t *lock); 65 static inline void __raw_spin_lock(raw_spinlock_t *lp) in __raw_spin_lock() 75 static inline void __raw_spin_lock_flags(raw_spinlock_t *lp, in __raw_spin_lock_flags() 86 static inline int __raw_spin_trylock(raw_spinlock_t *lp) in __raw_spin_trylock() 96 static inline void __raw_spin_unlock(raw_spinlock_t *lp) in __raw_spin_unlock()
|
/arch/cris/include/arch-v32/arch/ |
D | spinlock.h | 12 static inline int __raw_spin_is_locked(raw_spinlock_t *x) in __raw_spin_is_locked() 17 static inline void __raw_spin_unlock(raw_spinlock_t *lock) in __raw_spin_unlock() 25 static inline void __raw_spin_unlock_wait(raw_spinlock_t *lock) in __raw_spin_unlock_wait() 31 static inline int __raw_spin_trylock(raw_spinlock_t *lock) in __raw_spin_trylock() 36 static inline void __raw_spin_lock(raw_spinlock_t *lock) in __raw_spin_lock() 42 __raw_spin_lock_flags(raw_spinlock_t *lock, unsigned long flags) in __raw_spin_lock_flags()
|
/arch/blackfin/include/asm/ |
D | spinlock.h | 17 static inline int __raw_spin_is_locked(raw_spinlock_t *lock) in __raw_spin_is_locked() 22 static inline void __raw_spin_lock(raw_spinlock_t *lock) in __raw_spin_lock() 29 static inline int __raw_spin_trylock(raw_spinlock_t *lock) in __raw_spin_trylock() 34 static inline void __raw_spin_unlock(raw_spinlock_t *lock) in __raw_spin_unlock() 39 static inline void __raw_spin_unlock_wait(raw_spinlock_t *lock) in __raw_spin_unlock_wait()
|
D | spinlock_types.h | 12 } raw_spinlock_t; typedef
|
/arch/powerpc/include/asm/ |
D | spinlock.h | 57 static inline unsigned long __spin_trylock(raw_spinlock_t *lock) in __spin_trylock() 76 static inline int __raw_spin_trylock(raw_spinlock_t *lock) in __raw_spin_trylock() 99 extern void __spin_yield(raw_spinlock_t *lock); 107 static inline void __raw_spin_lock(raw_spinlock_t *lock) in __raw_spin_lock() 123 void __raw_spin_lock_flags(raw_spinlock_t *lock, unsigned long flags) in __raw_spin_lock_flags() 143 static inline void __raw_spin_unlock(raw_spinlock_t *lock) in __raw_spin_unlock() 152 extern void __raw_spin_unlock_wait(raw_spinlock_t *lock);
|
D | spinlock_types.h | 10 } raw_spinlock_t; typedef
|
/arch/sparc/include/asm/ |
D | spinlock_64.h | 30 static inline void __raw_spin_lock(raw_spinlock_t *lock) in __raw_spin_lock() 49 static inline int __raw_spin_trylock(raw_spinlock_t *lock) in __raw_spin_trylock() 62 static inline void __raw_spin_unlock(raw_spinlock_t *lock) in __raw_spin_unlock() 71 static inline void __raw_spin_lock_flags(raw_spinlock_t *lock, unsigned long flags) in __raw_spin_lock_flags()
|
D | spinlock_32.h | 18 static inline void __raw_spin_lock(raw_spinlock_t *lock) in __raw_spin_lock() 38 static inline int __raw_spin_trylock(raw_spinlock_t *lock) in __raw_spin_trylock() 48 static inline void __raw_spin_unlock(raw_spinlock_t *lock) in __raw_spin_unlock()
|
D | spinlock_types.h | 10 } raw_spinlock_t; typedef
|
/arch/parisc/include/asm/ |
D | spinlock_types.h | 12 } raw_spinlock_t; typedef 15 raw_spinlock_t lock;
|
D | spinlock.h | 8 static inline int __raw_spin_is_locked(raw_spinlock_t *x) in __raw_spin_is_locked() 18 static inline void __raw_spin_lock_flags(raw_spinlock_t *x, in __raw_spin_lock_flags() 36 static inline void __raw_spin_unlock(raw_spinlock_t *x) in __raw_spin_unlock() 45 static inline int __raw_spin_trylock(raw_spinlock_t *x) in __raw_spin_trylock()
|
/arch/mips/include/asm/ |
D | spinlock.h | 37 static inline int __raw_spin_is_locked(raw_spinlock_t *lock) in __raw_spin_is_locked() 48 static inline int __raw_spin_is_contended(raw_spinlock_t *lock) in __raw_spin_is_contended() 56 static inline void __raw_spin_lock(raw_spinlock_t *lock) in __raw_spin_lock() 137 static inline void __raw_spin_unlock(raw_spinlock_t *lock) in __raw_spin_unlock() 177 static inline unsigned int __raw_spin_trylock(raw_spinlock_t *lock) in __raw_spin_trylock()
|
D | spinlock_types.h | 15 } raw_spinlock_t; typedef
|
/arch/s390/lib/ |
D | spinlock.c | 42 void _raw_spin_lock_wait(raw_spinlock_t *lp) in _raw_spin_lock_wait() 62 void _raw_spin_lock_wait_flags(raw_spinlock_t *lp, unsigned long flags) in _raw_spin_lock_wait_flags() 85 int _raw_spin_trylock_retry(raw_spinlock_t *lp) in _raw_spin_trylock_retry() 100 void _raw_spin_relax(raw_spinlock_t *lock) in _raw_spin_relax()
|
/arch/alpha/include/asm/ |
D | spinlock.h | 20 static inline void __raw_spin_unlock(raw_spinlock_t * lock) in __raw_spin_unlock() 26 static inline void __raw_spin_lock(raw_spinlock_t * lock) in __raw_spin_lock() 46 static inline int __raw_spin_trylock(raw_spinlock_t *lock) in __raw_spin_trylock()
|
D | spinlock_types.h | 10 } raw_spinlock_t; typedef
|
/arch/sh/include/asm/ |
D | spinlock.h | 37 static inline void __raw_spin_lock(raw_spinlock_t *lock) in __raw_spin_lock() 57 static inline void __raw_spin_unlock(raw_spinlock_t *lock) in __raw_spin_unlock() 70 static inline int __raw_spin_trylock(raw_spinlock_t *lock) in __raw_spin_trylock()
|
D | spinlock_types.h | 10 } raw_spinlock_t; typedef
|
/arch/arm/include/asm/ |
D | spinlock.h | 26 static inline void __raw_spin_lock(raw_spinlock_t *lock) in __raw_spin_lock() 46 static inline int __raw_spin_trylock(raw_spinlock_t *lock) in __raw_spin_trylock() 66 static inline void __raw_spin_unlock(raw_spinlock_t *lock) in __raw_spin_unlock()
|
D | spinlock_types.h | 10 } raw_spinlock_t; typedef
|
/arch/powerpc/lib/ |
D | locks.c | 28 void __spin_yield(raw_spinlock_t *lock) in __spin_yield() 85 void __raw_spin_unlock_wait(raw_spinlock_t *lock) in __raw_spin_unlock_wait()
|
/arch/ia64/include/asm/ |
D | spinlock.h | 33 __raw_spin_lock_flags (raw_spinlock_t *lock, unsigned long flags) in __raw_spin_lock_flags() 92 static inline void __raw_spin_unlock(raw_spinlock_t *x) { in __raw_spin_unlock() 112 #define __raw_spin_unlock(x) do { barrier(); ((raw_spinlock_t *) x)->lock = 0; } while (0)
|
D | spinlock_types.h | 10 } raw_spinlock_t; typedef
|