Home
last modified time | relevance | path

Searched refs:local64_read (Results 1 – 25 of 48) sorted by relevance

12

/linux/include/asm-generic/
A Dlocal64.h30 #define local64_read(l) local_read(&(l)->a) macro
52 #define __local64_inc(l) local64_set((l), local64_read(l) + 1)
53 #define __local64_dec(l) local64_set((l), local64_read(l) - 1)
54 #define __local64_add(i,l) local64_set((l), local64_read(l) + (i))
55 #define __local64_sub(i,l) local64_set((l), local64_read(l) - (i))
68 #define local64_read(l) atomic64_read(&(l)->a) macro
90 #define __local64_inc(l) local64_set((l), local64_read(l) + 1)
91 #define __local64_dec(l) local64_set((l), local64_read(l) - 1)
92 #define __local64_add(i,l) local64_set((l), local64_read(l) + (i))
93 #define __local64_sub(i,l) local64_set((l), local64_read(l) - (i))
/linux/arch/powerpc/perf/
A Dcore-fsl-emb.c175 prev = local64_read(&event->hw.prev_count); in fsl_emb_pmu_read()
310 s64 left = local64_read(&event->hw.period_left); in fsl_emb_pmu_add()
393 left = local64_read(&event->hw.period_left); in fsl_emb_pmu_start()
602 prev = local64_read(&event->hw.prev_count); in record_and_restart()
611 left = local64_read(&event->hw.period_left) - delta; in record_and_restart()
A Dcore-book3s.c1137 prev = local64_read(&event->hw.prev_count); in power_pmu_read()
1157 prev = local64_read(&event->hw.period_left); in power_pmu_read()
1187 prev = local64_read(&event->hw.prev_count); in freeze_limited_counters()
1206 prev = local64_read(&event->hw.prev_count); in thaw_limited_counters()
1473 val = local64_read(&event->hw.prev_count); in power_pmu_enable()
1477 left = local64_read(&event->hw.period_left); in power_pmu_enable()
1702 left = local64_read(&event->hw.period_left); in power_pmu_start()
2158 prev = local64_read(&event->hw.prev_count); in record_and_restart()
2167 left = local64_read(&event->hw.period_left) - delta; in record_and_restart()
A D8xx-pmu.c128 prev = local64_read(&event->hw.prev_count); in mpc8xx_pmu_read()
/linux/include/linux/
A Du64_stats_sync.h83 return local64_read(&p->v); in u64_stats_read()
/linux/arch/xtensa/kernel/
A Dperf_event.c143 prev_raw_count = local64_read(&hwc->prev_count); in xtensa_perf_event_update()
165 left = local64_read(&hwc->period_left); in xtensa_perf_event_set_period()
/linux/drivers/perf/hisilicon/
A Dhisi_uncore_pmu.c299 prev_raw_count = local64_read(&hwc->prev_count); in hisi_uncore_pmu_event_update()
324 u64 prev_raw_count = local64_read(&hwc->prev_count); in hisi_uncore_pmu_start()
/linux/arch/x86/events/amd/
A Duncore.c93 prev = local64_read(&hwc->prev_count); in amd_uncore_read()
106 wrmsrl(hwc->event_base, (u64)local64_read(&hwc->prev_count)); in amd_uncore_start()
A Dibs.c107 s64 left = local64_read(&hwc->period_left); in perf_event_set_period()
162 prev_raw_count = local64_read(&hwc->prev_count); in perf_event_try_update()
/linux/arch/arc/kernel/
A Dperf_event.c121 u64 prev_raw_count = local64_read(&hwc->prev_count); in arc_perf_event_update()
246 s64 left = local64_read(&hwc->period_left); in arc_pmu_event_set_period()
/linux/arch/alpha/kernel/
A Dperf_event.c255 long left = local64_read(&hwc->period_left); in alpha_perf_event_set_period()
314 prev_raw_count = local64_read(&hwc->prev_count); in alpha_perf_event_update()
/linux/drivers/perf/
A Dqcom_l3_pmu.c247 prev = local64_read(&event->hw.prev_count); in qcom_l3_cache__64bit_counter_update()
323 prev = local64_read(&event->hw.prev_count); in qcom_l3_cache__32bit_counter_update()
A Darm_pmu.c200 s64 left = local64_read(&hwc->period_left); in armpmu_event_set_period()
246 prev_raw_count = local64_read(&hwc->prev_count); in armpmu_event_update()
A Darm-cci.c906 pmu_write_counter(cci_pmu, local64_read(&event->hw.prev_count), i); in __pmu_write_counters()
971 pmu_write_counter(cci_pmu, local64_read(&event->hw.prev_count), i); in cci5xx_pmu_write_counters()
989 prev_raw_count = local64_read(&hwc->prev_count); in pmu_event_update()
/linux/arch/sh/kernel/
A Dperf_event.c178 prev_raw_count = local64_read(&hwc->prev_count); in sh_perf_event_update()
/linux/arch/x86/events/
A Dmsr.c239 prev = local64_read(&event->hw.prev_count); in msr_event_update()
/linux/arch/s390/kernel/
A Dperf_cpum_cf.c544 prev = local64_read(&event->hw.prev_count); in hw_perf_event_reset()
567 prev = local64_read(&event->hw.prev_count); in hw_perf_event_update()
1290 event->attr.config, local64_read(&event->count)); in cfdiag_read()
/linux/arch/riscv/kernel/
A Dperf_event.c223 prev_raw_count = local64_read(&hwc->prev_count); in riscv_pmu_read()
/linux/arch/arm/mm/
A Dcache-l2x0-pmu.c123 prev_count = local64_read(&hw->prev_count); in l2x0_pmu_event_read()
/linux/arch/nds32/kernel/
A Dperf_event_cpu.c187 s64 left = local64_read(&hwc->period_left); in nds32_pmu_event_set_period()
950 prev_raw_count = local64_read(&hwc->prev_count); in nds32_pmu_event_update()
/linux/arch/csky/kernel/
A Dperf_event.c881 s64 left = local64_read(&hwc->period_left); in csky_pmu_event_set_period()
922 uint64_t prev_raw_count = local64_read(&hwc->prev_count); in csky_perf_event_update()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_pmu.c272 prev = local64_read(&hwc->prev_count); in amdgpu_perf_read()
/linux/arch/arm/mach-imx/
A Dmmdc.c312 prev_raw_count = local64_read(&hwc->prev_count); in mmdc_pmu_event_update()
/linux/arch/x86/events/intel/
A Dcstate.c367 prev_raw_count = local64_read(&hwc->prev_count); in cstate_pmu_event_update()
/linux/drivers/dma/idxd/
A Dperfmon.c249 prev_raw_count = local64_read(&hwc->prev_count); in perfmon_pmu_event_update()

Completed in 45 milliseconds

12