Searched refs:cmpxchg_acquire (Results 1 – 6 of 6) sorted by relevance
/linux-4.4.14/include/asm-generic/ |
D | rwsem.h | 45 if (tmp == cmpxchg_acquire(&sem->count, tmp, in __down_read_trylock() 75 tmp = cmpxchg_acquire(&sem->count, RWSEM_UNLOCKED_VALUE, in __down_write_trylock()
|
/linux-4.4.14/include/linux/ |
D | atomic.h | 360 #define cmpxchg_acquire cmpxchg macro 365 #ifndef cmpxchg_acquire 366 #define cmpxchg_acquire(...) \ macro
|
/linux-4.4.14/arch/arm64/include/asm/ |
D | cmpxchg.h | 160 #define cmpxchg_acquire(...) __cmpxchg_wrapper(_acq, __VA_ARGS__) macro 167 #define cmpxchg64_acquire cmpxchg_acquire
|
D | atomic.h | 87 cmpxchg_acquire(&((v)->counter), (old), (new))
|
/linux-4.4.14/kernel/locking/ |
D | rwsem-xadd.c | 265 cmpxchg_acquire(&sem->count, RWSEM_WAITING_BIAS, in rwsem_try_write_lock() 288 old = cmpxchg_acquire(&sem->count, count, in rwsem_try_write_lock_unqueued()
|
D | rtmutex.c | 78 # define rt_mutex_cmpxchg_acquire(l,c,n) (cmpxchg_acquire(&l->owner, c, n) == c)
|