Home
last modified time | relevance | path

Searched refs:local64_set (Results 1 – 9 of 9) sorted by relevance

/linux-3.4.99/include/asm-generic/
Dlocal64.h30 #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/
Dcore-fsl-emb.c307 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()
Dcore-book3s.c537 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/
Dperf_event.c251 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/
Dperf_event.c161 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/
Dperf_event_mipsxx.c378 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/
Dperf_event.c647 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/
Dperf_event.c304 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/
Dcore.c1978 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()