Home
last modified time | relevance | path

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

12

/Linux-v4.19/arch/ia64/include/uapi/asm/
Dcmpxchg.h131 #define cmpxchg64(ptr, o, n) cmpxchg_acq((ptr), (o), (n)) macro
134 #define cmpxchg64_local cmpxchg64
/Linux-v4.19/kernel/sched/
Dclock.c291 if (cmpxchg64(&scd->clock, old_clock, clock) != old_clock) in sched_clock_local()
322 remote_clock = cmpxchg64(&scd->clock, 0, 0); in sched_clock_remote()
353 if (cmpxchg64(ptr, old_val, val) != old_val) in sched_clock_remote()
/Linux-v4.19/include/linux/
Datomic.h520 #define cmpxchg64_relaxed cmpxchg64
521 #define cmpxchg64_acquire cmpxchg64
522 #define cmpxchg64_release cmpxchg64
528 __atomic_op_acquire(cmpxchg64, __VA_ARGS__)
533 __atomic_op_release(cmpxchg64, __VA_ARGS__)
536 #ifndef cmpxchg64
537 #define cmpxchg64(...) \ macro
538 __atomic_op_fence(cmpxchg64, __VA_ARGS__)
/Linux-v4.19/arch/mips/include/asm/
Dcmpxchg.h199 #define cmpxchg64(ptr, o, n) \ macro
208 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) macro
/Linux-v4.19/arch/s390/include/asm/
Dcputime.h19 #define cmpxchg_cputime(ptr, old, new) cmpxchg64(ptr, old, new)
Dcmpxchg.h22 #define cmpxchg64 cmpxchg macro
/Linux-v4.19/arch/sparc/include/asm/
Dcmpxchg_32.h67 #define cmpxchg64(ptr, old, new) __cmpxchg_u64(ptr, old, new) macro
Dcmpxchg_64.h201 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) macro
/Linux-v4.19/include/asm-generic/
Dcmpxchg.h107 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) macro
Datomic-instrumented.h439 #define cmpxchg64(ptr, old, new) \ macro
/Linux-v4.19/arch/alpha/include/asm/
Dcmpxchg.h68 #define cmpxchg64(ptr, o, n) \ macro
/Linux-v4.19/arch/parisc/include/asm/
Dcmpxchg.h114 #define cmpxchg64(ptr, o, n) __cmpxchg_u64(ptr, o, n) macro
/Linux-v4.19/arch/xtensa/include/asm/
Dcmpxchg.h96 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) macro
/Linux-v4.19/arch/m68k/include/asm/
Dcmpxchg.h128 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) macro
/Linux-v4.19/arch/x86/include/asm/
Dpgtable-3level.h215 } while (cmpxchg64(&pmdp->pmd, old.pmd, pmd.pmd) != old.pmd); in pmdp_establish()
/Linux-v4.19/arch/arm64/include/asm/
Dcmpxchg.h167 #define cmpxchg64 cmpxchg macro
/Linux-v4.19/arch/sparc/mm/
Dtlb.c235 } while (cmpxchg64(&pmdp->pmd, old.pmd, pmd.pmd) != old.pmd); in pmdp_establish()
/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_hv_rm_xics.c100 success = cmpxchg64(&rm_core[core].rm_state.raw, in grab_next_hostcore()
189 success = cmpxchg64(&icp->state.raw, old.raw, new.raw) == old.raw; in icp_rm_try_update()
Dbook3s_xics.c285 success = cmpxchg64(&icp->state.raw, old.raw, new.raw) == old.raw; in icp_try_update()
/Linux-v4.19/arch/riscv/include/asm/
Dcmpxchg.h371 #define cmpxchg64(ptr, o, n) \ macro
/Linux-v4.19/arch/powerpc/include/asm/
Dcmpxchg.h516 #define cmpxchg64(ptr, o, n) \ macro
/Linux-v4.19/virt/kvm/arm/vgic/
Dvgic-mmio-v3.c414 } while (cmpxchg64(&dist->propbaser, old_propbaser, in vgic_mmio_write_propbase()
442 } while (cmpxchg64(&vgic_cpu->pendbaser, old_pendbaser, in vgic_mmio_write_pendbase()
/Linux-v4.19/arch/x86/kvm/
Dpaging_tmpl.h42 #define CMPXCHG cmpxchg64
71 #define CMPXCHG cmpxchg64
Dvmx.c3044 } while (cmpxchg64(&pi_desc->control, old.control, in vmx_vcpu_pi_load()
13642 } while (cmpxchg64(&pi_desc->control, old.control, in __pi_post_block()
13712 } while (cmpxchg64(&pi_desc->control, old.control, in pi_pre_block()
/Linux-v4.19/drivers/iommu/
Dintel-svm.c209 !cmpxchg64(&svm->iommu->pasid_state_table[svm->pasid].val, 0, 1ULL << 63)) in intel_flush_svm_range()

12