Home
last modified time | relevance | path

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

12

/arch/x86/include/asm/
Dspinlock.h61 static __always_inline void __ticket_spin_lock(raw_spinlock_t *lock) in __ticket_spin_lock()
80 static __always_inline int __ticket_spin_trylock(raw_spinlock_t *lock) in __ticket_spin_trylock()
99 static __always_inline void __ticket_spin_unlock(raw_spinlock_t *lock) in __ticket_spin_unlock()
109 static __always_inline void __ticket_spin_lock(raw_spinlock_t *lock) in __ticket_spin_lock()
130 static __always_inline int __ticket_spin_trylock(raw_spinlock_t *lock) in __ticket_spin_trylock()
152 static __always_inline void __ticket_spin_unlock(raw_spinlock_t *lock) in __ticket_spin_unlock()
161 static inline int __ticket_spin_is_locked(raw_spinlock_t *lock) in __ticket_spin_is_locked()
168 static inline int __ticket_spin_is_contended(raw_spinlock_t *lock) in __ticket_spin_is_contended()
191 static inline int __byte_spin_is_locked(raw_spinlock_t *lock) in __byte_spin_is_locked()
197 static inline int __byte_spin_is_contended(raw_spinlock_t *lock) in __byte_spin_is_contended()
[all …]
Dspinlock_types.h10 } raw_spinlock_t; typedef
/arch/s390/include/asm/
Dspinlock.h60 extern void _raw_spin_lock_wait(raw_spinlock_t *);
61 extern void _raw_spin_lock_wait_flags(raw_spinlock_t *, unsigned long flags);
62 extern int _raw_spin_trylock_retry(raw_spinlock_t *);
63 extern void _raw_spin_relax(raw_spinlock_t *lock);
65 static inline void __raw_spin_lock(raw_spinlock_t *lp) in __raw_spin_lock()
75 static inline void __raw_spin_lock_flags(raw_spinlock_t *lp, in __raw_spin_lock_flags()
86 static inline int __raw_spin_trylock(raw_spinlock_t *lp) in __raw_spin_trylock()
96 static inline void __raw_spin_unlock(raw_spinlock_t *lp) in __raw_spin_unlock()
/arch/cris/include/arch-v32/arch/
Dspinlock.h12 static inline int __raw_spin_is_locked(raw_spinlock_t *x) in __raw_spin_is_locked()
17 static inline void __raw_spin_unlock(raw_spinlock_t *lock) in __raw_spin_unlock()
25 static inline void __raw_spin_unlock_wait(raw_spinlock_t *lock) in __raw_spin_unlock_wait()
31 static inline int __raw_spin_trylock(raw_spinlock_t *lock) in __raw_spin_trylock()
36 static inline void __raw_spin_lock(raw_spinlock_t *lock) in __raw_spin_lock()
42 __raw_spin_lock_flags(raw_spinlock_t *lock, unsigned long flags) in __raw_spin_lock_flags()
/arch/blackfin/include/asm/
Dspinlock.h17 static inline int __raw_spin_is_locked(raw_spinlock_t *lock) in __raw_spin_is_locked()
22 static inline void __raw_spin_lock(raw_spinlock_t *lock) in __raw_spin_lock()
29 static inline int __raw_spin_trylock(raw_spinlock_t *lock) in __raw_spin_trylock()
34 static inline void __raw_spin_unlock(raw_spinlock_t *lock) in __raw_spin_unlock()
39 static inline void __raw_spin_unlock_wait(raw_spinlock_t *lock) in __raw_spin_unlock_wait()
Dspinlock_types.h12 } raw_spinlock_t; typedef
/arch/powerpc/include/asm/
Dspinlock.h57 static inline unsigned long __spin_trylock(raw_spinlock_t *lock) in __spin_trylock()
76 static inline int __raw_spin_trylock(raw_spinlock_t *lock) in __raw_spin_trylock()
99 extern void __spin_yield(raw_spinlock_t *lock);
107 static inline void __raw_spin_lock(raw_spinlock_t *lock) in __raw_spin_lock()
123 void __raw_spin_lock_flags(raw_spinlock_t *lock, unsigned long flags) in __raw_spin_lock_flags()
143 static inline void __raw_spin_unlock(raw_spinlock_t *lock) in __raw_spin_unlock()
152 extern void __raw_spin_unlock_wait(raw_spinlock_t *lock);
Dspinlock_types.h10 } raw_spinlock_t; typedef
/arch/sparc/include/asm/
Dspinlock_64.h30 static inline void __raw_spin_lock(raw_spinlock_t *lock) in __raw_spin_lock()
49 static inline int __raw_spin_trylock(raw_spinlock_t *lock) in __raw_spin_trylock()
62 static inline void __raw_spin_unlock(raw_spinlock_t *lock) in __raw_spin_unlock()
71 static inline void __raw_spin_lock_flags(raw_spinlock_t *lock, unsigned long flags) in __raw_spin_lock_flags()
Dspinlock_32.h18 static inline void __raw_spin_lock(raw_spinlock_t *lock) in __raw_spin_lock()
38 static inline int __raw_spin_trylock(raw_spinlock_t *lock) in __raw_spin_trylock()
48 static inline void __raw_spin_unlock(raw_spinlock_t *lock) in __raw_spin_unlock()
Dspinlock_types.h10 } raw_spinlock_t; typedef
/arch/parisc/include/asm/
Dspinlock_types.h12 } raw_spinlock_t; typedef
15 raw_spinlock_t lock;
Dspinlock.h8 static inline int __raw_spin_is_locked(raw_spinlock_t *x) in __raw_spin_is_locked()
18 static inline void __raw_spin_lock_flags(raw_spinlock_t *x, in __raw_spin_lock_flags()
36 static inline void __raw_spin_unlock(raw_spinlock_t *x) in __raw_spin_unlock()
45 static inline int __raw_spin_trylock(raw_spinlock_t *x) in __raw_spin_trylock()
/arch/mips/include/asm/
Dspinlock.h37 static inline int __raw_spin_is_locked(raw_spinlock_t *lock) in __raw_spin_is_locked()
48 static inline int __raw_spin_is_contended(raw_spinlock_t *lock) in __raw_spin_is_contended()
56 static inline void __raw_spin_lock(raw_spinlock_t *lock) in __raw_spin_lock()
137 static inline void __raw_spin_unlock(raw_spinlock_t *lock) in __raw_spin_unlock()
177 static inline unsigned int __raw_spin_trylock(raw_spinlock_t *lock) in __raw_spin_trylock()
Dspinlock_types.h15 } raw_spinlock_t; typedef
/arch/s390/lib/
Dspinlock.c42 void _raw_spin_lock_wait(raw_spinlock_t *lp) in _raw_spin_lock_wait()
62 void _raw_spin_lock_wait_flags(raw_spinlock_t *lp, unsigned long flags) in _raw_spin_lock_wait_flags()
85 int _raw_spin_trylock_retry(raw_spinlock_t *lp) in _raw_spin_trylock_retry()
100 void _raw_spin_relax(raw_spinlock_t *lock) in _raw_spin_relax()
/arch/alpha/include/asm/
Dspinlock.h20 static inline void __raw_spin_unlock(raw_spinlock_t * lock) in __raw_spin_unlock()
26 static inline void __raw_spin_lock(raw_spinlock_t * lock) in __raw_spin_lock()
46 static inline int __raw_spin_trylock(raw_spinlock_t *lock) in __raw_spin_trylock()
Dspinlock_types.h10 } raw_spinlock_t; typedef
/arch/sh/include/asm/
Dspinlock.h37 static inline void __raw_spin_lock(raw_spinlock_t *lock) in __raw_spin_lock()
57 static inline void __raw_spin_unlock(raw_spinlock_t *lock) in __raw_spin_unlock()
70 static inline int __raw_spin_trylock(raw_spinlock_t *lock) in __raw_spin_trylock()
Dspinlock_types.h10 } raw_spinlock_t; typedef
/arch/arm/include/asm/
Dspinlock.h26 static inline void __raw_spin_lock(raw_spinlock_t *lock) in __raw_spin_lock()
46 static inline int __raw_spin_trylock(raw_spinlock_t *lock) in __raw_spin_trylock()
66 static inline void __raw_spin_unlock(raw_spinlock_t *lock) in __raw_spin_unlock()
Dspinlock_types.h10 } raw_spinlock_t; typedef
/arch/powerpc/lib/
Dlocks.c28 void __spin_yield(raw_spinlock_t *lock) in __spin_yield()
85 void __raw_spin_unlock_wait(raw_spinlock_t *lock) in __raw_spin_unlock_wait()
/arch/ia64/include/asm/
Dspinlock.h33 __raw_spin_lock_flags (raw_spinlock_t *lock, unsigned long flags) in __raw_spin_lock_flags()
92 static inline void __raw_spin_unlock(raw_spinlock_t *x) { in __raw_spin_unlock()
112 #define __raw_spin_unlock(x) do { barrier(); ((raw_spinlock_t *) x)->lock = 0; } while (0)
Dspinlock_types.h10 } raw_spinlock_t; typedef

12