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

/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 Drwbase_rt.c62 if (likely(atomic_try_cmpxchg_acquire(&rwb->readers, &r, r + 1)))
188 * with atomic_try_cmpxchg_acquire() in rwbase_read_trylock().
/linux-master/include/asm-generic/
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)))
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)))
/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/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

Completed in 153 milliseconds