Searched refs:atomic_long_cmpxchg_acquire (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/arch/ia64/include/asm/ |
D | rwsem.h | 77 } while (atomic_long_cmpxchg_acquire(&sem->count, old, new) != old); in ___down_write() 137 if (tmp == atomic_long_cmpxchg_acquire(&sem->count, tmp, tmp+1)) { in __down_read_trylock() 150 long tmp = atomic_long_cmpxchg_acquire(&sem->count, in __down_write_trylock()
|
/Linux-v4.19/include/asm-generic/ |
D | rwsem.h | 56 if (tmp == atomic_long_cmpxchg_acquire(&sem->count, tmp, in __down_read_trylock() 93 tmp = atomic_long_cmpxchg_acquire(&sem->count, RWSEM_UNLOCKED_VALUE, in __down_write_trylock()
|
D | atomic-long.h | 86 #define atomic_long_cmpxchg_acquire(l, old, new) \ macro
|
/Linux-v4.19/kernel/locking/ |
D | rwsem-xadd.c | 318 if (atomic_long_cmpxchg_acquire(&sem->count, RWSEM_WAITING_BIAS, count) in rwsem_try_write_lock() 339 old = atomic_long_cmpxchg_acquire(&sem->count, count, in rwsem_try_write_lock_unqueued()
|
D | mutex.c | 110 old = atomic_long_cmpxchg_acquire(&lock->owner, owner, curr | flags); in __mutex_trylock_or_owner()
|