/linux-6.6.21/include/asm-generic/ |
D | local64.h | 31 #define local64_set(l,i) local_set((&(l)->a),(i)) macro 61 #define __local64_inc(l) local64_set((l), local64_read(l) + 1) 62 #define __local64_dec(l) local64_set((l), local64_read(l) - 1) 63 #define __local64_add(i,l) local64_set((l), local64_read(l) + (i)) 64 #define __local64_sub(i,l) local64_set((l), local64_read(l) - (i)) 78 #define local64_set(l,i) atomic64_set((&(l)->a),(i)) macro 100 #define __local64_inc(l) local64_set((l), local64_read(l) + 1) 101 #define __local64_dec(l) local64_set((l), local64_read(l) - 1) 102 #define __local64_add(i,l) local64_set((l), local64_read(l) + (i)) 103 #define __local64_sub(i,l) local64_set((l), local64_read(l) - (i))
|
/linux-6.6.21/drivers/perf/ |
D | riscv_pmu.c | 216 local64_set(&hwc->period_left, left); in riscv_pmu_event_set_period() 223 local64_set(&hwc->period_left, left); in riscv_pmu_event_set_period() 237 local64_set(&hwc->prev_count, (u64)-left); in riscv_pmu_event_set_period() 347 local64_set(&hwc->period_left, hwc->sample_period); in riscv_pmu_event_init()
|
D | arm_pmu.c | 212 local64_set(&hwc->period_left, left); in armpmu_event_set_period() 219 local64_set(&hwc->period_left, left); in armpmu_event_set_period() 233 local64_set(&hwc->prev_count, (u64)-left); in armpmu_event_set_period() 494 local64_set(&hwc->period_left, hwc->sample_period); in __hw_perf_event_init()
|
D | riscv_pmu_legacy.c | 77 local64_set(&hwc->prev_count, initial_val); in pmu_legacy_ctr_start()
|
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()
|
D | marvell_cn10k_ddr_pmu.c | 428 local64_set(&hwc->prev_count, 0); in cn10k_ddr_perf_event_start() 546 local64_set(&hwc->prev_count, 0); in cn10k_ddr_perf_event_update_all()
|
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()
|
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-6.6.21/arch/arc/kernel/ |
D | perf_event.c | 291 local64_set(&hwc->prev_count, new_raw_count); in arc_perf_event_update() 337 local64_set(&hwc->period_left, hwc->sample_period); in arc_pmu_event_init() 417 local64_set(&hwc->period_left, left); in arc_pmu_event_set_period() 423 local64_set(&hwc->period_left, left); in arc_pmu_event_set_period() 432 local64_set(&hwc->prev_count, value); in arc_pmu_event_set_period() 550 local64_set(&hwc->prev_count, 0); in arc_pmu_add()
|
/linux-6.6.21/arch/powerpc/perf/ |
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()
|
D | 8xx-pmu.c | 115 local64_set(&event->hw.prev_count, val); in mpc8xx_pmu_add()
|
D | core-book3s.c | 1169 local64_set(&event->hw.prev_count, val); in power_pmu_read() 1250 local64_set(&event->hw.prev_count, val); in thaw_limited_counters() 1556 local64_set(&event->hw.prev_count, val); in power_pmu_enable() 2168 local64_set(&event->hw.period_left, event->hw.last_period); in power_pmu_event_init() 2175 local64_set(&event->hw.prev_count, 0); in power_pmu_event_init() 2285 local64_set(&event->hw.prev_count, val); in record_and_restart() 2286 local64_set(&event->hw.period_left, left); in record_and_restart()
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | perf_event.c | 310 local64_set(&hwc->period_left, left); in loongarch_pmu_event_set_period() 316 local64_set(&hwc->period_left, left); in loongarch_pmu_event_set_period() 323 local64_set(&hwc->period_left, left); in loongarch_pmu_event_set_period() 326 local64_set(&hwc->prev_count, loongarch_pmu.overflow - left); in loongarch_pmu_event_set_period() 808 local64_set(&hwc->period_left, hwc->sample_period); in __hw_perf_event_init()
|
/linux-6.6.21/arch/xtensa/kernel/ |
D | perf_event.c | 177 local64_set(&hwc->period_left, left); in xtensa_perf_event_set_period() 182 local64_set(&hwc->period_left, left); in xtensa_perf_event_set_period() 190 local64_set(&hwc->prev_count, -left); in xtensa_perf_event_set_period()
|
/linux-6.6.21/arch/alpha/kernel/ |
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-6.6.21/arch/x86/events/ |
D | msr.c | 259 local64_set(&event->count, now); in msr_event_update() 269 local64_set(&event->hw.prev_count, now); in msr_event_start()
|
/linux-6.6.21/arch/s390/kernel/ |
D | perf_pai_crypto.c | 243 local64_set(&event->hw.prev_count, new); in paicrypt_read() 256 local64_set(&event->count, 0); in paicrypt_start() 257 local64_set(&event->hw.prev_count, sum); in paicrypt_start()
|
D | perf_pai_ext.c | 316 local64_set(&event->hw.prev_count, new); in paiext_read() 329 local64_set(&event->hw.prev_count, sum); in paiext_start() 330 local64_set(&event->count, 0); in paiext_start()
|
/linux-6.6.21/include/linux/ |
D | u64_stats_sync.h | 84 local64_set(&p->v, val); in u64_stats_set()
|
/linux-6.6.21/arch/csky/kernel/ |
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-6.6.21/arch/arm/mach-imx/ |
D | mmdc.c | 341 local64_set(&hwc->prev_count, 0); in mmdc_pmu_event_start() 376 local64_set(&hwc->prev_count, mmdc_pmu_read_counter(pmu_mmdc, cfg)); in mmdc_pmu_event_add()
|
/linux-6.6.21/arch/x86/events/amd/ |
D | ibs.c | 112 local64_set(&hwc->period_left, left); in perf_event_set_period() 119 local64_set(&hwc->period_left, left); in perf_event_set_period() 323 local64_set(&hwc->period_left, hwc->sample_period); in perf_ibs_init() 338 local64_set(&hwc->prev_count, 0); in perf_ibs_set_period()
|
/linux-6.6.21/arch/mips/kernel/ |
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-6.6.21/arch/sparc/kernel/ |
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-6.6.21/arch/arm/mm/ |
D | cache-l2x0-pmu.c | 147 local64_set(&hw->prev_count, 0); in l2x0_pmu_event_configure()
|