Searched refs:atomic_long_try_cmpxchg_acquire (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.10/kernel/locking/ |
| 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() 1371 if (atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, in __down_read_trylock() 1387 if (unlikely(!atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, in __down_write() 1398 if (unlikely(!atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, in __down_write_killable() 1415 if (atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, in __down_write_trylock()
|
| D | mutex.c | 171 if (atomic_long_try_cmpxchg_acquire(&lock->owner, &zero, curr)) in __mutex_trylock_fast()
|
| /Linux-v5.10/include/asm-generic/ |
| 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
|