Searched refs:local64_set (Results 1 – 9 of 9) sorted by relevance
/linux-3.4.99/include/asm-generic/ |
D | local64.h | 30 #define local64_set(l,i) local_set((&(l)->a),(i)) macro 51 #define __local64_inc(l) local64_set((l), local64_read(l) + 1) 52 #define __local64_dec(l) local64_set((l), local64_read(l) - 1) 53 #define __local64_add(i,l) local64_set((l), local64_read(l) + (i)) 54 #define __local64_sub(i,l) local64_set((l), local64_read(l) - (i)) 68 #define local64_set(l,i) atomic64_set((&(l)->a),(i)) macro 89 #define __local64_inc(l) local64_set((l), local64_read(l) + 1) 90 #define __local64_dec(l) local64_set((l), local64_read(l) - 1) 91 #define __local64_add(i,l) local64_set((l), local64_read(l) + (i)) 92 #define __local64_sub(i,l) local64_set((l), local64_read(l) - (i))
|
/linux-3.4.99/arch/powerpc/perf/ |
D | core-fsl-emb.c | 307 local64_set(&event->hw.prev_count, val); in fsl_emb_pmu_add() 528 local64_set(&event->hw.period_left, event->hw.last_period); in fsl_emb_pmu_event_init() 606 local64_set(&event->hw.prev_count, val); in record_and_restart() 607 local64_set(&event->hw.period_left, left); in record_and_restart()
|
D | core-book3s.c | 537 local64_set(&event->hw.prev_count, val); in thaw_limited_counters() 745 local64_set(&event->hw.prev_count, val); in power_pmu_enable() 1223 local64_set(&event->hw.period_left, event->hw.last_period); in power_pmu_event_init() 1307 local64_set(&event->hw.prev_count, val); in record_and_restart() 1308 local64_set(&event->hw.period_left, left); in record_and_restart()
|
/linux-3.4.99/arch/alpha/kernel/ |
D | perf_event.c | 251 local64_set(&hwc->period_left, left); in alpha_perf_event_set_period() 258 local64_set(&hwc->period_left, left); in alpha_perf_event_set_period() 273 local64_set(&hwc->prev_count, (unsigned long)(-left)); in alpha_perf_event_set_period() 675 local64_set(&hwc->period_left, hwc->sample_period); in __hw_perf_event_init()
|
/linux-3.4.99/arch/arm/kernel/ |
D | perf_event.c | 161 local64_set(&hwc->period_left, left); in armpmu_event_set_period() 168 local64_set(&hwc->period_left, left); in armpmu_event_set_period() 176 local64_set(&hwc->prev_count, (u64)-left); in armpmu_event_set_period() 534 local64_set(&hwc->period_left, hwc->sample_period); in __hw_perf_event_init()
|
/linux-3.4.99/arch/mips/kernel/ |
D | perf_event_mipsxx.c | 378 local64_set(&hwc->period_left, left); in mipspmu_event_set_period() 384 local64_set(&hwc->period_left, left); in mipspmu_event_set_period() 391 local64_set(&hwc->period_left, left); in mipspmu_event_set_period() 394 local64_set(&hwc->prev_count, mipspmu.overflow - left); in mipspmu_event_set_period() 1261 local64_set(&hwc->period_left, hwc->sample_period); in __hw_perf_event_init()
|
/linux-3.4.99/arch/sparc/kernel/ |
D | perf_event.c | 647 local64_set(&hwc->period_left, left); in sparc_perf_event_set_period() 654 local64_set(&hwc->period_left, left); in sparc_perf_event_set_period() 661 local64_set(&hwc->prev_count, (u64)-left); in sparc_perf_event_set_period() 1185 local64_set(&hwc->period_left, hwc->sample_period); in sparc_pmu_event_init()
|
/linux-3.4.99/arch/x86/kernel/cpu/ |
D | perf_event.c | 304 local64_set(&hwc->period_left, hwc->sample_period); in x86_setup_perfctr() 944 local64_set(&hwc->period_left, left); in x86_perf_event_set_period() 951 local64_set(&hwc->period_left, left); in x86_perf_event_set_period() 970 local64_set(&hwc->prev_count, (u64)-left); in x86_perf_event_set_period()
|
/linux-3.4.99/kernel/events/ |
D | core.c | 1978 local64_set(&next_event->count, value); in __perf_event_sync_stat() 2452 local64_set(&hwc->period_left, 0); in perf_adjust_period() 3198 local64_set(&event->count, 0); in perf_event_reset() 5514 local64_set(&hwc->period_left, 0); in perf_swevent_start_hrtimer() 5529 local64_set(&hwc->period_left, ktime_to_ns(remaining)); in perf_swevent_cancel_hrtimer() 5554 local64_set(&hwc->period_left, hwc->sample_period); in perf_swevent_init_hrtimer() 5575 local64_set(&event->hw.prev_count, local_clock()); in cpu_clock_event_start() 5651 local64_set(&event->hw.prev_count, event->ctx->time); in task_clock_event_start() 6105 local64_set(&hwc->period_left, hwc->sample_period); in perf_event_alloc() 6918 local64_set(&hwc->period_left, sample_period); in inherit_event()
|