Home
last modified time | relevance | path

Searched refs:cmpxchg64 (Results 1 – 27 of 27) sorted by relevance

/linux-4.4.14/include/linux/
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/x86/include/asm/
Dcmpxchg_32.h38 #define cmpxchg64(ptr, o, n) \ macro
78 #define cmpxchg64(ptr, o, n) \ macro
Dcmpxchg_64.h9 #define cmpxchg64(ptr, o, n) \ macro
Datomic64_32.h76 return cmpxchg64(&v->counter, o, n); in atomic64_cmpxchg()
/linux-4.4.14/kernel/sched/
Dclock.c221 if (cmpxchg64(&scd->clock, old_clock, clock) != old_clock) in sched_clock_local()
252 remote_clock = cmpxchg64(&scd->clock, 0, 0); in sched_clock_remote()
283 if (cmpxchg64(ptr, old_val, val) != old_val) in sched_clock_remote()
/linux-4.4.14/arch/tile/include/asm/
Dcmpxchg.h69 #define cmpxchg64(ptr, o, n) \ macro
126 #define cmpxchg64 cmpxchg macro
Datomic.h186 return cmpxchg64(&v->counter, o, n); in atomic64_cmpxchg()
/linux-4.4.14/arch/ia64/include/uapi/asm/
Dcmpxchg.h130 #define cmpxchg64(ptr, o, n) cmpxchg_acq((ptr), (o), (n)) macro
133 #define cmpxchg64_local cmpxchg64
/linux-4.4.14/arch/mips/include/asm/
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/s390/include/asm/
Dcmpxchg.h21 #define cmpxchg64 cmpxchg macro
Dcputime.h21 #define cmpxchg_cputime(ptr, old, new) cmpxchg64(ptr, old, new)
/linux-4.4.14/include/asm-generic/
Dcmpxchg.h106 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) macro
Dcputime_nsecs.h24 #define cmpxchg_cputime(ptr, old, new) cmpxchg64(ptr, old, new)
/linux-4.4.14/arch/alpha/include/asm/
Dcmpxchg.h60 #define cmpxchg64(ptr, o, n) \ macro
/linux-4.4.14/arch/xtensa/include/asm/
Dcmpxchg.h96 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) macro
/linux-4.4.14/arch/blackfin/include/asm/
Dcmpxchg.h126 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) macro
/linux-4.4.14/arch/sparc/include/asm/
Dcmpxchg_64.h142 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) macro
/linux-4.4.14/arch/m68k/include/asm/
Dcmpxchg.h127 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) macro
/linux-4.4.14/arch/powerpc/include/asm/
Dcmpxchg.h292 #define cmpxchg64(ptr, o, n) \ macro
/linux-4.4.14/arch/arm64/include/asm/
Dcmpxchg.h169 #define cmpxchg64 cmpxchg macro
/linux-4.4.14/arch/powerpc/kvm/
Dbook3s_hv_rm_xics.c100 success = cmpxchg64(&icp->state.raw, old.raw, new.raw) == old.raw; in icp_rm_try_update()
Dbook3s_xics.c279 success = cmpxchg64(&icp->state.raw, old.raw, new.raw) == old.raw; in icp_try_update()
/linux-4.4.14/arch/x86/kvm/
Dpaging_tmpl.h50 #define CMPXCHG cmpxchg64
81 #define CMPXCHG cmpxchg64
Dmmu.c2888 if (cmpxchg64(sptep, spte, spte | PT_WRITABLE_MASK) == spte) in fast_pf_fix_direct_spte()
Dx86.c4513 (cmpxchg64((u64 *)(ptr), *(u64 *)(old), *(u64 *)(new)) == *(u64 *)(old))
/linux-4.4.14/drivers/iommu/
Dintel-svm.c202 !cmpxchg64(&svm->iommu->pasid_state_table[svm->pasid].val, 0, 1ULL << 63)) in intel_flush_svm_range()
Dintel-iommu.c1029 if (cmpxchg64(&pte->val, 0ULL, pteval)) in pfn_to_dma_pte()