Searched refs:local_xchg (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/arch/x86/events/intel/ |
D | bts.c | 188 old = local_xchg(&buf->head, head); in bts_update() 314 local_xchg(&buf->data_size, in bts_event_stop() 317 local_xchg(&buf->data_size, 0)); in bts_event_stop() 480 perf_aux_output_end(&bts->handle, local_xchg(&buf->data_size, 0)); in intel_bts_interrupt()
|
D | pt.c | 1363 perf_aux_output_end(&pt->handle, local_xchg(&buf->data_size, 0)); in intel_pt_interrupt() 1493 local_xchg(&buf->data_size, in pt_event_stop() 1495 perf_aux_output_end(&pt->handle, local_xchg(&buf->data_size, 0)); in pt_event_stop()
|
/Linux-v5.4/include/asm-generic/ |
D | local.h | 45 #define local_xchg(l, n) atomic_long_xchg((&(l)->a), (n)) macro
|
D | local64.h | 46 #define local64_xchg(l, n) local_xchg((&(l)->a), (n))
|
/Linux-v5.4/arch/alpha/include/asm/ |
D | local.h | 57 #define local_xchg(l, n) (xchg_local(&((l)->a.counter), (n))) macro
|
/Linux-v5.4/arch/x86/include/asm/ |
D | local.h | 126 #define local_xchg(l, n) (xchg(&((l)->a.counter), (n))) macro
|
/Linux-v5.4/arch/powerpc/include/asm/ |
D | local.h | 93 static __inline__ long local_xchg(local_t *l, long n) in local_xchg() function
|
/Linux-v5.4/arch/mips/include/asm/ |
D | local.h | 126 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n))) macro
|
/Linux-v5.4/kernel/events/ |
D | ring_buffer.c | 246 lost_event.lost = local_xchg(&rb->lost, 0); in __perf_output_begin()
|