Home
last modified time | relevance | path

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

12

/linux-6.15/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
/linux-6.15/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.c1182 } while (local64_cmpxchg(&event->hw.prev_count, prev, val) != prev); in power_pmu_read()
1200 } while (local64_cmpxchg(&event->hw.period_left, prev, val) != prev); in power_pmu_read()
/linux-6.15/arch/sh/kernel/
H A Dperf_event.c181 if (local64_cmpxchg(&hwc->prev_count, prev_raw_count, in sh_perf_event_update()
/linux-6.15/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 Driscv_pmu.c176 oldval = local64_cmpxchg(&hwc->prev_count, prev_raw_count, in riscv_pmu_event_update()
H A Dmarvell_cn10k_tad_pmu.c64 } while (local64_cmpxchg(&hwc->prev_count, prev, new) != prev); in tad_pmu_event_counter_read()
H A Dstarfive_starlink_pmu.c250 oldval = local64_cmpxchg(&hwc->prev_count, prev_raw_count, in starlink_pmu_update()
H A Dalibaba_uncore_drw_pmu.c305 } while (local64_cmpxchg(&hwc->prev_count, prev, now) != prev); in ali_drw_pmu_event_update()
H A Darm_dmc620_pmu.c333 } while (local64_cmpxchg(&hwc->prev_count, in dmc620_pmu_event_update()
H A Darm_dsu_pmu.c340 } while (local64_cmpxchg(&hwc->prev_count, prev_count, new_count) != in dsu_pmu_event_update()
H A Darm_pmu.c253 if (local64_cmpxchg(&hwc->prev_count, prev_raw_count, in armpmu_event_update()
H A Ddwc_pcie_pmu.c342 } while (local64_cmpxchg(&hwc->prev_count, prev, now) != prev); in dwc_pcie_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-ni.c360 } while (local64_cmpxchg(&hw->prev_count, prev, count) != prev); in arm_ni_event_read()
H A Darm_smmuv3_pmu.c264 } while (local64_cmpxchg(&hwc->prev_count, prev, now) != prev); in smmu_pmu_event_update()
H A Dcxl_pmu.c693 } while (local64_cmpxchg(&hwc->prev_count, prev_cnt, new_cnt) != prev_cnt); in __cxl_pmu_read()
/linux-6.15/arch/xtensa/kernel/
H A Dperf_event.c154 } while (local64_cmpxchg(&hwc->prev_count, prev_raw_count, in xtensa_perf_event_update()
/linux-6.15/arch/arm/mach-imx/
H A Dmmdc.c317 } while (local64_cmpxchg(&hwc->prev_count, prev_raw_count, in mmdc_pmu_event_update()
/linux-6.15/drivers/perf/hisilicon/
H A Dhisi_uncore_pmu.c324 } while (local64_cmpxchg(&hwc->prev_count, prev_raw_count, in hisi_uncore_pmu_event_update()
H A Dhisi_pcie_pmu.c454 } while (local64_cmpxchg(&hwc->prev_count, prev_cnt, in hisi_pcie_pmu_event_update()
/linux-6.15/arch/alpha/kernel/
H A Dperf_event.c317 if (local64_cmpxchg(&hwc->prev_count, prev_raw_count, in alpha_perf_event_update()
/linux-6.15/arch/loongarch/kernel/
H A Dperf_event.c346 if (local64_cmpxchg(&hwc->prev_count, prev_raw_count, in loongarch_pmu_event_update()
/linux-6.15/drivers/perf/arm_cspmu/
H A Darm_cspmu.c753 } while (local64_cmpxchg(&hwc->prev_count, prev, now) != prev); in arm_cspmu_event_update()

12