Searched refs:local_xchg (Results 1 - 10 of 10) sorted by relevance
/linux-4.1.27/arch/alpha/include/asm/ |
H A D | local.h | 56 #define local_xchg(l, n) (xchg_local(&((l)->a.counter), (n))) macro
|
/linux-4.1.27/include/asm-generic/ |
H A D | local.h | 44 #define local_xchg(l, n) atomic_long_xchg((&(l)->a), (n)) macro
|
H A D | local64.h | 45 #define local64_xchg(l, n) local_xchg((&(l)->a), (n))
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
H A D | perf_event_intel_bts.c | 200 old = local_xchg(&buf->head, head); bts_update() 406 perf_aux_output_end(&bts->handle, local_xchg(&buf->data_size, 0), intel_bts_interrupt() 407 !!local_xchg(&buf->lost, 0)); intel_bts_interrupt() 431 local_xchg(&buf->data_size, bts_event_del() 433 perf_aux_output_end(&bts->handle, local_xchg(&buf->data_size, 0), bts_event_del() 434 !!local_xchg(&buf->lost, 0)); bts_event_del()
|
H A D | perf_event_intel_pt.c | 893 perf_aux_output_end(&pt->handle, local_xchg(&buf->data_size, 0), intel_pt_interrupt() 894 local_xchg(&buf->lost, 0)); intel_pt_interrupt() 988 local_xchg(&buf->data_size, pt_event_del() 990 perf_aux_output_end(&pt->handle, local_xchg(&buf->data_size, 0), pt_event_del() 991 local_xchg(&buf->lost, 0)); pt_event_del()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | local.h | 104 #define local_xchg(l, n) (xchg_local(&((l)->a.counter), (n))) macro
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | local.h | 125 #define local_xchg(l, n) (xchg(&((l)->a.counter), (n))) macro
|
/linux-4.1.27/arch/mips/include/asm/ |
H A D | local.h | 121 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n))) macro
|
/linux-4.1.27/arch/m32r/include/asm/ |
H A D | local.h | 247 #define local_xchg(v, new) (xchg_local(&((l)->counter), new)) macro
|
/linux-4.1.27/kernel/events/ |
H A D | ring_buffer.c | 187 lost_event.lost = local_xchg(&rb->lost, 0); perf_output_begin() 294 if (WARN_ON_ONCE(local_xchg(&rb->aux_nest, 1))) perf_aux_output_begin()
|
Completed in 333 milliseconds