Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/x86/events/intel/
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()
A Dpt.c1502 perf_aux_output_end(&pt->handle, local_xchg(&buf->data_size, 0)); in intel_pt_interrupt()
1630 local_xchg(&buf->data_size, in pt_event_stop()
1632 perf_aux_output_end(&pt->handle, local_xchg(&buf->data_size, 0)); in pt_event_stop()
/linux-6.3-rc2/include/asm-generic/
A Dlocal.h45 #define local_xchg(l, n) atomic_long_xchg((&(l)->a), (n)) macro
A Dlocal64.h46 #define local64_xchg(l, n) local_xchg((&(l)->a), (n))
/linux-6.3-rc2/arch/loongarch/include/asm/
A Dlocal.h61 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n))) macro
/linux-6.3-rc2/arch/alpha/include/asm/
A Dlocal.h57 #define local_xchg(l, n) (xchg_local(&((l)->a.counter), (n))) macro
/linux-6.3-rc2/arch/x86/include/asm/
A Dlocal.h126 #define local_xchg(l, n) (xchg(&((l)->a.counter), (n))) macro
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dlocal.h93 static __inline__ long local_xchg(local_t *l, long n) in local_xchg() function
/linux-6.3-rc2/arch/mips/include/asm/
A Dlocal.h99 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n))) macro
/linux-6.3-rc2/kernel/events/
A Dring_buffer.c247 lost_event.lost = local_xchg(&rb->lost, 0); in __perf_output_begin()

Completed in 14 milliseconds