Home
last modified time | relevance | path

Searched refs:local64_read (Results 1 – 10 of 10) sorted by relevance

/linux-2.6.39/include/asm-generic/
Dlocal64.h29 #define local64_read(l) local_read(&(l)->a) 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))
67 #define local64_read(l) atomic64_read(&(l)->a) 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-2.6.39/arch/powerpc/kernel/
Dperf_event_fsl_emb.c168 prev = local64_read(&event->hw.prev_count); in fsl_emb_pmu_read()
303 s64 left = local64_read(&event->hw.period_left); in fsl_emb_pmu_add()
383 left = local64_read(&event->hw.period_left); in fsl_emb_pmu_start()
583 prev = local64_read(&event->hw.prev_count); in record_and_restart()
592 left = local64_read(&event->hw.period_left) - delta; in record_and_restart()
Dperf_event.c435 prev = local64_read(&event->hw.prev_count); in power_pmu_read()
470 prev = local64_read(&event->hw.prev_count); in freeze_limited_counters()
489 prev = local64_read(&event->hw.prev_count); in thaw_limited_counters()
695 left = local64_read(&event->hw.period_left); in power_pmu_enable()
882 left = local64_read(&event->hw.period_left); in power_pmu_start()
1222 prev = local64_read(&event->hw.prev_count); in record_and_restart()
1231 left = local64_read(&event->hw.period_left) - delta; in record_and_restart()
/linux-2.6.39/arch/mips/kernel/
Dperf_event.c127 s64 left = local64_read(&hwc->period_left); in mipspmu_event_set_period()
175 prev_raw_count = local64_read(&hwc->prev_count); in mipspmu_event_update()
/linux-2.6.39/arch/arm/kernel/
Dperf_event.c175 s64 left = local64_read(&hwc->period_left); in armpmu_event_set_period()
213 prev_raw_count = local64_read(&hwc->prev_count); in armpmu_event_update()
/linux-2.6.39/arch/alpha/kernel/
Dperf_event.c245 long left = local64_read(&hwc->period_left); in alpha_perf_event_set_period()
304 prev_raw_count = local64_read(&hwc->prev_count); in alpha_perf_event_update()
/linux-2.6.39/arch/sh/kernel/
Dperf_event.c206 prev_raw_count = local64_read(&hwc->prev_count); in sh_perf_event_update()
/linux-2.6.39/arch/sparc/kernel/
Dperf_event.c575 prev_raw_count = local64_read(&hwc->prev_count); in sparc_perf_event_update()
594 s64 left = local64_read(&hwc->period_left); in sparc_perf_event_set_period()
/linux-2.6.39/arch/x86/kernel/cpu/
Dperf_event.c342 prev_raw_count = local64_read(&hwc->prev_count); in x86_perf_event_update()
1030 s64 left = local64_read(&hwc->period_left); in x86_perf_event_set_period()
/linux-2.6.39/kernel/
Dperf_event.c1846 value = local64_read(&next_event->count); in __perf_event_sync_stat()
2266 if (local64_read(&hwc->period_left) > 8*sample_period) { in perf_adjust_period()
2305 now = local64_read(&event->count); in perf_ctx_adjust_freq()
2499 return local64_read(&event->count) + atomic64_read(&event->child_count); in perf_event_count()
3396 userpg->offset -= local64_read(&event->hw.prev_count); in perf_event_update_userpage()
5081 old = val = local64_read(&hwc->period_left); in perf_swevent_set_period()
5675 period = local64_read(&hwc->period_left); in perf_swevent_start_hrtimer()