Searched refs:atomic_cmpxchg_acquire (Results 1 – 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/kernel/ |
D | kexec_internal.h | 26 return atomic_cmpxchg_acquire(&__kexec_lock, 0, 1) == 0; in kexec_trylock()
|
/kernel/linux/linux-5.10/kernel/locking/ |
D | qrwlock.c | 71 (atomic_cmpxchg_acquire(&lock->cnts, 0, _QW_LOCKED) == 0)) in queued_write_lock_slowpath()
|
D | osq_lock.c | 59 atomic_cmpxchg_acquire(&lock->tail, curr, old) == curr) { in osq_wait_next()
|
D | qspinlock_paravirt.h | 146 val = atomic_cmpxchg_acquire(&lock->val, old, new); in trylock_clear_pending()
|
/kernel/linux/linux-5.10/include/linux/ |
D | atomic-fallback.h | 954 #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/ |
D | atomic.h | 306 #define atomic_cmpxchg_acquire atomic_cmpxchg_acquire in ATOMIC_OPS() macro
|
/kernel/linux/linux-5.10/tools/memory-model/ |
D | linux-kernel.def | 110 atomic_cmpxchg_acquire(X,V,W) __cmpxchg{acquire}(X,V,W)
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | atomic.h | 188 #define atomic_cmpxchg_acquire(v, o, n) \ macro
|
/kernel/linux/linux-5.10/include/asm-generic/ |
D | atomic-instrumented.h | 662 atomic_cmpxchg_acquire(atomic_t *v, int old, int new) in atomic_cmpxchg_acquire() function 667 #define atomic_cmpxchg_acquire atomic_cmpxchg_acquire macro
|
D | atomic-long.h | 913 return atomic_cmpxchg_acquire(v, old, new); in atomic_long_cmpxchg_acquire()
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | rt.c | 2250 return !atomic_cmpxchg_acquire(v, 0, 1); in rto_start_trylock()
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
D | lapic.c | 201 if (atomic_cmpxchg_acquire(&kvm->arch.apic_map_dirty, in kvm_recalculate_apic_map()
|