/arch/sparc/include/asm/ |
D | spinlock_32.h | 79 static inline void __arch_read_lock(arch_rwlock_t *rw) in __arch_read_lock() 81 register arch_rwlock_t *lp asm("g1"); in __arch_read_lock() 99 static inline void __arch_read_unlock(arch_rwlock_t *rw) in __arch_read_unlock() 101 register arch_rwlock_t *lp asm("g1"); in __arch_read_unlock() 119 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock() 121 register arch_rwlock_t *lp asm("g1"); in arch_write_lock() 133 static inline void arch_write_unlock(arch_rwlock_t *lock) in arch_write_unlock() 142 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock() 162 static inline int __arch_read_trylock(arch_rwlock_t *rw) in __arch_read_trylock() 164 register arch_rwlock_t *lp asm("g1"); in __arch_read_trylock()
|
D | spinlock_types.h | 21 } arch_rwlock_t; typedef
|
/arch/arc/include/asm/ |
D | spinlock.h | 79 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock() 109 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock() 134 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock() 167 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock() 193 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock() 213 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock() 298 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock() 322 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock() 346 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock() 352 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock() [all …]
|
D | spinlock_types.h | 29 } arch_rwlock_t; typedef
|
/arch/powerpc/include/asm/ |
D | simple_spinlock.h | 91 void splpar_rw_yield(arch_rwlock_t *lock); 94 static inline void splpar_rw_yield(arch_rwlock_t *lock) {} in splpar_rw_yield() 105 static inline void rw_yield(arch_rwlock_t *lock) in rw_yield() 178 static inline long __arch_read_trylock(arch_rwlock_t *rw) in __arch_read_trylock() 202 static inline long __arch_write_trylock(arch_rwlock_t *rw) in __arch_write_trylock() 222 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock() 236 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock() 250 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock() 255 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock() 260 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock() [all …]
|
D | simple_spinlock_types.h | 17 } arch_rwlock_t; typedef
|
/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()
|
D | spinlock_types.h | 23 } arch_rwlock_t; typedef
|
/arch/s390/include/asm/ |
D | spinlock.h | 109 void arch_read_lock_wait(arch_rwlock_t *lp); 110 void arch_write_lock_wait(arch_rwlock_t *lp); 112 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock() 121 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock() 126 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock() 132 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock() 138 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock() 147 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock()
|
D | spinlock_types.h | 18 } arch_rwlock_t; typedef
|
/arch/riscv/include/asm/ |
D | spinlock.h | 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 | 21 } arch_rwlock_t; typedef
|
/arch/alpha/include/asm/ |
D | spinlock.h | 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 | 17 } arch_rwlock_t; typedef
|
/arch/sh/include/asm/ |
D | spinlock-cas.h | 52 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock() 59 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock() 66 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock() 71 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock() 76 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock() 84 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock()
|
D | spinlock-llsc.h | 90 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock() 108 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock() 124 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock() 142 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock() 152 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock() 175 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock()
|
D | spinlock_types.h | 17 } arch_rwlock_t; typedef
|
/arch/parisc/include/asm/ |
D | spinlock.h | 67 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock() 91 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock() 115 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock() 121 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock() 127 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock() 138 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock()
|
D | spinlock_types.h | 19 } arch_rwlock_t; typedef
|
/arch/ia64/include/asm/ |
D | spinlock.h | 137 arch_read_lock_flags(arch_rwlock_t *lock, unsigned long flags) in arch_read_lock_flags() 169 arch_rwlock_t *__read_lock_ptr = (rw); \ 182 arch_rwlock_t *__read_lock_ptr = (rw); \ 189 arch_write_lock_flags(arch_rwlock_t *lock, unsigned long flags) in arch_write_lock_flags() 228 static inline void arch_write_unlock(arch_rwlock_t *x) in arch_write_unlock() 256 static inline void arch_write_unlock(arch_rwlock_t *x) in arch_write_unlock() 264 static inline int arch_read_trylock(arch_rwlock_t *x) in arch_read_trylock() 267 arch_rwlock_t lock; in arch_read_trylock()
|
D | spinlock_types.h | 18 } arch_rwlock_t; typedef
|
/arch/arm/include/asm/ |
D | spinlock.h | 139 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock() 158 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock() 182 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock() 207 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock() 227 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock() 248 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock()
|
D | spinlock_types.h | 30 } arch_rwlock_t; typedef
|
/arch/powerpc/lib/ |
D | locks.c | 46 void splpar_rw_yield(arch_rwlock_t *rw) in splpar_rw_yield()
|
/arch/s390/lib/ |
D | spinlock.c | 269 void arch_read_lock_wait(arch_rwlock_t *rw) in arch_read_lock_wait() 290 void arch_write_lock_wait(arch_rwlock_t *rw) in arch_write_lock_wait()
|