Home
last modified time | relevance | path

Searched refs:local_cmpxchg (Results 1 – 9 of 9) sorted by relevance

/linux-4.4.14/arch/alpha/include/asm/
Dlocal.h54 #define local_cmpxchg(l, o, n) \ macro
74 old = local_cmpxchg((l), c, c + (a)); \
/linux-4.4.14/arch/x86/include/asm/
Dlocal.h122 #define local_cmpxchg(l, o, n) \ macro
143 old = local_cmpxchg((l), c, c + (a)); \
/linux-4.4.14/arch/m32r/include/asm/
Dlocal.h246 #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/
Dlocal.h119 #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/
Dlocal.h43 #define local_cmpxchg(l, o, n) atomic_long_cmpxchg((&(l)->a), (o), (n)) macro
Dlocal64.h44 #define local64_cmpxchg(l, o, n) local_cmpxchg((&(l)->a), (o), (n))
/linux-4.4.14/arch/powerpc/include/asm/
Dlocal.h102 #define local_cmpxchg(l, o, n) \ macro
/linux-4.4.14/kernel/events/
Dring_buffer.c163 } while (local_cmpxchg(&rb->head, offset, head) != offset); in perf_output_begin()
/linux-4.4.14/kernel/trace/
Dring_buffer.c1054 (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()