Searched refs:atomic_cmpxchg_acquire (Results 1 – 15 of 15) sorted by relevance
| /linux/kernel/locking/ |
| H A D | osq_lock.c | 62 atomic_cmpxchg_acquire(&lock->tail, curr, old_cpu) == curr) { in osq_wait_next()
|
| /linux/tools/memory-model/Documentation/ |
| H A D | herd-representation.txt | 107 | atomic_cmpxchg_acquire | On success: R*[ACQUIRE] ->rmw W*[ACQUIRE] |
|
| H A 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/arch/arm64/kvm/hyp/nvhe/ |
| H A D | psci-relay.c | 96 return atomic_cmpxchg_acquire(&args->lock, in try_acquire_boot_args()
|
| /linux/arch/arm64/kvm/vgic/ |
| H A D | vgic-mmio-v3.c | 300 ctlr = atomic_cmpxchg_acquire(&vgic_cpu->ctlr, in vgic_mmio_write_v3r_ctlr() 310 ctlr = atomic_cmpxchg_acquire(&vgic_cpu->ctlr, 0, in vgic_mmio_write_v3r_ctlr()
|
| /linux/tools/memory-model/ |
| H A D | linux-kernel.def | 132 atomic_cmpxchg_acquire(X,V,W) __cmpxchg{ACQUIRE}(X,V,W)
|
| /linux/kernel/ |
| H A D | smp.c | 299 if (atomic_cmpxchg_acquire(&per_cpu(trigger_backtrace, cpu), 1, 0)) in csd_lock_wait_toolong()
|
| /linux/rust/helpers/ |
| H A D | atomic.c | 412 return atomic_cmpxchg_acquire(v, old, new); in rust_helper_atomic_cmpxchg_acquire()
|
| /linux/include/linux/atomic/ |
| H A D | atomic-instrumented.h | 1213 atomic_cmpxchg_acquire(atomic_t *v, int old, int new) in atomic_cmpxchg_acquire() function
|
| /linux/kernel/sched/ |
| H A D | rt.c | 2150 return !atomic_cmpxchg_acquire(v, 0, 1); in rto_start_trylock()
|
| H A D | fair.c | 12229 if (atomic_cmpxchg_acquire(&sched_balance_running, 0, 1)) in sched_balance_domains()
|
| /linux/arch/x86/kvm/svm/ |
| H A D | sev.c | 1920 if (atomic_cmpxchg_acquire(&dst_sev->migration_in_progress, 0, 1)) in sev_lock_two_vms() 1923 if (atomic_cmpxchg_acquire(&src_sev->migration_in_progress, 0, 1)) in sev_lock_two_vms()
|
| /linux/kernel/printk/ |
| H A D | printk.c | 4987 old = atomic_cmpxchg_acquire(&printk_cpu_sync_owner, -1, in __printk_cpu_sync_try_get()
|
| /linux/kernel/rcu/ |
| H A D | tree.c | 1620 if (!atomic_cmpxchg_acquire(&sr_wn->inuse, 0, 1)) in rcu_sr_get_wait_head()
|
| /linux/arch/x86/kvm/ |
| H A D | lapic.c | 374 if (atomic_cmpxchg_acquire(&kvm->arch.apic_map_dirty, in kvm_recalculate_apic_map()
|