Searched refs:atomic_try_cmpxchg_acquire (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/kernel/locking/ ! |
D | qrwlock.c | 77 atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, _QW_LOCKED)) in queued_write_lock_slowpath() 86 } while (!atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, _QW_LOCKED)); in queued_write_lock_slowpath()
|
D | rwbase_rt.c | 62 if (likely(atomic_try_cmpxchg_acquire(&rwb->readers, &r, r + 1))) in rwbase_read_trylock()
|
/linux-6.6.21/include/asm-generic/ ! |
D | qspinlock.h | 97 return likely(atomic_try_cmpxchg_acquire(&lock->val, &val, _Q_LOCKED_VAL)); in queued_spin_trylock() 111 if (likely(atomic_try_cmpxchg_acquire(&lock->val, &val, _Q_LOCKED_VAL))) in queued_spin_lock()
|
D | qrwlock.h | 71 return likely(atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, in queued_write_trylock() 98 if (likely(atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, _QW_LOCKED))) in queued_write_lock()
|
/linux-6.6.21/include/linux/ ! |
D | freelist.h | 88 !atomic_try_cmpxchg_acquire(&head->refs, &refs, refs+1)) { in freelist_try_get()
|
/linux-6.6.21/include/linux/atomic/ ! |
D | atomic-instrumented.h | 1292 atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_acquire() function
|