/arch/s390/include/asm/ |
D | spinlock.h | 36 void arch_spin_relax(arch_spinlock_t *lock); 39 void arch_spin_lock_wait(arch_spinlock_t *); 40 int arch_spin_trylock_retry(arch_spinlock_t *); 48 static inline int arch_spin_value_unlocked(arch_spinlock_t lock) in arch_spin_value_unlocked() 53 static inline int arch_spin_is_locked(arch_spinlock_t *lp) in arch_spin_is_locked() 58 static inline int arch_spin_trylock_once(arch_spinlock_t *lp) in arch_spin_trylock_once() 64 static inline void arch_spin_lock(arch_spinlock_t *lp) in arch_spin_lock() 70 static inline void arch_spin_lock_flags(arch_spinlock_t *lp, in arch_spin_lock_flags() 78 static inline int arch_spin_trylock(arch_spinlock_t *lp) in arch_spin_trylock() 85 static inline void arch_spin_unlock(arch_spinlock_t *lp) in arch_spin_unlock()
|
D | spinlock_types.h | 11 } arch_spinlock_t; typedef 17 arch_spinlock_t wait;
|
/arch/csky/include/asm/ |
D | spinlock.h | 12 static inline void arch_spin_lock(arch_spinlock_t *lock) in arch_spin_lock() 14 arch_spinlock_t lockval; in arch_spin_lock() 35 static inline int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock() 63 static inline void arch_spin_unlock(arch_spinlock_t *lock) in arch_spin_unlock() 69 static inline int arch_spin_value_unlocked(arch_spinlock_t lock) in arch_spin_value_unlocked() 74 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() 79 static inline int arch_spin_is_contended(arch_spinlock_t *lock) in arch_spin_is_contended()
|
/arch/ia64/include/asm/ |
D | spinlock.h | 43 static __always_inline void __ticket_spin_lock(arch_spinlock_t *lock) in __ticket_spin_lock() 63 static __always_inline int __ticket_spin_trylock(arch_spinlock_t *lock) in __ticket_spin_trylock() 72 static __always_inline void __ticket_spin_unlock(arch_spinlock_t *lock) in __ticket_spin_unlock() 82 static inline int __ticket_spin_is_locked(arch_spinlock_t *lock) in __ticket_spin_is_locked() 89 static inline int __ticket_spin_is_contended(arch_spinlock_t *lock) in __ticket_spin_is_contended() 96 static __always_inline int arch_spin_value_unlocked(arch_spinlock_t lock) in arch_spin_value_unlocked() 101 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() 106 static inline int arch_spin_is_contended(arch_spinlock_t *lock) in arch_spin_is_contended() 112 static __always_inline void arch_spin_lock(arch_spinlock_t *lock) in arch_spin_lock() 117 static __always_inline int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock() [all …]
|
D | spinlock_types.h | 11 } arch_spinlock_t; typedef
|
/arch/powerpc/include/asm/ |
D | simple_spinlock.h | 34 static __always_inline int arch_spin_value_unlocked(arch_spinlock_t lock) in arch_spin_value_unlocked() 39 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() 48 static inline unsigned long __arch_spin_trylock(arch_spinlock_t *lock) in __arch_spin_trylock() 69 static inline int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock() 90 void splpar_spin_yield(arch_spinlock_t *lock); 93 static inline void splpar_spin_yield(arch_spinlock_t *lock) {} in splpar_spin_yield() 97 static inline void spin_yield(arch_spinlock_t *lock) in spin_yield() 113 static inline void arch_spin_lock(arch_spinlock_t *lock) in arch_spin_lock() 128 void arch_spin_lock_flags(arch_spinlock_t *lock, unsigned long flags) in arch_spin_lock_flags() 148 static inline void arch_spin_unlock(arch_spinlock_t *lock) in arch_spin_unlock()
|
D | simple_spinlock_types.h | 11 } arch_spinlock_t; typedef
|
/arch/arm/include/asm/ |
D | spinlock.h | 56 static inline void arch_spin_lock(arch_spinlock_t *lock) in arch_spin_lock() 60 arch_spinlock_t lockval; in arch_spin_lock() 81 static inline int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock() 107 static inline void arch_spin_unlock(arch_spinlock_t *lock) in arch_spin_unlock() 114 static inline int arch_spin_value_unlocked(arch_spinlock_t lock) in arch_spin_value_unlocked() 119 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() 124 static inline int arch_spin_is_contended(arch_spinlock_t *lock) in arch_spin_is_contended()
|
/arch/alpha/include/asm/ |
D | spinlock.h | 19 static inline int arch_spin_value_unlocked(arch_spinlock_t lock) in arch_spin_value_unlocked() 24 static inline void arch_spin_unlock(arch_spinlock_t * lock) in arch_spin_unlock() 30 static inline void arch_spin_lock(arch_spinlock_t * lock) in arch_spin_lock() 50 static inline int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock()
|
D | spinlock_types.h | 11 } arch_spinlock_t; typedef
|
/arch/parisc/include/asm/ |
D | spinlock.h | 10 static inline int arch_spin_is_locked(arch_spinlock_t *x) in arch_spin_is_locked() 16 static inline void arch_spin_lock(arch_spinlock_t *x) in arch_spin_lock() 26 static inline void arch_spin_lock_flags(arch_spinlock_t *x, in arch_spin_lock_flags() 41 static inline void arch_spin_unlock(arch_spinlock_t *x) in arch_spin_unlock() 50 static inline int arch_spin_trylock(arch_spinlock_t *x) in arch_spin_trylock()
|
D | futex.h | 20 arch_spinlock_t *s = (arch_spinlock_t *)&lws_lock_start[index]; in _futex_spin_lock_irqsave() 30 arch_spinlock_t *s = (arch_spinlock_t *)&lws_lock_start[index]; in _futex_spin_unlock_irqrestore()
|
D | spinlock_types.h | 8 } arch_spinlock_t; typedef 17 arch_spinlock_t lock_mutex;
|
/arch/arc/include/asm/ |
D | spinlock.h | 17 static inline void arch_spin_lock(arch_spinlock_t *lock) in arch_spin_lock() 44 static inline int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock() 67 static inline void arch_spin_unlock(arch_spinlock_t *lock) in arch_spin_unlock() 222 static inline void arch_spin_lock(arch_spinlock_t *lock) in arch_spin_lock() 244 static inline int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock() 261 static inline void arch_spin_unlock(arch_spinlock_t *lock) in arch_spin_unlock()
|
D | spinlock_types.h | 11 } arch_spinlock_t; typedef 27 arch_spinlock_t lock_mutex;
|
/arch/hexagon/include/asm/ |
D | spinlock.h | 115 static inline void arch_spin_lock(arch_spinlock_t *lock) in arch_spin_lock() 130 static inline void arch_spin_unlock(arch_spinlock_t *lock) in arch_spin_unlock() 136 static inline unsigned int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock()
|
D | spinlock_types.h | 17 } arch_spinlock_t; typedef
|
/arch/riscv/include/asm/ |
D | spinlock.h | 22 static inline void arch_spin_unlock(arch_spinlock_t *lock) in arch_spin_unlock() 27 static inline int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock() 41 static inline void arch_spin_lock(arch_spinlock_t *lock) in arch_spin_lock()
|
D | spinlock_types.h | 15 } arch_spinlock_t; typedef
|
/arch/sh/include/asm/ |
D | spinlock-cas.h | 28 static inline void arch_spin_lock(arch_spinlock_t *lock) in arch_spin_lock() 33 static inline void arch_spin_unlock(arch_spinlock_t *lock) in arch_spin_unlock() 38 static inline int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock()
|
D | spinlock-llsc.h | 26 static inline void arch_spin_lock(arch_spinlock_t *lock) in arch_spin_lock() 46 static inline void arch_spin_unlock(arch_spinlock_t *lock) in arch_spin_unlock() 61 static inline int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock()
|
D | spinlock_types.h | 11 } arch_spinlock_t; typedef
|
/arch/sparc/include/asm/ |
D | spinlock_32.h | 18 static inline void arch_spin_lock(arch_spinlock_t *lock) in arch_spin_lock() 38 static inline int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock() 48 static inline void arch_spin_unlock(arch_spinlock_t *lock) in arch_spin_unlock()
|
D | spinlock_types.h | 11 } arch_spinlock_t; typedef
|
/arch/s390/lib/ |
D | spinlock.c | 117 static inline void arch_spin_lock_queued(arch_spinlock_t *lp) in arch_spin_lock_queued() 211 static inline void arch_spin_lock_classic(arch_spinlock_t *lp) in arch_spin_lock_classic() 243 void arch_spin_lock_wait(arch_spinlock_t *lp) in arch_spin_lock_wait() 252 int arch_spin_trylock_retry(arch_spinlock_t *lp) in arch_spin_trylock_retry() 313 void arch_spin_relax(arch_spinlock_t *lp) in arch_spin_relax()
|