/arch/hexagon/include/asm/ |
D | spinlock.h | 180 do {while (arch_spin_is_locked(lock)) cpu_relax(); } while (0) 181 #define arch_spin_is_locked(x) ((x)->lock != 0) macro
|
/arch/parisc/include/asm/ |
D | spinlock.h | 9 static inline int arch_spin_is_locked(arch_spinlock_t *x) in arch_spin_is_locked() function 17 do { cpu_relax(); } while (arch_spin_is_locked(x)) 115 while (arch_spin_is_locked(&rw->lock) && rw->counter >= 0) in arch_read_trylock()
|
/arch/s390/lib/ |
D | spinlock.c | 38 if (arch_spin_is_locked(lp)) in arch_spin_lock_wait() 67 if (arch_spin_is_locked(lp)) in arch_spin_lock_wait_flags() 95 if (arch_spin_is_locked(lp)) in arch_spin_trylock_retry()
|
/arch/sh/include/asm/ |
D | spinlock.h | 26 #define arch_spin_is_locked(x) ((x)->lock <= 0) macro 29 do { while (arch_spin_is_locked(x)) cpu_relax(); } while (0)
|
/arch/blackfin/include/asm/ |
D | spinlock.h | 27 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function 51 while (arch_spin_is_locked(lock)) in arch_spin_unlock_wait()
|
/arch/mn10300/include/asm/ |
D | spinlock.h | 25 #define arch_spin_is_locked(x) (*(volatile signed char *)(&(x)->slock) != 0) macro 26 #define arch_spin_unlock_wait(x) do { barrier(); } while (arch_spin_is_locked(x))
|
/arch/cris/include/arch-v32/arch/ |
D | spinlock.h | 12 static inline int arch_spin_is_locked(arch_spinlock_t *x) in arch_spin_is_locked() function 27 while (arch_spin_is_locked(lock)) in arch_spin_unlock_wait()
|
/arch/m32r/include/asm/ |
D | spinlock.h | 28 #define arch_spin_is_locked(x) (*(volatile int *)(&(x)->slock) <= 0) macro 31 do { cpu_relax(); } while (arch_spin_is_locked(x))
|
/arch/sparc/include/asm/ |
D | spinlock_32.h | 14 #define arch_spin_is_locked(lock) (*((volatile unsigned char *)(lock)) != 0) macro 17 do { while (arch_spin_is_locked(lock)) cpu_relax(); } while (0)
|
D | spinlock_64.h | 24 #define arch_spin_is_locked(lp) ((lp)->lock != 0) macro
|
/arch/arm/include/asm/ |
D | spinlock.h | 73 #define arch_spin_is_locked(x) ((x)->lock != 0) macro 75 do { while (arch_spin_is_locked(lock)) cpu_relax(); } while (0)
|
/arch/s390/include/asm/ |
D | spinlock.h | 39 #define arch_spin_is_locked(x) ((x)->owner_cpu != 0) macro 41 do { while (arch_spin_is_locked(lock)) \
|
/arch/powerpc/include/asm/ |
D | spinlock.h | 31 #define arch_spin_is_locked(x) ((x)->slock != 0) macro 156 do { while (arch_spin_is_locked(lock)) cpu_relax(); } while (0)
|
/arch/tile/include/asm/ |
D | spinlock_32.h | 36 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function
|
D | spinlock_64.h | 45 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function
|
/arch/x86/include/asm/ |
D | spinlock.h | 103 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function 139 while (arch_spin_is_locked(lock)) in arch_spin_unlock_wait()
|
D | paravirt.h | 757 static inline int arch_spin_is_locked(struct arch_spinlock *lock) in arch_spin_is_locked() function
|
/arch/mips/include/asm/ |
D | spinlock.h | 37 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function 46 while (arch_spin_is_locked(x)) { cpu_relax(); }
|
/arch/tile/lib/ |
D | spinlock_64.c | 68 while (arch_spin_is_locked(lock)) in arch_spin_unlock_wait()
|
D | spinlock_32.c | 68 while (arch_spin_is_locked(lock)) in arch_spin_unlock_wait()
|
/arch/alpha/include/asm/ |
D | spinlock.h | 15 #define arch_spin_is_locked(x) ((x)->lock != 0) macro
|
/arch/mips/pmc-sierra/yosemite/ |
D | smp.c | 23 while (arch_spin_is_locked(&launch_lock)); in prom_smp_bootstrap()
|
/arch/ia64/include/asm/ |
D | spinlock.h | 105 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function
|