arch_rwlock_t 57 arch/alpha/include/asm/spinlock.h static inline void arch_read_lock(arch_rwlock_t *lock) arch_rwlock_t 77 arch/alpha/include/asm/spinlock.h static inline void arch_write_lock(arch_rwlock_t *lock) arch_rwlock_t 97 arch/alpha/include/asm/spinlock.h static inline int arch_read_trylock(arch_rwlock_t * lock) arch_rwlock_t 119 arch/alpha/include/asm/spinlock.h static inline int arch_write_trylock(arch_rwlock_t * lock) arch_rwlock_t 141 arch/alpha/include/asm/spinlock.h static inline void arch_read_unlock(arch_rwlock_t * lock) arch_rwlock_t 157 arch/alpha/include/asm/spinlock.h static inline void arch_write_unlock(arch_rwlock_t * lock) arch_rwlock_t 79 arch/arc/include/asm/spinlock.h static inline void arch_read_lock(arch_rwlock_t *rw) arch_rwlock_t 109 arch/arc/include/asm/spinlock.h static inline int arch_read_trylock(arch_rwlock_t *rw) arch_rwlock_t 134 arch/arc/include/asm/spinlock.h static inline void arch_write_lock(arch_rwlock_t *rw) arch_rwlock_t 167 arch/arc/include/asm/spinlock.h static inline int arch_write_trylock(arch_rwlock_t *rw) arch_rwlock_t 193 arch/arc/include/asm/spinlock.h static inline void arch_read_unlock(arch_rwlock_t *rw) arch_rwlock_t 213 arch/arc/include/asm/spinlock.h static inline void arch_write_unlock(arch_rwlock_t *rw) arch_rwlock_t 304 arch/arc/include/asm/spinlock.h static inline int arch_read_trylock(arch_rwlock_t *rw) arch_rwlock_t 328 arch/arc/include/asm/spinlock.h static inline int arch_write_trylock(arch_rwlock_t *rw) arch_rwlock_t 352 arch/arc/include/asm/spinlock.h static inline void arch_read_lock(arch_rwlock_t *rw) arch_rwlock_t 358 arch/arc/include/asm/spinlock.h static inline void arch_write_lock(arch_rwlock_t *rw) arch_rwlock_t 364 arch/arc/include/asm/spinlock.h static inline void arch_read_unlock(arch_rwlock_t *rw) arch_rwlock_t 375 arch/arc/include/asm/spinlock.h static inline void arch_write_unlock(arch_rwlock_t *rw) arch_rwlock_t 139 arch/arm/include/asm/spinlock.h static inline void arch_write_lock(arch_rwlock_t *rw) arch_rwlock_t 158 arch/arm/include/asm/spinlock.h static inline int arch_write_trylock(arch_rwlock_t *rw) arch_rwlock_t 182 arch/arm/include/asm/spinlock.h static inline void arch_write_unlock(arch_rwlock_t *rw) arch_rwlock_t 207 arch/arm/include/asm/spinlock.h static inline void arch_read_lock(arch_rwlock_t *rw) arch_rwlock_t 227 arch/arm/include/asm/spinlock.h static inline void arch_read_unlock(arch_rwlock_t *rw) arch_rwlock_t 248 arch/arm/include/asm/spinlock.h static inline int arch_read_trylock(arch_rwlock_t *rw) arch_rwlock_t 150 arch/csky/include/asm/spinlock.h static inline void arch_read_lock(arch_rwlock_t *lock) arch_rwlock_t 167 arch/csky/include/asm/spinlock.h static inline void arch_read_unlock(arch_rwlock_t *lock) arch_rwlock_t 183 arch/csky/include/asm/spinlock.h static inline int arch_read_trylock(arch_rwlock_t *lock) arch_rwlock_t 209 arch/csky/include/asm/spinlock.h static inline void arch_write_lock(arch_rwlock_t *lock) arch_rwlock_t 226 arch/csky/include/asm/spinlock.h static inline void arch_write_unlock(arch_rwlock_t *lock) arch_rwlock_t 232 arch/csky/include/asm/spinlock.h static inline int arch_write_trylock(arch_rwlock_t *lock) arch_rwlock_t 28 arch/hexagon/include/asm/spinlock.h static inline void arch_read_lock(arch_rwlock_t *lock) arch_rwlock_t 43 arch/hexagon/include/asm/spinlock.h static inline void arch_read_unlock(arch_rwlock_t *lock) arch_rwlock_t 58 arch/hexagon/include/asm/spinlock.h static inline int arch_read_trylock(arch_rwlock_t *lock) arch_rwlock_t 76 arch/hexagon/include/asm/spinlock.h static inline void arch_write_lock(arch_rwlock_t *lock) arch_rwlock_t 91 arch/hexagon/include/asm/spinlock.h static inline int arch_write_trylock(arch_rwlock_t *lock) arch_rwlock_t 109 arch/hexagon/include/asm/spinlock.h static inline void arch_write_unlock(arch_rwlock_t *lock) arch_rwlock_t 137 arch/ia64/include/asm/spinlock.h arch_read_lock_flags(arch_rwlock_t *lock, unsigned long flags) arch_rwlock_t 169 arch/ia64/include/asm/spinlock.h arch_rwlock_t *__read_lock_ptr = (rw); \ arch_rwlock_t 182 arch/ia64/include/asm/spinlock.h arch_rwlock_t *__read_lock_ptr = (rw); \ arch_rwlock_t 189 arch/ia64/include/asm/spinlock.h arch_write_lock_flags(arch_rwlock_t *lock, unsigned long flags) arch_rwlock_t 228 arch/ia64/include/asm/spinlock.h static inline void arch_write_unlock(arch_rwlock_t *x) arch_rwlock_t 256 arch/ia64/include/asm/spinlock.h static inline void arch_write_unlock(arch_rwlock_t *x) arch_rwlock_t 264 arch/ia64/include/asm/spinlock.h static inline int arch_read_trylock(arch_rwlock_t *x) arch_rwlock_t 267 arch/ia64/include/asm/spinlock.h arch_rwlock_t lock; arch_rwlock_t 73 arch/parisc/include/asm/spinlock.h static __inline__ void arch_read_lock(arch_rwlock_t *rw) arch_rwlock_t 85 arch/parisc/include/asm/spinlock.h static __inline__ void arch_read_unlock(arch_rwlock_t *rw) arch_rwlock_t 97 arch/parisc/include/asm/spinlock.h static __inline__ int arch_read_trylock(arch_rwlock_t *rw) arch_rwlock_t 123 arch/parisc/include/asm/spinlock.h static __inline__ void arch_write_lock(arch_rwlock_t *rw) arch_rwlock_t 145 arch/parisc/include/asm/spinlock.h static __inline__ void arch_write_unlock(arch_rwlock_t *rw) arch_rwlock_t 153 arch/parisc/include/asm/spinlock.h static __inline__ int arch_write_trylock(arch_rwlock_t *rw) arch_rwlock_t 108 arch/powerpc/include/asm/spinlock.h void splpar_rw_yield(arch_rwlock_t *lock); arch_rwlock_t 111 arch/powerpc/include/asm/spinlock.h static inline void splpar_rw_yield(arch_rwlock_t *lock) {}; arch_rwlock_t 136 arch/powerpc/include/asm/spinlock.h static inline void rw_yield(arch_rwlock_t *lock) arch_rwlock_t 209 arch/powerpc/include/asm/spinlock.h static inline long __arch_read_trylock(arch_rwlock_t *rw) arch_rwlock_t 233 arch/powerpc/include/asm/spinlock.h static inline long __arch_write_trylock(arch_rwlock_t *rw) arch_rwlock_t 253 arch/powerpc/include/asm/spinlock.h static inline void arch_read_lock(arch_rwlock_t *rw) arch_rwlock_t 267 arch/powerpc/include/asm/spinlock.h static inline void arch_write_lock(arch_rwlock_t *rw) arch_rwlock_t 281 arch/powerpc/include/asm/spinlock.h static inline int arch_read_trylock(arch_rwlock_t *rw) arch_rwlock_t 286 arch/powerpc/include/asm/spinlock.h static inline int arch_write_trylock(arch_rwlock_t *rw) arch_rwlock_t 291 arch/powerpc/include/asm/spinlock.h static inline void arch_read_unlock(arch_rwlock_t *rw) arch_rwlock_t 308 arch/powerpc/include/asm/spinlock.h static inline void arch_write_unlock(arch_rwlock_t *rw) arch_rwlock_t 46 arch/powerpc/lib/locks.c void splpar_rw_yield(arch_rwlock_t *rw) arch_rwlock_t 54 arch/riscv/include/asm/spinlock.h static inline void arch_read_lock(arch_rwlock_t *lock) arch_rwlock_t 69 arch/riscv/include/asm/spinlock.h static inline void arch_write_lock(arch_rwlock_t *lock) arch_rwlock_t 84 arch/riscv/include/asm/spinlock.h static inline int arch_read_trylock(arch_rwlock_t *lock) arch_rwlock_t 102 arch/riscv/include/asm/spinlock.h static inline int arch_write_trylock(arch_rwlock_t *lock) arch_rwlock_t 120 arch/riscv/include/asm/spinlock.h static inline void arch_read_unlock(arch_rwlock_t *lock) arch_rwlock_t 130 arch/riscv/include/asm/spinlock.h static inline void arch_write_unlock(arch_rwlock_t *lock) arch_rwlock_t 109 arch/s390/include/asm/spinlock.h void arch_read_lock_wait(arch_rwlock_t *lp); arch_rwlock_t 110 arch/s390/include/asm/spinlock.h void arch_write_lock_wait(arch_rwlock_t *lp); arch_rwlock_t 112 arch/s390/include/asm/spinlock.h static inline void arch_read_lock(arch_rwlock_t *rw) arch_rwlock_t 121 arch/s390/include/asm/spinlock.h static inline void arch_read_unlock(arch_rwlock_t *rw) arch_rwlock_t 126 arch/s390/include/asm/spinlock.h static inline void arch_write_lock(arch_rwlock_t *rw) arch_rwlock_t 132 arch/s390/include/asm/spinlock.h static inline void arch_write_unlock(arch_rwlock_t *rw) arch_rwlock_t 138 arch/s390/include/asm/spinlock.h static inline int arch_read_trylock(arch_rwlock_t *rw) arch_rwlock_t 147 arch/s390/include/asm/spinlock.h static inline int arch_write_trylock(arch_rwlock_t *rw) arch_rwlock_t 270 arch/s390/lib/spinlock.c void arch_read_lock_wait(arch_rwlock_t *rw) arch_rwlock_t 291 arch/s390/lib/spinlock.c void arch_write_lock_wait(arch_rwlock_t *rw) arch_rwlock_t 52 arch/sh/include/asm/spinlock-cas.h static inline void arch_read_lock(arch_rwlock_t *rw) arch_rwlock_t 59 arch/sh/include/asm/spinlock-cas.h static inline void arch_read_unlock(arch_rwlock_t *rw) arch_rwlock_t 66 arch/sh/include/asm/spinlock-cas.h static inline void arch_write_lock(arch_rwlock_t *rw) arch_rwlock_t 71 arch/sh/include/asm/spinlock-cas.h static inline void arch_write_unlock(arch_rwlock_t *rw) arch_rwlock_t 76 arch/sh/include/asm/spinlock-cas.h static inline int arch_read_trylock(arch_rwlock_t *rw) arch_rwlock_t 84 arch/sh/include/asm/spinlock-cas.h static inline int arch_write_trylock(arch_rwlock_t *rw) arch_rwlock_t 90 arch/sh/include/asm/spinlock-llsc.h static inline void arch_read_lock(arch_rwlock_t *rw) arch_rwlock_t 108 arch/sh/include/asm/spinlock-llsc.h static inline void arch_read_unlock(arch_rwlock_t *rw) arch_rwlock_t 124 arch/sh/include/asm/spinlock-llsc.h static inline void arch_write_lock(arch_rwlock_t *rw) arch_rwlock_t 142 arch/sh/include/asm/spinlock-llsc.h static inline void arch_write_unlock(arch_rwlock_t *rw) arch_rwlock_t 152 arch/sh/include/asm/spinlock-llsc.h static inline int arch_read_trylock(arch_rwlock_t *rw) arch_rwlock_t 175 arch/sh/include/asm/spinlock-llsc.h static inline int arch_write_trylock(arch_rwlock_t *rw) arch_rwlock_t 79 arch/sparc/include/asm/spinlock_32.h static inline void __arch_read_lock(arch_rwlock_t *rw) arch_rwlock_t 81 arch/sparc/include/asm/spinlock_32.h register arch_rwlock_t *lp asm("g1"); arch_rwlock_t 99 arch/sparc/include/asm/spinlock_32.h static inline void __arch_read_unlock(arch_rwlock_t *rw) arch_rwlock_t 101 arch/sparc/include/asm/spinlock_32.h register arch_rwlock_t *lp asm("g1"); arch_rwlock_t 119 arch/sparc/include/asm/spinlock_32.h static inline void arch_write_lock(arch_rwlock_t *rw) arch_rwlock_t 121 arch/sparc/include/asm/spinlock_32.h register arch_rwlock_t *lp asm("g1"); arch_rwlock_t 133 arch/sparc/include/asm/spinlock_32.h static inline void arch_write_unlock(arch_rwlock_t *lock) arch_rwlock_t 142 arch/sparc/include/asm/spinlock_32.h static inline int arch_write_trylock(arch_rwlock_t *rw) arch_rwlock_t 162 arch/sparc/include/asm/spinlock_32.h static inline int __arch_read_trylock(arch_rwlock_t *rw) arch_rwlock_t 164 arch/sparc/include/asm/spinlock_32.h register arch_rwlock_t *lp asm("g1"); arch_rwlock_t 12 include/linux/rwlock_types.h arch_rwlock_t raw_lock; arch_rwlock_t 44 kernel/locking/spinlock_debug.c lock->raw_lock = (arch_rwlock_t) __ARCH_RW_LOCK_UNLOCKED;