Searched refs:local_cmpxchg (Results 1 – 12 of 12) sorted by relevance
| /Linux-v5.10/arch/alpha/include/asm/ |
| D | local.h | 55 #define local_cmpxchg(l, o, n) \ macro 75 old = local_cmpxchg((l), c, c + (a)); \
|
| /Linux-v5.10/arch/x86/include/asm/ |
| D | local.h | 123 #define local_cmpxchg(l, o, n) \ macro 144 old = local_cmpxchg((l), c, c + (a)); \
|
| /Linux-v5.10/arch/mips/include/asm/ |
| D | local.h | 128 #define local_cmpxchg(l, o, n) \ macro 145 while (c != (u) && (old = local_cmpxchg((l), c, c + (a))) != c) \
|
| /Linux-v5.10/include/asm-generic/ |
| D | local.h | 44 #define local_cmpxchg(l, o, n) atomic_long_cmpxchg((&(l)->a), (o), (n)) macro
|
| D | local64.h | 45 #define local64_cmpxchg(l, o, n) local_cmpxchg((&(l)->a), (o), (n))
|
| /Linux-v5.10/arch/powerpc/include/asm/ |
| D | local.h | 79 static __inline__ long local_cmpxchg(local_t *l, long o, long n) in local_cmpxchg() function
|
| /Linux-v5.10/drivers/hwtracing/coresight/ |
| D | coresight-etb10.c | 604 if (local_cmpxchg(&drvdata->reading, 0, 1)) in etb_open()
|
| D | coresight-etm3x-core.c | 540 val = local_cmpxchg(&drvdata->mode, CS_MODE_DISABLED, mode); in etm_enable()
|
| D | coresight-stm.c | 203 val = local_cmpxchg(&drvdata->mode, CS_MODE_DISABLED, mode); in stm_enable()
|
| D | coresight-etm4x-core.c | 446 val = local_cmpxchg(&drvdata->mode, CS_MODE_DISABLED, mode); in etm4_enable()
|
| /Linux-v5.10/kernel/events/ |
| D | ring_buffer.c | 218 } while (local_cmpxchg(&rb->head, offset, head) != offset); in __perf_output_begin()
|
| /Linux-v5.10/kernel/trace/ |
| D | ring_buffer.c | 680 ret = local_cmpxchg(l, expect, set); in rb_time_read_cmpxchg() 1344 (void)local_cmpxchg(&next_page->write, old_write, val); in rb_tail_page_update() 1345 (void)local_cmpxchg(&next_page->entries, old_entries, eval); in rb_tail_page_update() 2846 index = local_cmpxchg(&bpage->write, old_index, new_index); in rb_try_to_discard()
|