Home
last modified time | relevance | path

Searched refs:atomic_long_cmpxchg_acquire (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/arch/ia64/include/asm/
Drwsem.h77 } 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/
Drwsem.h56 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()
Datomic-long.h86 #define atomic_long_cmpxchg_acquire(l, old, new) \ macro
/Linux-v4.19/kernel/locking/
Drwsem-xadd.c318 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()
Dmutex.c110 old = atomic_long_cmpxchg_acquire(&lock->owner, owner, curr | flags); in __mutex_trylock_or_owner()