/Linux-v4.19/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
|
/Linux-v4.19/arch/arc/include/asm/ |
D | spinlock.h | 80 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock() 112 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock() 139 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock() 174 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock() 202 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock() 224 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock() 327 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock() 352 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock() 376 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock() 382 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock() [all …]
|
D | spinlock_types.h | 32 } arch_rwlock_t; typedef
|
/Linux-v4.19/arch/s390/include/asm/ |
D | spinlock.h | 113 void arch_read_lock_wait(arch_rwlock_t *lp); 114 void arch_write_lock_wait(arch_rwlock_t *lp); 116 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock() 125 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock() 130 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock() 136 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock() 142 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock() 151 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock()
|
D | spinlock_types.h | 18 } arch_rwlock_t; typedef
|
/Linux-v4.19/arch/hexagon/include/asm/ |
D | spinlock.h | 42 static inline void arch_read_lock(arch_rwlock_t *lock) in arch_read_lock() 57 static inline void arch_read_unlock(arch_rwlock_t *lock) in arch_read_unlock() 72 static inline int arch_read_trylock(arch_rwlock_t *lock) in arch_read_trylock() 90 static inline void arch_write_lock(arch_rwlock_t *lock) in arch_write_lock() 105 static inline int arch_write_trylock(arch_rwlock_t *lock) in arch_write_trylock() 123 static inline void arch_write_unlock(arch_rwlock_t *lock) in arch_write_unlock()
|
D | spinlock_types.h | 36 } arch_rwlock_t; typedef
|
/Linux-v4.19/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
|
/Linux-v4.19/arch/riscv/include/asm/ |
D | spinlock.h | 62 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() 92 static inline int arch_read_trylock(arch_rwlock_t *lock) in arch_read_trylock() 110 static inline int arch_write_trylock(arch_rwlock_t *lock) in arch_write_trylock() 128 static inline void arch_read_unlock(arch_rwlock_t *lock) in arch_read_unlock() 138 static inline void arch_write_unlock(arch_rwlock_t *lock) in arch_write_unlock()
|
D | spinlock_types.h | 29 } arch_rwlock_t; typedef
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | spinlock.h | 124 extern void __rw_yield(arch_rwlock_t *lock); 199 static inline long __arch_read_trylock(arch_rwlock_t *rw) in __arch_read_trylock() 223 static inline long __arch_write_trylock(arch_rwlock_t *rw) in __arch_write_trylock() 243 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock() 257 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock() 271 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock() 276 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock() 281 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock() 298 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock()
|
D | spinlock_types.h | 17 } arch_rwlock_t; typedef
|
/Linux-v4.19/arch/xtensa/include/asm/ |
D | spinlock.h | 98 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock() 116 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock() 133 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock() 145 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock() 164 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock() 184 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock()
|
D | spinlock_types.h | 17 } arch_rwlock_t; typedef
|
/Linux-v4.19/arch/sh/include/asm/ |
D | spinlock-cas.h | 55 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock() 62 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock() 69 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock() 74 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock() 79 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock() 87 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock()
|
D | spinlock-llsc.h | 91 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock() 109 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock() 125 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock() 143 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock() 153 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock() 176 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock()
|
D | spinlock_types.h | 17 } arch_rwlock_t; typedef
|
/Linux-v4.19/arch/ia64/include/asm/ |
D | spinlock.h | 135 arch_read_lock_flags(arch_rwlock_t *lock, unsigned long flags) in arch_read_lock_flags() 167 arch_rwlock_t *__read_lock_ptr = (rw); \ 180 arch_rwlock_t *__read_lock_ptr = (rw); \ 187 arch_write_lock_flags(arch_rwlock_t *lock, unsigned long flags) in arch_write_lock_flags() 226 static inline void arch_write_unlock(arch_rwlock_t *x) in arch_write_unlock() 254 static inline void arch_write_unlock(arch_rwlock_t *x) in arch_write_unlock() 262 static inline int arch_read_trylock(arch_rwlock_t *x) in arch_read_trylock() 265 arch_rwlock_t lock; in arch_read_trylock()
|
D | spinlock_types.h | 18 } arch_rwlock_t; typedef
|
/Linux-v4.19/arch/parisc/include/asm/ |
D | spinlock.h | 69 static __inline__ void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock() 81 static __inline__ void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock() 93 static __inline__ int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock() 119 static __inline__ void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock() 141 static __inline__ void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock() 149 static __inline__ int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock()
|
D | spinlock_types.h | 18 } arch_rwlock_t; typedef
|
/Linux-v4.19/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() 226 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock() 247 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock()
|
/Linux-v4.19/include/linux/ |
D | spinlock_types_up.h | 33 } arch_rwlock_t; typedef
|