Home
last modified time | relevance | path

Searched refs:atomic_cmpxchg_acquire (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/kernel/
Dkexec_internal.h26 return atomic_cmpxchg_acquire(&__kexec_lock, 0, 1) == 0; in kexec_trylock()
/kernel/linux/linux-5.10/kernel/locking/
Dqrwlock.c71 (atomic_cmpxchg_acquire(&lock->cnts, 0, _QW_LOCKED) == 0)) in queued_write_lock_slowpath()
Dosq_lock.c59 atomic_cmpxchg_acquire(&lock->tail, curr, old) == curr) { in osq_wait_next()
Dqspinlock_paravirt.h146 val = atomic_cmpxchg_acquire(&lock->val, old, new); in trylock_clear_pending()
/kernel/linux/linux-5.10/include/linux/
Datomic-fallback.h954 #define arch_atomic_cmpxchg_acquire atomic_cmpxchg_acquire
959 #define atomic_cmpxchg_acquire atomic_cmpxchg macro
964 #ifndef atomic_cmpxchg_acquire
966 atomic_cmpxchg_acquire(atomic_t *v, int old, int new) in atomic_cmpxchg_acquire() function
972 #define atomic_cmpxchg_acquire atomic_cmpxchg_acquire macro
1030 r = atomic_cmpxchg_acquire(v, o, new); in atomic_try_cmpxchg_acquire()
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Datomic.h306 #define atomic_cmpxchg_acquire atomic_cmpxchg_acquire in ATOMIC_OPS() macro
/kernel/linux/linux-5.10/tools/memory-model/
Dlinux-kernel.def110 atomic_cmpxchg_acquire(X,V,W) __cmpxchg{acquire}(X,V,W)
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Datomic.h188 #define atomic_cmpxchg_acquire(v, o, n) \ macro
/kernel/linux/linux-5.10/include/asm-generic/
Datomic-instrumented.h662 atomic_cmpxchg_acquire(atomic_t *v, int old, int new) in atomic_cmpxchg_acquire() function
667 #define atomic_cmpxchg_acquire atomic_cmpxchg_acquire macro
Datomic-long.h913 return atomic_cmpxchg_acquire(v, old, new); in atomic_long_cmpxchg_acquire()
/kernel/linux/linux-5.10/kernel/sched/
Drt.c2250 return !atomic_cmpxchg_acquire(v, 0, 1); in rto_start_trylock()
/kernel/linux/linux-5.10/arch/x86/kvm/
Dlapic.c201 if (atomic_cmpxchg_acquire(&kvm->arch.apic_map_dirty, in kvm_recalculate_apic_map()