Searched refs:local64_read (Results 1 – 10 of 10) sorted by relevance
/linux-2.6.39/include/asm-generic/ |
D | local64.h | 29 #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/ |
D | perf_event_fsl_emb.c | 168 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()
|
D | perf_event.c | 435 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/ |
D | perf_event.c | 127 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/ |
D | perf_event.c | 175 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/ |
D | perf_event.c | 245 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/ |
D | perf_event.c | 206 prev_raw_count = local64_read(&hwc->prev_count); in sh_perf_event_update()
|
/linux-2.6.39/arch/sparc/kernel/ |
D | perf_event.c | 575 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/ |
D | perf_event.c | 342 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/ |
D | perf_event.c | 1846 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()
|