Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/events/intel/
Dbts.c194 old = local_xchg(&buf->head, head); in bts_update()
320 local_xchg(&buf->data_size, in bts_event_stop()
323 local_xchg(&buf->data_size, 0)); in bts_event_stop()
486 perf_aux_output_end(&bts->handle, local_xchg(&buf->data_size, 0)); in intel_bts_interrupt()
Dpt.c1276 perf_aux_output_end(&pt->handle, local_xchg(&buf->data_size, 0)); in intel_pt_interrupt()
1406 local_xchg(&buf->data_size, in pt_event_stop()
1408 perf_aux_output_end(&pt->handle, local_xchg(&buf->data_size, 0)); in pt_event_stop()
/Linux-v4.19/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-v4.19/arch/alpha/include/asm/
Dlocal.h57 #define local_xchg(l, n) (xchg_local(&((l)->a.counter), (n))) macro
/Linux-v4.19/arch/x86/include/asm/
Dlocal.h126 #define local_xchg(l, n) (xchg(&((l)->a.counter), (n))) macro
/Linux-v4.19/arch/powerpc/include/asm/
Dlocal.h93 static __inline__ long local_xchg(local_t *l, long n) in local_xchg() function
/Linux-v4.19/arch/mips/include/asm/
Dlocal.h122 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n))) macro
/Linux-v4.19/drivers/hwtracing/coresight/
Dcoresight-tmc-etf.c366 handle->head = local_xchg(&buf->data_size, in tmc_reset_etf_buffer()
375 size = local_xchg(&buf->data_size, 0); in tmc_reset_etf_buffer()
Dcoresight-etb10.c332 handle->head = local_xchg(&buf->data_size, in etb_reset_buffer()
342 size = local_xchg(&buf->data_size, 0); in etb_reset_buffer()
/Linux-v4.19/kernel/events/
Dring_buffer.c215 lost_event.lost = local_xchg(&rb->lost, 0); in __perf_output_begin()
368 if (WARN_ON_ONCE(local_xchg(&rb->aux_nest, 1))) in perf_aux_output_begin()