Searched refs:atomic_cmpxchg_acquire (Results 1 – 13 of 13) sorted by relevance
/linux-6.6.21/kernel/ |
D | kexec_internal.h | 24 return atomic_cmpxchg_acquire(&__kexec_lock, 0, 1) == 0; in kexec_trylock()
|
D | smp.c | 269 if (atomic_cmpxchg_acquire(&per_cpu(trigger_backtrace, cpu), 1, 0)) in csd_lock_wait_toolong()
|
/linux-6.6.21/kernel/locking/ |
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()
|
/linux-6.6.21/arch/arm64/kvm/hyp/nvhe/ |
D | psci-relay.c | 96 return atomic_cmpxchg_acquire(&args->lock, in try_acquire_boot_args()
|
/linux-6.6.21/tools/memory-model/ |
D | linux-kernel.def | 113 atomic_cmpxchg_acquire(X,V,W) __cmpxchg{acquire}(X,V,W)
|
/linux-6.6.21/arch/arm64/kvm/vgic/ |
D | vgic-mmio-v3.c | 273 ctlr = atomic_cmpxchg_acquire(&vgic_cpu->ctlr, in vgic_mmio_write_v3r_ctlr() 283 ctlr = atomic_cmpxchg_acquire(&vgic_cpu->ctlr, 0, in vgic_mmio_write_v3r_ctlr()
|
/linux-6.6.21/tools/memory-model/Documentation/ |
D | ordering.txt | 343 such as atomic_xchg_acquire() and atomic_cmpxchg_acquire(). 347 such as atomic_cmpxchg_acquire() are only guaranteed to provide
|
/linux-6.6.21/arch/x86/kvm/svm/ |
D | sev.c | 1584 if (atomic_cmpxchg_acquire(&dst_sev->migration_in_progress, 0, 1)) in sev_lock_two_vms() 1587 if (atomic_cmpxchg_acquire(&src_sev->migration_in_progress, 0, 1)) in sev_lock_two_vms()
|
/linux-6.6.21/include/linux/atomic/ |
D | atomic-instrumented.h | 1211 atomic_cmpxchg_acquire(atomic_t *v, int old, int new) in atomic_cmpxchg_acquire() function
|
/linux-6.6.21/kernel/sched/ |
D | rt.c | 2280 return !atomic_cmpxchg_acquire(v, 0, 1); in rto_start_trylock()
|
/linux-6.6.21/kernel/printk/ |
D | printk.c | 4289 old = atomic_cmpxchg_acquire(&printk_cpu_sync_owner, -1, in __printk_cpu_sync_try_get()
|
/linux-6.6.21/arch/x86/kvm/ |
D | lapic.c | 399 if (atomic_cmpxchg_acquire(&kvm->arch.apic_map_dirty, in kvm_recalculate_apic_map()
|