Home
last modified time | relevance | path

Searched refs:cmpxchg_acquire (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/include/asm-generic/
Drwsem.h45 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/
Datomic.h360 #define cmpxchg_acquire cmpxchg macro
365 #ifndef cmpxchg_acquire
366 #define cmpxchg_acquire(...) \ macro
/linux-4.4.14/arch/arm64/include/asm/
Dcmpxchg.h160 #define cmpxchg_acquire(...) __cmpxchg_wrapper(_acq, __VA_ARGS__) macro
167 #define cmpxchg64_acquire cmpxchg_acquire
Datomic.h87 cmpxchg_acquire(&((v)->counter), (old), (new))
/linux-4.4.14/kernel/locking/
Drwsem-xadd.c265 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()
Drtmutex.c78 # define rt_mutex_cmpxchg_acquire(l,c,n) (cmpxchg_acquire(&l->owner, c, n) == c)