/linux-4.4.14/arch/x86/include/asm/ |
H A D | cmpxchg_64.h | 9 #define cmpxchg64(ptr, o, n) \ macro
|
H A D | cmpxchg_32.h | 38 #define cmpxchg64(ptr, o, n) \ macro 78 #define cmpxchg64(ptr, o, n) \ macro
|
H A D | atomic64_32.h | 76 return cmpxchg64(&v->counter, o, n); atomic64_cmpxchg()
|
/linux-4.4.14/arch/alpha/include/asm/ |
H A D | cmpxchg.h | 60 #define cmpxchg64(ptr, o, n) \ macro
|
/linux-4.4.14/include/linux/ |
H A D | atomic.h | 383 #define cmpxchg64_relaxed cmpxchg64 384 #define cmpxchg64_acquire cmpxchg64 385 #define cmpxchg64_release cmpxchg64 391 __atomic_op_acquire(cmpxchg64, __VA_ARGS__) 396 __atomic_op_release(cmpxchg64, __VA_ARGS__) 399 #ifndef cmpxchg64 400 #define cmpxchg64(...) \ macro 401 __atomic_op_fence(cmpxchg64, __VA_ARGS__)
|
/linux-4.4.14/arch/tile/include/asm/ |
H A D | cmpxchg.h | 69 #define cmpxchg64(ptr, o, n) \ macro 126 #define cmpxchg64 cmpxchg macro
|
H A D | atomic.h | 186 return cmpxchg64(&v->counter, o, n); atomic64_cmpxchg()
|
/linux-4.4.14/arch/ia64/include/uapi/asm/ |
H A D | cmpxchg.h | 130 #define cmpxchg64(ptr, o, n) cmpxchg_acq((ptr), (o), (n)) macro 133 #define cmpxchg64_local cmpxchg64
|
/linux-4.4.14/include/asm-generic/ |
H A D | cmpxchg.h | 106 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) macro
|
H A D | cputime_nsecs.h | 24 #define cmpxchg_cputime(ptr, old, new) cmpxchg64(ptr, old, new)
|
/linux-4.4.14/arch/s390/include/asm/ |
H A D | cmpxchg.h | 21 #define cmpxchg64 cmpxchg macro
|
H A D | cputime.h | 21 #define cmpxchg_cputime(ptr, old, new) cmpxchg64(ptr, old, new)
|
/linux-4.4.14/arch/mips/include/asm/ |
H A D | cmpxchg.h | 237 #define cmpxchg64(ptr, o, n) \ macro 245 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) macro
|
/linux-4.4.14/arch/arm64/include/asm/ |
H A D | cmpxchg.h | 165 /* cmpxchg64 */ 169 #define cmpxchg64 cmpxchg macro
|
/linux-4.4.14/kernel/sched/ |
H A D | clock.c | 221 if (cmpxchg64(&scd->clock, old_clock, clock) != old_clock) sched_clock_local() 239 * cmpxchg64 below only protects one readout. sched_clock_remote() 252 remote_clock = cmpxchg64(&scd->clock, 0, 0); sched_clock_remote() 283 if (cmpxchg64(ptr, old_val, val) != old_val) sched_clock_remote()
|
/linux-4.4.14/arch/m68k/include/asm/ |
H A D | cmpxchg.h | 127 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) macro
|
/linux-4.4.14/arch/xtensa/include/asm/ |
H A D | cmpxchg.h | 96 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) macro
|
/linux-4.4.14/arch/sparc/include/asm/ |
H A D | cmpxchg_64.h | 142 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) macro
|
/linux-4.4.14/arch/blackfin/include/asm/ |
H A D | cmpxchg.h | 126 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) macro
|
/linux-4.4.14/arch/powerpc/include/asm/ |
H A D | cmpxchg.h | 292 #define cmpxchg64(ptr, o, n) \ macro
|
/linux-4.4.14/arch/tile/lib/ |
H A D | atomic_asm_32.S | 21 * r4/r5: (cmpxchg64/add_unless64) new value to write or add
|
/linux-4.4.14/arch/x86/kvm/ |
H A D | paging_tmpl.h | 50 #define CMPXCHG cmpxchg64 81 #define CMPXCHG cmpxchg64
|
H A D | mmu.c | 2888 if (cmpxchg64(sptep, spte, spte | PT_WRITABLE_MASK) == spte) fast_pf_fix_direct_spte()
|
H A D | x86.c | 4513 (cmpxchg64((u64 *)(ptr), *(u64 *)(old), *(u64 *)(new)) == *(u64 *)(old))
|
/linux-4.4.14/drivers/iommu/ |
H A D | intel-svm.c | 202 !cmpxchg64(&svm->iommu->pasid_state_table[svm->pasid].val, 0, 1ULL << 63)) intel_flush_svm_range()
|
H A D | intel-iommu.c | 1029 if (cmpxchg64(&pte->val, 0ULL, pteval)) pfn_to_dma_pte()
|
/linux-4.4.14/arch/powerpc/kvm/ |
H A D | book3s_hv_rm_xics.c | 100 success = cmpxchg64(&icp->state.raw, old.raw, new.raw) == old.raw; icp_rm_try_update()
|
H A D | book3s_xics.c | 279 success = cmpxchg64(&icp->state.raw, old.raw, new.raw) == old.raw; icp_try_update()
|
/linux-4.4.14/arch/tile/kernel/ |
H A D | intvec_32.S | 1568 * both a cmpxchg64() and a cmpxchg() on either its low or high word. 1629 andi r23, r0, 7 /* Precompute alignment for cmpxchg64. */
|
/linux-4.4.14/arch/arm/kernel/ |
H A D | entry-armv.S | 883 * The only thing that can break atomicity in this cmpxchg64
|
/linux-4.4.14/net/rds/ |
H A D | ib_recv.c | 697 * we had atomic64 or maybe cmpxchg64 everywhere.
|
H A D | iw_recv.c | 486 * we had atomic64 or maybe cmpxchg64 everywhere.
|