Searched refs:atomic_long_try_cmpxchg_acquire (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/kernel/locking/ |
H A D | rwsem.c | 590 } while (!atomic_long_try_cmpxchg_acquire(&sem->count, &count, new)); in rwsem_try_write_lock() 636 if (atomic_long_try_cmpxchg_acquire(&sem->count, &count, in rwsem_try_write_lock_unqueued() 1383 if (atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, in __down_read_trylock() 1399 if (unlikely(!atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, in __down_write() 1410 if (unlikely(!atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, in __down_write_killable() 1427 if (atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, in __down_write_trylock()
|
H A D | mutex.c | 171 if (atomic_long_try_cmpxchg_acquire(&lock->owner, &zero, curr)) in __mutex_trylock_fast()
|
/kernel/linux/linux-6.6/kernel/locking/ |
H A D | rwsem.c | 260 if (atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, RWSEM_WRITER_LOCKED)) { in rwsem_write_trylock() 646 } while (!atomic_long_try_cmpxchg_acquire(&sem->count, &count, new)); in rwsem_try_write_lock() 695 if (atomic_long_try_cmpxchg_acquire(&sem->count, &count, in rwsem_try_write_lock_unqueued() 1286 if (atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, in __down_read_trylock()
|
H A D | mutex.c | 129 if (atomic_long_try_cmpxchg_acquire(&lock->owner, &owner, task | flags)) { in __mutex_trylock_common() 171 if (atomic_long_try_cmpxchg_acquire(&lock->owner, &zero, curr)) in __mutex_trylock_fast()
|
/kernel/linux/linux-5.10/include/asm-generic/ |
H A D | atomic-long.h | 441 atomic_long_try_cmpxchg_acquire(atomic_long_t *v, long *old, long new) in atomic_long_try_cmpxchg_acquire() function 935 atomic_long_try_cmpxchg_acquire(atomic_long_t *v, long *old, long new) in atomic_long_try_cmpxchg_acquire() function
|
/kernel/linux/linux-6.6/include/linux/atomic/ |
H A D | atomic-instrumented.h | 4407 * atomic_long_try_cmpxchg_acquire() - atomic compare and exchange with acquire ordering 4420 atomic_long_try_cmpxchg_acquire(atomic_long_t *v, long *old, long new) in atomic_long_try_cmpxchg_acquire() function
|
Completed in 15 milliseconds