Searched refs:atomic_try_cmpxchg_acquire (Results 1 - 7 of 7) sorted by path

/linux-master/fs/bcachefs/
H A Dsix.c192 } while (!atomic_try_cmpxchg_acquire(&lock->state, &old, old + l[type].lock_val));
664 } while (!atomic_try_cmpxchg_acquire(&lock->state, &old, new));
/linux-master/include/asm-generic/
H A Dqrwlock.h71 return likely(atomic_try_cmpxchg_acquire(&lock->cnts, &cnts,
98 if (likely(atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, _QW_LOCKED)))
H A Dqspinlock.h97 return likely(atomic_try_cmpxchg_acquire(&lock->val, &val, _Q_LOCKED_VAL));
111 if (likely(atomic_try_cmpxchg_acquire(&lock->val, &val, _Q_LOCKED_VAL)))
/linux-master/include/linux/atomic/
H A Datomic-instrumented.h1284 * atomic_try_cmpxchg_acquire() - atomic compare and exchange with acquire ordering
1298 atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new) function
/linux-master/kernel/locking/
H A Dqrwlock.c77 atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, _QW_LOCKED))
86 } while (!atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, _QW_LOCKED));
H A Dqspinlock_paravirt.h145 } while (!atomic_try_cmpxchg_acquire (&lock->val, &old, new));
H A Drwbase_rt.c62 if (likely(atomic_try_cmpxchg_acquire(&rwb->readers, &r, r + 1)))
188 * with atomic_try_cmpxchg_acquire() in rwbase_read_trylock().

Completed in 660 milliseconds