Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/events/intel/
Dbts.c188 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()
Dpt.c1363 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/
Dlocal.h45 #define local_xchg(l, n) atomic_long_xchg((&(l)->a), (n)) macro
Dlocal64.h46 #define local64_xchg(l, n) local_xchg((&(l)->a), (n))
/Linux-v5.4/arch/alpha/include/asm/
Dlocal.h57 #define local_xchg(l, n) (xchg_local(&((l)->a.counter), (n))) macro
/Linux-v5.4/arch/x86/include/asm/
Dlocal.h126 #define local_xchg(l, n) (xchg(&((l)->a.counter), (n))) macro
/Linux-v5.4/arch/powerpc/include/asm/
Dlocal.h93 static __inline__ long local_xchg(local_t *l, long n) in local_xchg() function
/Linux-v5.4/arch/mips/include/asm/
Dlocal.h126 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n))) macro
/Linux-v5.4/kernel/events/
Dring_buffer.c246 lost_event.lost = local_xchg(&rb->lost, 0); in __perf_output_begin()