Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/alpha/include/asm/
H A Dlocal.h55 #define local_cmpxchg(l, o, n) \ macro
75 old = local_cmpxchg((l), c, c + (a)); \
/OK3568_Linux_fs/kernel/arch/x86/include/asm/
H A Dlocal.h123 #define local_cmpxchg(l, o, n) \ macro
144 old = local_cmpxchg((l), c, c + (a)); \
/OK3568_Linux_fs/kernel/arch/mips/include/asm/
H A Dlocal.h128 #define local_cmpxchg(l, o, n) \ macro
145 while (c != (u) && (old = local_cmpxchg((l), c, c + (a))) != c) \
/OK3568_Linux_fs/kernel/include/asm-generic/
H A Dlocal.h44 #define local_cmpxchg(l, o, n) atomic_long_cmpxchg((&(l)->a), (o), (n)) macro
H A Dlocal64.h45 #define local64_cmpxchg(l, o, n) local_cmpxchg((&(l)->a), (o), (n))
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A Dlocal.h79 static __inline__ long local_cmpxchg(local_t *l, long o, long n) in local_cmpxchg() function
/OK3568_Linux_fs/kernel/kernel/events/
H A Dring_buffer.c218 } while (local_cmpxchg(&rb->head, offset, head) != offset); in __perf_output_begin()
/OK3568_Linux_fs/kernel/drivers/hwtracing/coresight/
H A Dcoresight-etb10.c607 if (local_cmpxchg(&drvdata->reading, 0, 1)) in etb_open()
H A Dcoresight-etm3x-core.c541 val = local_cmpxchg(&drvdata->mode, CS_MODE_DISABLED, mode); in etm_enable()
H A Dcoresight-stm.c203 val = local_cmpxchg(&drvdata->mode, CS_MODE_DISABLED, mode); in stm_enable()
H A Dcoresight-etm4x-core.c740 val = local_cmpxchg(&drvdata->mode, CS_MODE_DISABLED, mode); in etm4_enable()
/OK3568_Linux_fs/kernel/kernel/trace/
H A Dring_buffer.c691 ret = local_cmpxchg(l, expect, set); in rb_time_read_cmpxchg()
1426 (void)local_cmpxchg(&next_page->write, old_write, val); in rb_tail_page_update()
1427 (void)local_cmpxchg(&next_page->entries, old_entries, eval); in rb_tail_page_update()
2947 index = local_cmpxchg(&bpage->write, old_index, new_index); in rb_try_to_discard()