Home
last modified time | relevance | path

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

/linux/arch/x86/events/intel/
H A Dbts.c195 old = local_xchg(&bb->head, head); in bts_update()
327 local_xchg(&bb->data_size, in bts_event_stop()
330 local_xchg(&bb->data_size, 0)); in bts_event_stop()
508 perf_aux_output_end(&bts->handle, local_xchg(&bb->data_size, 0)); in intel_bts_interrupt()
/linux/include/asm-generic/
H A Dlocal.h46 #define local_xchg(l, n) atomic_long_xchg((&(l)->a), (n)) macro
H A Dlocal64.h55 #define local64_xchg(l, n) local_xchg((&(l)->a), (n))
/linux/arch/alpha/include/asm/
H A Dlocal.h65 #define local_xchg(l, n) (xchg_local(&((l)->a.counter), (n))) macro
/linux/arch/x86/include/asm/
H A Dlocal.h140 local_xchg(local_t *l, long n) in local_xchg() function
/linux/arch/powerpc/include/asm/
H A Dlocal.h104 static __inline__ long local_xchg(local_t *l, long n) in local_xchg() function
/linux/arch/loongarch/include/asm/
H A Dlocal.h107 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n))) macro
/linux/arch/mips/include/asm/
H A Dlocal.h108 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n))) macro
/linux/kernel/events/
H A Dring_buffer.c253 lost_event.lost = local_xchg(&rb->lost, 0); in __perf_output_begin()