Home
last modified time | relevance | path

Searched refs:arch_rwlock_t (Results 1 – 25 of 31) sorted by relevance

12

/Linux-v4.19/arch/sparc/include/asm/
Dspinlock_32.h79 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()
Dspinlock_types.h21 } arch_rwlock_t; typedef
/Linux-v4.19/arch/arc/include/asm/
Dspinlock.h80 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 …]
Dspinlock_types.h32 } arch_rwlock_t; typedef
/Linux-v4.19/arch/s390/include/asm/
Dspinlock.h113 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()
Dspinlock_types.h18 } arch_rwlock_t; typedef
/Linux-v4.19/arch/hexagon/include/asm/
Dspinlock.h42 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()
Dspinlock_types.h36 } arch_rwlock_t; typedef
/Linux-v4.19/arch/alpha/include/asm/
Dspinlock.h57 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()
Dspinlock_types.h17 } arch_rwlock_t; typedef
/Linux-v4.19/arch/riscv/include/asm/
Dspinlock.h62 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()
Dspinlock_types.h29 } arch_rwlock_t; typedef
/Linux-v4.19/arch/powerpc/include/asm/
Dspinlock.h124 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()
Dspinlock_types.h17 } arch_rwlock_t; typedef
/Linux-v4.19/arch/xtensa/include/asm/
Dspinlock.h98 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()
Dspinlock_types.h17 } arch_rwlock_t; typedef
/Linux-v4.19/arch/sh/include/asm/
Dspinlock-cas.h55 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()
Dspinlock-llsc.h91 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()
Dspinlock_types.h17 } arch_rwlock_t; typedef
/Linux-v4.19/arch/ia64/include/asm/
Dspinlock.h135 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()
Dspinlock_types.h18 } arch_rwlock_t; typedef
/Linux-v4.19/arch/parisc/include/asm/
Dspinlock.h69 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()
Dspinlock_types.h18 } arch_rwlock_t; typedef
/Linux-v4.19/arch/arm/include/asm/
Dspinlock.h139 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/
Dspinlock_types_up.h33 } arch_rwlock_t; typedef

12