Searched refs:local_xchg (Results 1 – 9 of 9) sorted by relevance
| /linux/arch/x86/events/intel/ |
| H A D | bts.c | 195 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 D | local.h | 46 #define local_xchg(l, n) atomic_long_xchg((&(l)->a), (n)) macro
|
| H A D | local64.h | 55 #define local64_xchg(l, n) local_xchg((&(l)->a), (n))
|
| /linux/arch/alpha/include/asm/ |
| H A D | local.h | 65 #define local_xchg(l, n) (xchg_local(&((l)->a.counter), (n))) macro
|
| /linux/arch/x86/include/asm/ |
| H A D | local.h | 140 local_xchg(local_t *l, long n) in local_xchg() function
|
| /linux/arch/powerpc/include/asm/ |
| H A D | local.h | 104 static __inline__ long local_xchg(local_t *l, long n) in local_xchg() function
|
| /linux/arch/loongarch/include/asm/ |
| H A D | local.h | 107 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n))) macro
|
| /linux/arch/mips/include/asm/ |
| H A D | local.h | 108 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n))) macro
|
| /linux/kernel/events/ |
| H A D | ring_buffer.c | 253 lost_event.lost = local_xchg(&rb->lost, 0); in __perf_output_begin()
|