Searched refs:xchg_acquire (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/tools/memory-model/Documentation/ |
D | litmus-tests.txt | 504 locking using xchg_acquire(), but instead of enclosing xchg_acquire() 522 11 r2 = xchg_acquire(sl, 1); 533 22 r2 = xchg_acquire(sl, 1); 550 on line 11 using xchg_acquire(), which unconditionally stores the value 559 The case where xchg_acquire() fails to acquire the lock is handled by 583 The "Never" on line 9 indicates that this use of xchg_acquire() and 595 possible durations of the xchg_acquire() statements. 633 12 r2 = xchg_acquire(sl, 1); 646 25 r2 = xchg_acquire(sl, 1);
|
D | explanation.txt | 1846 r = xchg_acquire(&s, 1);
|
/linux-6.1.9/tools/memory-model/ |
D | linux-kernel.def | 33 xchg_acquire(X,V) __xchg{acquire}(X,V)
|
/linux-6.1.9/kernel/locking/ |
D | rtmutex.c | 110 xchg_acquire(&lock->owner, rt_mutex_owner_encode(lock, owner)); in rt_mutex_set_owner() 203 xchg_acquire(p, owner & ~RT_MUTEX_HAS_WAITERS); in fixup_rt_mutex_waiters()
|
/linux-6.1.9/arch/riscv/kvm/ |
D | vcpu.c | 684 mask = xchg_acquire(&vcpu->arch.irqs_pending_mask, 0); in kvm_riscv_vcpu_flush_interrupts()
|
/linux-6.1.9/drivers/xen/events/ |
D | events_base.c | 1697 if (xchg_acquire(&info->is_active, 1)) in handle_irq_for_port()
|
/linux-6.1.9/include/linux/atomic/ |
D | atomic-instrumented.h | 1889 #define xchg_acquire(ptr, ...) \ macro
|