Searched refs:atomic_long_try_cmpxchg_acquire (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.15/kernel/locking/ |
| D | rwsem.c | 255 if (atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, RWSEM_WRITER_LOCKED)) { in rwsem_write_trylock() 567 } while (!atomic_long_try_cmpxchg_acquire(&sem->count, &count, new)); in rwsem_try_write_lock() 589 if (atomic_long_try_cmpxchg_acquire(&sem->count, &count, in rwsem_try_write_lock_unqueued() 1247 if (atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, in __down_read_trylock()
|
| D | mutex.c | 123 if (atomic_long_try_cmpxchg_acquire(&lock->owner, &owner, task | flags)) { in __mutex_trylock_common() 165 if (atomic_long_try_cmpxchg_acquire(&lock->owner, &zero, curr)) in __mutex_trylock_fast()
|
| /Linux-v5.15/include/linux/atomic/ |
| D | atomic-instrumented.h | 1665 atomic_long_try_cmpxchg_acquire(atomic_long_t *v, long *old, long new) in atomic_long_try_cmpxchg_acquire() function
|