/arch/hexagon/include/asm/ |
D | spinlock.h | 28 static inline void arch_read_lock(arch_rwlock_t *lock) in arch_read_lock() 43 static inline void arch_read_unlock(arch_rwlock_t *lock) in arch_read_unlock() 58 static inline int arch_read_trylock(arch_rwlock_t *lock) in arch_read_trylock() 76 static inline void arch_write_lock(arch_rwlock_t *lock) in arch_write_lock() 91 static inline int arch_write_trylock(arch_rwlock_t *lock) in arch_write_trylock() 109 static inline void arch_write_unlock(arch_rwlock_t *lock) in arch_write_unlock() 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 | 16 volatile unsigned int lock; member 22 volatile unsigned int lock; member
|
/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() 57 static inline void arch_read_lock(arch_rwlock_t *lock) in arch_read_lock() 77 static inline void arch_write_lock(arch_rwlock_t *lock) in arch_write_lock() 97 static inline int arch_read_trylock(arch_rwlock_t * lock) in arch_read_trylock() 119 static inline int arch_write_trylock(arch_rwlock_t * lock) in arch_write_trylock() 141 static inline void arch_read_unlock(arch_rwlock_t * lock) in arch_read_unlock() 157 static inline void arch_write_unlock(arch_rwlock_t * lock) in arch_write_unlock()
|
D | spinlock_types.h | 10 volatile unsigned int lock; member 16 volatile unsigned int lock; member
|
/arch/csky/include/asm/ |
D | spinlock.h | 14 static inline void arch_spin_lock(arch_spinlock_t *lock) in arch_spin_lock() 37 static inline int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock() 65 static inline void arch_spin_unlock(arch_spinlock_t *lock) in arch_spin_unlock() 71 static inline int arch_spin_value_unlocked(arch_spinlock_t lock) in arch_spin_value_unlocked() 76 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() 81 static inline int arch_spin_is_contended(arch_spinlock_t *lock) in arch_spin_is_contended() 99 static inline void arch_spin_lock(arch_spinlock_t *lock) in arch_spin_lock() 116 static inline void arch_spin_unlock(arch_spinlock_t *lock) in arch_spin_unlock() 122 static inline int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock() 150 static inline void arch_read_lock(arch_rwlock_t *lock) in arch_read_lock() [all …]
|
D | spinlock_types.h | 14 u32 lock; member 31 u32 lock; member
|
/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() 54 static inline void arch_read_lock(arch_rwlock_t *lock) in arch_read_lock() 69 static inline void arch_write_lock(arch_rwlock_t *lock) in arch_write_lock() 84 static inline int arch_read_trylock(arch_rwlock_t *lock) in arch_read_trylock() 102 static inline int arch_write_trylock(arch_rwlock_t *lock) in arch_write_trylock() 120 static inline void arch_read_unlock(arch_rwlock_t *lock) in arch_read_unlock() 130 static inline void arch_write_unlock(arch_rwlock_t *lock) in arch_write_unlock()
|
D | spinlock_types.h | 14 volatile unsigned int lock; member 20 volatile unsigned int lock; member
|
/arch/sparc/include/asm/ |
D | spinlock_32.h | 16 #define arch_spin_is_locked(lock) (*((volatile unsigned char *)(lock)) != 0) argument 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() 92 #define arch_read_lock(lock) \ argument 112 #define arch_read_unlock(lock) \ argument 133 static inline void arch_write_unlock(arch_rwlock_t *lock) in arch_write_unlock() 177 #define arch_read_trylock(lock) \ argument
|
D | spinlock_types.h | 10 volatile unsigned char lock; member 20 volatile unsigned int lock; member
|
/arch/powerpc/include/asm/ |
D | spinlock.h | 51 static __always_inline int arch_spin_value_unlocked(arch_spinlock_t lock) in arch_spin_value_unlocked() 56 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() 66 static inline unsigned long __arch_spin_trylock(arch_spinlock_t *lock) in __arch_spin_trylock() 86 static inline int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock() 110 static inline void splpar_spin_yield(arch_spinlock_t *lock) {}; in splpar_spin_yield() 111 static inline void splpar_rw_yield(arch_rwlock_t *lock) {}; in splpar_rw_yield() 128 static inline void spin_yield(arch_spinlock_t *lock) in spin_yield() 136 static inline void rw_yield(arch_rwlock_t *lock) in rw_yield() 144 static inline void arch_spin_lock(arch_spinlock_t *lock) in arch_spin_lock() 159 void arch_spin_lock_flags(arch_spinlock_t *lock, unsigned long flags) in arch_spin_lock_flags() [all …]
|
/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 | acenv.h | 20 ia64_acpi_acquire_global_lock(unsigned int *lock) in ia64_acpi_acquire_global_lock() 32 ia64_acpi_release_global_lock(unsigned int *lock) in ia64_acpi_release_global_lock()
|
/arch/openrisc/include/asm/ |
D | spinlock.h | 22 #define arch_read_lock_flags(lock, flags) arch_read_lock(lock) argument 23 #define arch_write_lock_flags(lock, flags) arch_write_lock(lock) argument 25 #define arch_spin_relax(lock) cpu_relax() argument 26 #define arch_read_relax(lock) cpu_relax() argument 27 #define arch_write_relax(lock) cpu_relax() argument
|
/arch/x86/include/asm/ |
D | qspinlock.h | 14 static __always_inline u32 queued_fetch_set_pending_acquire(struct qspinlock *lock) in queued_fetch_set_pending_acquire() 43 static inline void native_queued_spin_unlock(struct qspinlock *lock) in native_queued_spin_unlock() 48 static inline void queued_spin_lock_slowpath(struct qspinlock *lock, u32 val) in queued_spin_lock_slowpath() 53 static inline void queued_spin_unlock(struct qspinlock *lock) in queued_spin_unlock() 86 static inline bool virt_spin_lock(struct qspinlock *lock) in virt_spin_lock()
|
/arch/mips/include/asm/octeon/ |
D | cvmx-spinlock.h | 63 static inline void cvmx_spinlock_init(cvmx_spinlock_t *lock) in cvmx_spinlock_init() 74 static inline int cvmx_spinlock_locked(cvmx_spinlock_t *lock) in cvmx_spinlock_locked() 84 static inline void cvmx_spinlock_unlock(cvmx_spinlock_t *lock) in cvmx_spinlock_unlock() 103 static inline unsigned int cvmx_spinlock_trylock(cvmx_spinlock_t *lock) in cvmx_spinlock_trylock() 128 static inline void cvmx_spinlock_lock(cvmx_spinlock_t *lock) in cvmx_spinlock_lock()
|
/arch/arm/include/asm/ |
D | spinlock.h | 56 static inline void arch_spin_lock(arch_spinlock_t *lock) 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()
|
D | mcs_spinlock.h | 9 #define arch_mcs_spin_lock_contended(lock) \ argument 17 #define arch_mcs_spin_unlock_contended(lock) \ argument
|
/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() 250 static inline int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock() 267 static inline void arch_spin_unlock(arch_spinlock_t *lock) in arch_spin_unlock()
|
/arch/sh/include/asm/ |
D | spinlock_types.h | 10 volatile unsigned int lock; member 16 volatile unsigned int lock; member
|
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()
|
/arch/parisc/include/asm/ |
D | spinlock_types.h | 6 volatile unsigned int lock[4]; member 11 arch_spinlock_t lock; member
|
/arch/arm/mach-omap1/ |
D | sram.S | 49 lock: ldrh r4, [r2], #0 @ read back dpll value label
|
/arch/mips/include/asm/ |
D | spinlock.h | 22 static inline void queued_spin_unlock(struct qspinlock *lock) in queued_spin_unlock()
|