/linux/include/asm-generic/ |
A D | local64.h | 30 #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 D | core-fsl-emb.c | 175 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 D | core-book3s.c | 1137 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 D | 8xx-pmu.c | 128 prev = local64_read(&event->hw.prev_count); in mpc8xx_pmu_read()
|
/linux/include/linux/ |
A D | u64_stats_sync.h | 83 return local64_read(&p->v); in u64_stats_read()
|
/linux/arch/xtensa/kernel/ |
A D | perf_event.c | 143 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 D | hisi_uncore_pmu.c | 299 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 D | uncore.c | 93 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 D | ibs.c | 107 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 D | perf_event.c | 121 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 D | perf_event.c | 255 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 D | qcom_l3_pmu.c | 247 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 D | arm_pmu.c | 200 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 D | arm-cci.c | 906 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 D | perf_event.c | 178 prev_raw_count = local64_read(&hwc->prev_count); in sh_perf_event_update()
|
/linux/arch/x86/events/ |
A D | msr.c | 239 prev = local64_read(&event->hw.prev_count); in msr_event_update()
|
/linux/arch/s390/kernel/ |
A D | perf_cpum_cf.c | 544 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 D | perf_event.c | 223 prev_raw_count = local64_read(&hwc->prev_count); in riscv_pmu_read()
|
/linux/arch/arm/mm/ |
A D | cache-l2x0-pmu.c | 123 prev_count = local64_read(&hw->prev_count); in l2x0_pmu_event_read()
|
/linux/arch/nds32/kernel/ |
A D | perf_event_cpu.c | 187 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 D | perf_event.c | 881 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 D | amdgpu_pmu.c | 272 prev = local64_read(&hwc->prev_count); in amdgpu_perf_read()
|
/linux/arch/arm/mach-imx/ |
A D | mmdc.c | 312 prev_raw_count = local64_read(&hwc->prev_count); in mmdc_pmu_event_update()
|
/linux/arch/x86/events/intel/ |
A D | cstate.c | 367 prev_raw_count = local64_read(&hwc->prev_count); in cstate_pmu_event_update()
|
/linux/drivers/dma/idxd/ |
A D | perfmon.c | 249 prev_raw_count = local64_read(&hwc->prev_count); in perfmon_pmu_event_update()
|