Searched refs:atomic_try_cmpxchg_acquire (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.15/kernel/locking/ |
| D | qrwlock.c | 70 atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, _QW_LOCKED)) in queued_write_lock_slowpath() 79 } while (!atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, _QW_LOCKED)); in queued_write_lock_slowpath()
|
| /Linux-v5.15/include/asm-generic/ |
| D | qspinlock.h | 68 return likely(atomic_try_cmpxchg_acquire(&lock->val, &val, _Q_LOCKED_VAL)); in queued_spin_trylock() 82 if (likely(atomic_try_cmpxchg_acquire(&lock->val, &val, _Q_LOCKED_VAL))) in queued_spin_lock()
|
| D | qrwlock.h | 67 return likely(atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, in queued_write_trylock() 94 if (likely(atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, _QW_LOCKED))) in queued_write_lock()
|
| /Linux-v5.15/include/linux/ |
| D | freelist.h | 88 !atomic_try_cmpxchg_acquire(&head->refs, &refs, refs+1)) { in freelist_try_get()
|
| /Linux-v5.15/include/linux/atomic/ |
| D | atomic-instrumented.h | 509 atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_acquire() function
|