Home
last modified time | relevance | path

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

12

/linux/arch/sparc/include/asm/
A 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()
A Dspinlock_types.h21 } arch_rwlock_t; typedef
/linux/arch/powerpc/include/asm/
A Dsimple_spinlock.h90 void splpar_rw_yield(arch_rwlock_t *lock);
93 static inline void splpar_rw_yield(arch_rwlock_t *lock) {} in splpar_rw_yield()
104 static inline void rw_yield(arch_rwlock_t *lock) in rw_yield()
156 static inline long __arch_read_trylock(arch_rwlock_t *rw) in __arch_read_trylock()
179 static inline long __arch_write_trylock(arch_rwlock_t *rw) in __arch_write_trylock()
198 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock()
212 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock()
226 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock()
231 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock()
236 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock()
[all …]
A Dsimple_spinlock_types.h17 } arch_rwlock_t; typedef
/linux/arch/arc/include/asm/
A Dspinlock.h79 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 …]
A Dspinlock_types.h29 } arch_rwlock_t; typedef
/linux/arch/s390/include/asm/
A Dspinlock.h101 void arch_read_lock_wait(arch_rwlock_t *lp);
102 void arch_write_lock_wait(arch_rwlock_t *lp);
104 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock()
113 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock()
118 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock()
124 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock()
130 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock()
139 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock()
A Dspinlock_types.h18 } arch_rwlock_t; typedef
/linux/arch/hexagon/include/asm/
A Dspinlock.h28 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()
A Dspinlock_types.h23 } arch_rwlock_t; typedef
/linux/arch/riscv/include/asm/
A Dspinlock.h54 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()
A Dspinlock_types.h21 } arch_rwlock_t; typedef
/linux/arch/alpha/include/asm/
A 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()
A Dspinlock_types.h17 } arch_rwlock_t; typedef
/linux/arch/sh/include/asm/
A Dspinlock-cas.h52 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()
A Dspinlock-llsc.h90 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()
A Dspinlock_types.h17 } arch_rwlock_t; typedef
/linux/arch/ia64/include/asm/
A Dspinlock.h130 arch_read_lock(arch_rwlock_t *lock) in arch_read_lock()
159 arch_rwlock_t *__read_lock_ptr = (rw); \
172 arch_rwlock_t *__read_lock_ptr = (rw); \
179 arch_write_lock(arch_rwlock_t *lock) in arch_write_lock()
217 static inline void arch_write_unlock(arch_rwlock_t *x) in arch_write_unlock()
245 static inline void arch_write_unlock(arch_rwlock_t *x) in arch_write_unlock()
253 static inline int arch_read_trylock(arch_rwlock_t *x) in arch_read_trylock()
256 arch_rwlock_t lock; in arch_read_trylock()
A Dspinlock_types.h18 } arch_rwlock_t; typedef
/linux/arch/parisc/include/asm/
A Dspinlock.h52 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock()
76 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock()
100 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock()
106 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock()
112 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock()
123 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock()
A Dspinlock_types.h24 } arch_rwlock_t; typedef
/linux/arch/arm/include/asm/
A 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()
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()
A Dspinlock_types.h30 } arch_rwlock_t; typedef
/linux/include/linux/
A Dspinlock_types_up.h33 } arch_rwlock_t; typedef
/linux/include/asm-generic/
A Dqrwlock_types.h27 } arch_rwlock_t; typedef

Completed in 15 milliseconds

12