Searched refs:__atomic_cmpxchg_bool (Results 1 - 3 of 3) sorted by relevance
/linux-master/arch/s390/include/asm/ |
H A D | spinlock.h | 61 return likely(__atomic_cmpxchg_bool(&lp->lock, 0, SPINLOCK_LOCKVAL)); 121 if (!__atomic_cmpxchg_bool(&rw->cnts, 0, 0x30000)) 137 __atomic_cmpxchg_bool(&rw->cnts, old, old + 1)); 145 return !old && __atomic_cmpxchg_bool(&rw->cnts, 0, 0x30000);
|
H A D | atomic_ops.h | 167 static __always_inline bool __atomic_cmpxchg_bool(int *ptr, int old, int new) function
|
/linux-master/arch/s390/lib/ |
H A D | spinlock.c | 142 if (__atomic_cmpxchg_bool(&lp->lock, old, new)) 150 if (__atomic_cmpxchg_bool(&lp->lock, old, new)) 187 if (__atomic_cmpxchg_bool(&lp->lock, old, new)) 261 if (__atomic_cmpxchg_bool(&lp->lock, 0, cpu)) 303 __atomic_cmpxchg_bool(&rw->cnts, old, old | 0x10000))
|
Completed in 119 milliseconds