Home
last modified time | relevance | path

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

/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_intel_bts.c197 old = local_xchg(&buf->head, head); in bts_update()
404 perf_aux_output_end(&bts->handle, local_xchg(&buf->data_size, 0), in intel_bts_interrupt()
405 !!local_xchg(&buf->lost, 0)); in intel_bts_interrupt()
429 local_xchg(&buf->data_size, in bts_event_del()
431 perf_aux_output_end(&bts->handle, local_xchg(&buf->data_size, 0), in bts_event_del()
432 !!local_xchg(&buf->lost, 0)); in bts_event_del()
Dperf_event_intel_pt.c961 perf_aux_output_end(&pt->handle, local_xchg(&buf->data_size, 0), in intel_pt_interrupt()
962 local_xchg(&buf->lost, 0)); in intel_pt_interrupt()
1054 local_xchg(&buf->data_size, in pt_event_del()
1056 perf_aux_output_end(&pt->handle, local_xchg(&buf->data_size, 0), in pt_event_del()
1057 local_xchg(&buf->lost, 0)); in pt_event_del()
/linux-4.4.14/include/asm-generic/
Dlocal.h44 #define local_xchg(l, n) atomic_long_xchg((&(l)->a), (n)) macro
Dlocal64.h45 #define local64_xchg(l, n) local_xchg((&(l)->a), (n))
/linux-4.4.14/arch/alpha/include/asm/
Dlocal.h56 #define local_xchg(l, n) (xchg_local(&((l)->a.counter), (n))) macro
/linux-4.4.14/arch/x86/include/asm/
Dlocal.h125 #define local_xchg(l, n) (xchg(&((l)->a.counter), (n))) macro
/linux-4.4.14/arch/powerpc/include/asm/
Dlocal.h104 #define local_xchg(l, n) (xchg_local(&((l)->a.counter), (n))) macro
/linux-4.4.14/arch/m32r/include/asm/
Dlocal.h247 #define local_xchg(v, new) (xchg_local(&((l)->counter), new)) macro
/linux-4.4.14/arch/mips/include/asm/
Dlocal.h121 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n))) macro
/linux-4.4.14/kernel/events/
Dring_buffer.c187 lost_event.lost = local_xchg(&rb->lost, 0); in perf_output_begin()
294 if (WARN_ON_ONCE(local_xchg(&rb->aux_nest, 1))) in perf_aux_output_begin()