Searched refs:local_cmpxchg (Results 1 – 9 of 9) sorted by relevance
/linux-4.4.14/arch/alpha/include/asm/ |
D | local.h | 54 #define local_cmpxchg(l, o, n) \ macro 74 old = local_cmpxchg((l), c, c + (a)); \
|
/linux-4.4.14/arch/x86/include/asm/ |
D | local.h | 122 #define local_cmpxchg(l, o, n) \ macro 143 old = local_cmpxchg((l), c, c + (a)); \
|
/linux-4.4.14/arch/m32r/include/asm/ |
D | local.h | 246 #define local_cmpxchg(l, o, n) (cmpxchg_local(&((l)->counter), (o), (n))) macro 265 old = local_cmpxchg((l), c, c + (a)); in local_add_unless()
|
/linux-4.4.14/arch/mips/include/asm/ |
D | local.h | 119 #define local_cmpxchg(l, o, n) \ macro 136 while (c != (u) && (old = local_cmpxchg((l), c, c + (a))) != c) \
|
/linux-4.4.14/include/asm-generic/ |
D | local.h | 43 #define local_cmpxchg(l, o, n) atomic_long_cmpxchg((&(l)->a), (o), (n)) macro
|
D | local64.h | 44 #define local64_cmpxchg(l, o, n) local_cmpxchg((&(l)->a), (o), (n))
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | local.h | 102 #define local_cmpxchg(l, o, n) \ macro
|
/linux-4.4.14/kernel/events/ |
D | ring_buffer.c | 163 } while (local_cmpxchg(&rb->head, offset, head) != offset); in perf_output_begin()
|
/linux-4.4.14/kernel/trace/ |
D | ring_buffer.c | 1054 (void)local_cmpxchg(&next_page->write, old_write, val); in rb_tail_page_update() 1055 (void)local_cmpxchg(&next_page->entries, old_entries, eval); in rb_tail_page_update() 2379 index = local_cmpxchg(&bpage->write, old_index, new_index); in rb_try_to_discard()
|