Searched refs:atomic_long_try_cmpxchg_acquire (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/kernel/locking/ |
| D | rwsem.c | 591 } while (!atomic_long_try_cmpxchg_acquire(&sem->count, &count, new)); in rwsem_try_write_lock() 637 if (atomic_long_try_cmpxchg_acquire(&sem->count, &count, in rwsem_try_write_lock_unqueued() 1374 if (atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, in __down_read_trylock() 1390 if (unlikely(!atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, in __down_write() 1401 if (unlikely(!atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, in __down_write_killable() 1418 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.4/include/asm-generic/ |
| D | atomic-long.h | 440 atomic_long_try_cmpxchg_acquire(atomic_long_t *v, long *old, long new) in atomic_long_try_cmpxchg_acquire() function 934 atomic_long_try_cmpxchg_acquire(atomic_long_t *v, long *old, long new) in atomic_long_try_cmpxchg_acquire() function
|