Home
last modified time | relevance | path

Searched refs:atomic_try_cmpxchg_acquire (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/include/asm-generic/
H A Dqspinlock.h68 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()
H A Dqrwlock.h65 return likely(atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, in queued_write_trylock()
92 if (likely(atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, _QW_LOCKED))) in queued_write_lock()
H A Datomic-instrumented.h703 atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_acquire() function
709 #define atomic_try_cmpxchg_acquire atomic_try_cmpxchg_acquire macro
H A Datomic-long.h937 return atomic_try_cmpxchg_acquire(v, (int *)old, new); in atomic_long_try_cmpxchg_acquire()
/kernel/linux/linux-6.6/include/asm-generic/
H A 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()
H A 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()
/kernel/linux/linux-6.6/kernel/locking/
H A 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()
H A Drwbase_rt.c62 if (likely(atomic_try_cmpxchg_acquire(&rwb->readers, &r, r + 1))) in rwbase_read_trylock()
184 * with atomic_try_cmpxchg_acquire() in rwbase_read_trylock(). in __rwbase_write_unlock()
/kernel/linux/linux-5.10/kernel/locking/
H A Dqrwlock.c80 } while (!atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, _QW_LOCKED)); in queued_write_lock_slowpath()
/kernel/linux/linux-6.6/include/linux/
H A Dfreelist.h88 !atomic_try_cmpxchg_acquire(&head->refs, &refs, refs+1)) { in freelist_try_get()
/kernel/linux/linux-5.10/include/linux/
H A Datomic-fallback.h1001 #define arch_atomic_try_cmpxchg_acquire atomic_try_cmpxchg_acquire
1007 #define atomic_try_cmpxchg_acquire atomic_try_cmpxchg macro
1025 #ifndef atomic_try_cmpxchg_acquire
1027 atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_acquire() function
1035 #define atomic_try_cmpxchg_acquire atomic_try_cmpxchg_acquire macro
1066 #ifndef atomic_try_cmpxchg_acquire
1068 atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_acquire() function
1074 #define atomic_try_cmpxchg_acquire atomic_try_cmpxchg_acquire macro
[all...]
/kernel/linux/linux-6.6/include/linux/atomic/
H A Datomic-instrumented.h1279 * atomic_try_cmpxchg_acquire() - atomic compare and exchange with acquire ordering
1292 atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_acquire() function

Completed in 22 milliseconds