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

/linux-master/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-master/arch/alpha/include/asm/
H A Dlocal.h65 #define local_xchg(l, n) (xchg_local(&((l)->a.counter), (n))) macro
/linux-master/arch/loongarch/include/asm/
H A Dlocal.h70 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n))) macro
/linux-master/arch/x86/include/asm/
H A Dlocal.h135 * Implement local_xchg using CMPXCHG instruction without the LOCK prefix.
140 local_xchg(local_t *l, long n) function
/linux-master/arch/x86/events/intel/
H A Dbts.c194 old = local_xchg(&buf->head, head);
326 local_xchg(&buf->data_size,
329 local_xchg(&buf->data_size, 0));
492 perf_aux_output_end(&bts->handle, local_xchg(&buf->data_size, 0));
H A Dpt.c1506 perf_aux_output_end(&pt->handle, local_xchg(&buf->data_size, 0));
1634 local_xchg(&buf->data_size,
1636 perf_aux_output_end(&pt->handle, local_xchg(&buf->data_size, 0));
/linux-master/arch/powerpc/include/asm/
H A Dlocal.h104 static __inline__ long local_xchg(local_t *l, long n) function
/linux-master/arch/mips/include/asm/
H A Dlocal.h108 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n))) macro
/linux-master/kernel/events/
H A Dring_buffer.c248 lost_event.lost = local_xchg(&rb->lost, 0);

Completed in 130 milliseconds