Searched refs:local_xchg (Results 1 - 10 of 10) sorted by relevance
/linux-master/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-master/arch/alpha/include/asm/ |
H A D | local.h | 65 #define local_xchg(l, n) (xchg_local(&((l)->a.counter), (n))) macro
|
/linux-master/arch/loongarch/include/asm/ |
H A D | local.h | 70 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n))) macro
|
/linux-master/arch/x86/include/asm/ |
H A D | local.h | 135 * 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 D | bts.c | 194 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 D | pt.c | 1506 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 D | local.h | 104 static __inline__ long local_xchg(local_t *l, long n) function
|
/linux-master/arch/mips/include/asm/ |
H A D | local.h | 108 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n))) macro
|
/linux-master/kernel/events/ |
H A D | ring_buffer.c | 248 lost_event.lost = local_xchg(&rb->lost, 0);
|
Completed in 130 milliseconds