/linux/include/asm-generic/ |
A D | local64.h | 31 #define local64_set(l,i) local_set((&(l)->a),(i)) 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)) 69 #define local64_set(l,i) atomic64_set((&(l)->a),(i)) 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/arc/kernel/ |
A D | perf_event.c | 129 local64_set(&hwc->prev_count, new_raw_count); in arc_perf_event_update() 175 local64_set(&hwc->period_left, hwc->sample_period); in arc_pmu_event_init() 255 local64_set(&hwc->period_left, left); in arc_pmu_event_set_period() 261 local64_set(&hwc->period_left, left); in arc_pmu_event_set_period() 270 local64_set(&hwc->prev_count, value); in arc_pmu_event_set_period() 388 local64_set(&hwc->prev_count, 0); in arc_pmu_add()
|
/linux/arch/powerpc/perf/ |
A D | core-fsl-emb.c | 314 local64_set(&event->hw.prev_count, val); in fsl_emb_pmu_add() 547 local64_set(&event->hw.period_left, event->hw.last_period); in fsl_emb_pmu_event_init() 625 local64_set(&event->hw.prev_count, val); in record_and_restart() 626 local64_set(&event->hw.period_left, left); in record_and_restart()
|
A D | core-book3s.c | 1127 local64_set(&event->hw.prev_count, val); in power_pmu_read() 1208 local64_set(&event->hw.prev_count, val); in thaw_limited_counters() 1481 local64_set(&event->hw.prev_count, val); in power_pmu_enable() 2076 local64_set(&event->hw.period_left, event->hw.last_period); in power_pmu_event_init() 2083 local64_set(&event->hw.prev_count, 0); in power_pmu_event_init() 2193 local64_set(&event->hw.prev_count, val); in record_and_restart() 2194 local64_set(&event->hw.period_left, left); in record_and_restart()
|
A D | 8xx-pmu.c | 115 local64_set(&event->hw.prev_count, val); in mpc8xx_pmu_add()
|
A D | hv-gpci.c | 211 local64_set(&event->hw.prev_count, h_gpci_get_value(event)); in h_gpci_event_start()
|
/linux/arch/xtensa/kernel/ |
A D | perf_event.c | 168 local64_set(&hwc->period_left, left); in xtensa_perf_event_set_period() 173 local64_set(&hwc->period_left, left); in xtensa_perf_event_set_period() 181 local64_set(&hwc->prev_count, -left); in xtensa_perf_event_set_period()
|
/linux/arch/alpha/kernel/ |
A D | perf_event.c | 261 local64_set(&hwc->period_left, left); in alpha_perf_event_set_period() 268 local64_set(&hwc->period_left, left); in alpha_perf_event_set_period() 283 local64_set(&hwc->prev_count, (unsigned long)(-left)); in alpha_perf_event_set_period() 681 local64_set(&hwc->period_left, hwc->sample_period); in __hw_perf_event_init()
|
/linux/arch/x86/events/ |
A D | msr.c | 252 local64_set(&event->count, now); in msr_event_update() 262 local64_set(&event->hw.prev_count, now); in msr_event_start()
|
/linux/arch/x86/events/amd/ |
A D | ibs.c | 116 local64_set(&hwc->period_left, left); in perf_event_set_period() 123 local64_set(&hwc->period_left, left); in perf_event_set_period() 302 local64_set(&hwc->period_left, hwc->sample_period); in perf_ibs_init() 317 local64_set(&hwc->prev_count, 0); in perf_ibs_set_period()
|
/linux/drivers/perf/ |
A D | arm_pmu.c | 208 local64_set(&hwc->period_left, left); in armpmu_event_set_period() 215 local64_set(&hwc->period_left, left); in armpmu_event_set_period() 229 local64_set(&hwc->prev_count, (u64)-left); in armpmu_event_set_period() 487 local64_set(&hwc->period_left, hwc->sample_period); in __hw_perf_event_init()
|
A D | thunderx2_pmu.c | 379 local64_set(&hwc->prev_count, 0); in uncore_start_event_l3c() 409 local64_set(&hwc->prev_count, 0); in uncore_start_event_dmc() 452 local64_set(&event->hw.prev_count, 0ULL); in uncore_start_event_ccpi2()
|
A D | qcom_l3_pmu.c | 206 local64_set(&event->hw.prev_count, 0); in qcom_l3_cache__64bit_counter_start() 285 local64_set(&event->hw.prev_count, 0); in qcom_l3_cache__32bit_counter_start()
|
A D | arm_smmuv3_pmu.c | 249 local64_set(&hwc->prev_count, new); in smmu_pmu_set_period() 447 local64_set(&hwc->prev_count, 0); in smmu_pmu_event_add()
|
A D | qcom_l2_pmu.c | 335 local64_set(&hwc->prev_count, new); in l2_cache_cluster_set_period() 604 local64_set(&hwc->prev_count, 0); in l2_cache_event_add()
|
/linux/include/linux/ |
A D | u64_stats_sync.h | 88 local64_set(&p->v, val); in u64_stats_set()
|
/linux/arch/nds32/kernel/ |
A D | perf_event_cpu.c | 197 local64_set(&hwc->period_left, left); in nds32_pmu_event_set_period() 204 local64_set(&hwc->period_left, left); in nds32_pmu_event_set_period() 216 local64_set(&hwc->prev_count, (u64)(-left)); in nds32_pmu_event_set_period() 846 local64_set(&hwc->period_left, hwc->sample_period); in __hw_perf_event_init()
|
/linux/arch/csky/kernel/ |
A D | perf_event.c | 887 local64_set(&hwc->period_left, left); in csky_pmu_event_set_period() 894 local64_set(&hwc->period_left, left); in csky_pmu_event_set_period() 906 local64_set(&hwc->prev_count, (u64)(-left)); in csky_pmu_event_set_period() 935 local64_set(&hwc->prev_count, new_raw_count); in csky_perf_event_update()
|
/linux/arch/arm/mach-imx/ |
A D | mmdc.c | 340 local64_set(&hwc->prev_count, 0); in mmdc_pmu_event_start() 375 local64_set(&hwc->prev_count, mmdc_pmu_read_counter(pmu_mmdc, cfg)); in mmdc_pmu_event_add()
|
/linux/arch/mips/kernel/ |
A D | perf_event_mipsxx.c | 420 local64_set(&hwc->period_left, left); in mipspmu_event_set_period() 426 local64_set(&hwc->period_left, left); in mipspmu_event_set_period() 433 local64_set(&hwc->period_left, left); in mipspmu_event_set_period() 436 local64_set(&hwc->prev_count, mipspmu.overflow - left); in mipspmu_event_set_period() 1531 local64_set(&hwc->period_left, hwc->sample_period); in __hw_perf_event_init()
|
/linux/Documentation/translations/zh_CN/riscv/ |
A D | pmu.rst | 86 local64_set(&hwc->period_left, hwc->sample_period);
|
/linux/arch/sparc/kernel/ |
A D | perf_event.c | 900 local64_set(&hwc->period_left, left); in sparc_perf_event_set_period() 907 local64_set(&hwc->period_left, left); in sparc_perf_event_set_period() 914 local64_set(&hwc->prev_count, (u64)-left); in sparc_perf_event_set_period() 1501 local64_set(&hwc->period_left, hwc->sample_period); in sparc_pmu_event_init()
|
/linux/arch/riscv/kernel/ |
A D | perf_event.c | 291 local64_set(&hwc->prev_count, read_counter(hwc->idx)); in riscv_pmu_start()
|
/linux/arch/arm/mm/ |
A D | cache-l2x0-pmu.c | 147 local64_set(&hw->prev_count, 0); in l2x0_pmu_event_configure()
|
/linux/drivers/perf/hisilicon/ |
A D | hisi_uncore_pmu.c | 284 local64_set(&hwc->prev_count, val); in hisi_uncore_pmu_set_event_period()
|