Searched refs:cmpxchg64 (Results 1 - 32 of 32) sorted by relevance

/linux-4.4.14/arch/x86/include/asm/
H A Dcmpxchg_64.h9 #define cmpxchg64(ptr, o, n) \ macro
H A Dcmpxchg_32.h38 #define cmpxchg64(ptr, o, n) \ macro
78 #define cmpxchg64(ptr, o, n) \ macro
H A Datomic64_32.h76 return cmpxchg64(&v->counter, o, n); atomic64_cmpxchg()
/linux-4.4.14/arch/alpha/include/asm/
H A Dcmpxchg.h60 #define cmpxchg64(ptr, o, n) \ macro
/linux-4.4.14/include/linux/
H A Datomic.h383 #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 Dcmpxchg.h69 #define cmpxchg64(ptr, o, n) \ macro
126 #define cmpxchg64 cmpxchg macro
H A Datomic.h186 return cmpxchg64(&v->counter, o, n); atomic64_cmpxchg()
/linux-4.4.14/arch/ia64/include/uapi/asm/
H A Dcmpxchg.h130 #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 Dcmpxchg.h106 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) macro
H A Dcputime_nsecs.h24 #define cmpxchg_cputime(ptr, old, new) cmpxchg64(ptr, old, new)
/linux-4.4.14/arch/s390/include/asm/
H A Dcmpxchg.h21 #define cmpxchg64 cmpxchg macro
H A Dcputime.h21 #define cmpxchg_cputime(ptr, old, new) cmpxchg64(ptr, old, new)
/linux-4.4.14/arch/mips/include/asm/
H A Dcmpxchg.h237 #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 Dcmpxchg.h165 /* cmpxchg64 */
169 #define cmpxchg64 cmpxchg macro
/linux-4.4.14/kernel/sched/
H A Dclock.c221 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 Dcmpxchg.h127 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) macro
/linux-4.4.14/arch/xtensa/include/asm/
H A Dcmpxchg.h96 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) macro
/linux-4.4.14/arch/sparc/include/asm/
H A Dcmpxchg_64.h142 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) macro
/linux-4.4.14/arch/blackfin/include/asm/
H A Dcmpxchg.h126 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) macro
/linux-4.4.14/arch/powerpc/include/asm/
H A Dcmpxchg.h292 #define cmpxchg64(ptr, o, n) \ macro
/linux-4.4.14/arch/tile/lib/
H A Datomic_asm_32.S21 * r4/r5: (cmpxchg64/add_unless64) new value to write or add
/linux-4.4.14/arch/x86/kvm/
H A Dpaging_tmpl.h50 #define CMPXCHG cmpxchg64
81 #define CMPXCHG cmpxchg64
H A Dmmu.c2888 if (cmpxchg64(sptep, spte, spte | PT_WRITABLE_MASK) == spte) fast_pf_fix_direct_spte()
H A Dx86.c4513 (cmpxchg64((u64 *)(ptr), *(u64 *)(old), *(u64 *)(new)) == *(u64 *)(old))
/linux-4.4.14/drivers/iommu/
H A Dintel-svm.c202 !cmpxchg64(&svm->iommu->pasid_state_table[svm->pasid].val, 0, 1ULL << 63)) intel_flush_svm_range()
H A Dintel-iommu.c1029 if (cmpxchg64(&pte->val, 0ULL, pteval)) pfn_to_dma_pte()
/linux-4.4.14/arch/powerpc/kvm/
H A Dbook3s_hv_rm_xics.c100 success = cmpxchg64(&icp->state.raw, old.raw, new.raw) == old.raw; icp_rm_try_update()
H A Dbook3s_xics.c279 success = cmpxchg64(&icp->state.raw, old.raw, new.raw) == old.raw; icp_try_update()
/linux-4.4.14/arch/tile/kernel/
H A Dintvec_32.S1568 * 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 Dentry-armv.S883 * The only thing that can break atomicity in this cmpxchg64
/linux-4.4.14/net/rds/
H A Dib_recv.c697 * we had atomic64 or maybe cmpxchg64 everywhere.
H A Diw_recv.c486 * we had atomic64 or maybe cmpxchg64 everywhere.

Completed in 1503 milliseconds