Home
last modified time | relevance | path

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

12

/openbmc/linux/include/asm-generic/
H A Dlocal64.h45 static inline s64 local64_cmpxchg(local64_t *l, s64 old, s64 new) in local64_cmpxchg() function
92 #define local64_cmpxchg(l, o, n) atomic64_cmpxchg((&(l)->a), (o), (n)) macro
/openbmc/linux/arch/powerpc/perf/
H A D8xx-pmu.c149 } while (local64_cmpxchg(&event->hw.prev_count, prev, val) != prev); in mpc8xx_pmu_read()
H A Dcore-fsl-emb.c178 } while (local64_cmpxchg(&event->hw.prev_count, prev, val) != prev); in fsl_emb_pmu_read()
H A Dcore-book3s.c1185 } while (local64_cmpxchg(&event->hw.prev_count, prev, val) != prev); in power_pmu_read()
1203 } while (local64_cmpxchg(&event->hw.period_left, prev, val) != prev); in power_pmu_read()
/openbmc/linux/drivers/perf/
H A Dqcom_l3_pmu.c253 } while (local64_cmpxchg(&event->hw.prev_count, prev, new) != prev); in qcom_l3_cache__64bit_counter_update()
325 } while (local64_cmpxchg(&event->hw.prev_count, prev, new) != prev); in qcom_l3_cache__32bit_counter_update()
H A Dmarvell_cn10k_tad_pmu.c55 } while (local64_cmpxchg(&hwc->prev_count, prev, new) != prev); in tad_pmu_event_counter_read()
H A Driscv_pmu.c178 oldval = local64_cmpxchg(&hwc->prev_count, prev_raw_count, in riscv_pmu_event_update()
H A Darm_dmc620_pmu.c333 } while (local64_cmpxchg(&hwc->prev_count, in dmc620_pmu_event_update()
H A Darm_pmu.c253 if (local64_cmpxchg(&hwc->prev_count, prev_raw_count, in armpmu_event_update()
H A Darm_dsu_pmu.c358 } while (local64_cmpxchg(&hwc->prev_count, prev_count, new_count) != in dsu_pmu_event_update()
H A Dalibaba_uncore_drw_pmu.c313 } while (local64_cmpxchg(&hwc->prev_count, prev, now) != prev); in ali_drw_pmu_event_update()
H A Dqcom_l2_pmu.c306 } while (local64_cmpxchg(&hwc->prev_count, prev, now) != prev); in l2_cache_event_update()
H A Darm_smmuv3_pmu.c264 } while (local64_cmpxchg(&hwc->prev_count, prev, now) != prev); in smmu_pmu_event_update()
H A Dcxl_pmu.c701 } while (local64_cmpxchg(&hwc->prev_count, prev_cnt, new_cnt) != prev_cnt); in __cxl_pmu_read()
/openbmc/linux/arch/sh/kernel/
H A Dperf_event.c181 if (local64_cmpxchg(&hwc->prev_count, prev_raw_count, in sh_perf_event_update()
/openbmc/linux/arch/xtensa/kernel/
H A Dperf_event.c154 } while (local64_cmpxchg(&hwc->prev_count, prev_raw_count, in xtensa_perf_event_update()
/openbmc/linux/drivers/perf/hisilicon/
H A Dhisi_uncore_pmu.c302 } while (local64_cmpxchg(&hwc->prev_count, prev_raw_count, in hisi_uncore_pmu_event_update()
H A Dhisi_pcie_pmu.c444 } while (local64_cmpxchg(&hwc->prev_count, prev_cnt, in hisi_pcie_pmu_event_update()
/openbmc/linux/arch/arm/mach-imx/
H A Dmmdc.c316 } while (local64_cmpxchg(&hwc->prev_count, prev_raw_count, in mmdc_pmu_event_update()
/openbmc/linux/arch/alpha/kernel/
H A Dperf_event.c317 if (local64_cmpxchg(&hwc->prev_count, prev_raw_count, in alpha_perf_event_update()
/openbmc/linux/arch/s390/kernel/
H A Dperf_cpum_cf.c891 } while (local64_cmpxchg(&event->hw.prev_count, prev, new) != prev); in hw_perf_event_reset()
906 } while (local64_cmpxchg(&event->hw.prev_count, prev, new) != prev); in hw_perf_event_update()
/openbmc/linux/arch/x86/events/
H A Drapl.c186 if (local64_cmpxchg(&hwc->prev_count, prev_raw_count, in rapl_event_update()
/openbmc/linux/arch/loongarch/kernel/
H A Dperf_event.c346 if (local64_cmpxchg(&hwc->prev_count, prev_raw_count, in loongarch_pmu_event_update()
/openbmc/linux/drivers/perf/arm_cspmu/
H A Darm_cspmu.c781 } while (local64_cmpxchg(&hwc->prev_count, prev, now) != prev); in arm_cspmu_event_update()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_pmu.c703 if (local64_cmpxchg(&hwc->prev_count, prev, new) != prev) in i915_pmu_event_read()

12