Home
last modified time | relevance | path

Searched refs:atomic_try_cmpxchg_acquire (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/kernel/locking/ !
Dqrwlock.c77 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()
Drwbase_rt.c62 if (likely(atomic_try_cmpxchg_acquire(&rwb->readers, &r, r + 1))) in rwbase_read_trylock()
/linux-6.6.21/include/asm-generic/ !
Dqspinlock.h97 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()
Dqrwlock.h71 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/ !
Dfreelist.h88 !atomic_try_cmpxchg_acquire(&head->refs, &refs, refs+1)) { in freelist_try_get()
/linux-6.6.21/include/linux/atomic/ !
Datomic-instrumented.h1292 atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_acquire() function