Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/kernel/locking/
H A Dqrwlock.c80 } while (!atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, _QW_LOCKED)); in queued_write_lock_slowpath()