Searched refs:atomic_long_cmpxchg_release (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/arch/ia64/include/asm/ |
D | rwsem.h | 123 } while (atomic_long_cmpxchg_release(&sem->count, old, new) != old); in __up_write() 166 } while (atomic_long_cmpxchg_release(&sem->count, old, new) != old); in __downgrade_write()
|
/Linux-v4.19/kernel/locking/ |
D | mutex.c | 154 if (atomic_long_cmpxchg_release(&lock->owner, curr, 0UL) == curr) in __mutex_unlock_fast() 214 old = atomic_long_cmpxchg_release(&lock->owner, owner, new); in __mutex_handoff() 1218 old = atomic_long_cmpxchg_release(&lock->owner, owner, in __mutex_unlock_slowpath()
|
/Linux-v4.19/include/asm-generic/ |
D | atomic-long.h | 89 #define atomic_long_cmpxchg_release(l, old, new) \ macro
|