Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/events/intel/
H A Dbts.c194 old = local_xchg(&buf->head, head); in bts_update()
326 local_xchg(&buf->data_size, in bts_event_stop()
329 local_xchg(&buf->data_size, 0)); in bts_event_stop()
492 perf_aux_output_end(&bts->handle, local_xchg(&buf->data_size, 0)); in intel_bts_interrupt()
H A Dpt.c1502 perf_aux_output_end(&pt->handle, local_xchg(&buf->data_size, 0)); in intel_pt_interrupt()
1631 local_xchg(&buf->data_size, in pt_event_stop()
1633 perf_aux_output_end(&pt->handle, local_xchg(&buf->data_size, 0)); in pt_event_stop()
/openbmc/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))
/openbmc/linux/arch/alpha/include/asm/
H A Dlocal.h65 #define local_xchg(l, n) (xchg_local(&((l)->a.counter), (n))) macro
/openbmc/linux/arch/loongarch/include/asm/
H A Dlocal.h70 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n))) macro
/openbmc/linux/arch/x86/include/asm/
H A Dlocal.h135 #define local_xchg(l, n) (xchg(&((l)->a.counter), (n))) macro
/openbmc/linux/arch/powerpc/include/asm/
H A Dlocal.h104 static __inline__ long local_xchg(local_t *l, long n) in local_xchg() function
/openbmc/linux/arch/mips/include/asm/
H A Dlocal.h108 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n))) macro
/openbmc/linux/kernel/events/
H A Dring_buffer.c248 lost_event.lost = local_xchg(&rb->lost, 0); in __perf_output_begin()