Searched refs:local_cmpxchg (Results 1 – 13 of 13) sorted by relevance
/linux-6.3-rc2/arch/loongarch/include/asm/ |
A D | local.h | 59 #define local_cmpxchg(l, o, n) \ macro 76 while (c != (u) && (old = local_cmpxchg((l), c, c + (a))) != c) \
|
/linux-6.3-rc2/arch/alpha/include/asm/ |
A D | local.h | 55 #define local_cmpxchg(l, o, n) \ macro 75 old = local_cmpxchg((l), c, c + (a)); \
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A D | local.h | 123 #define local_cmpxchg(l, o, n) \ macro 144 old = local_cmpxchg((l), c, c + (a)); \
|
/linux-6.3-rc2/arch/mips/include/asm/ |
A D | local.h | 97 #define local_cmpxchg(l, o, n) \ macro 114 while (c != (u) && (old = local_cmpxchg((l), c, c + (a))) != c) \
|
/linux-6.3-rc2/include/asm-generic/ |
A D | local.h | 44 #define local_cmpxchg(l, o, n) atomic_long_cmpxchg((&(l)->a), (o), (n)) macro
|
A D | local64.h | 45 #define local64_cmpxchg(l, o, n) local_cmpxchg((&(l)->a), (o), (n))
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | local.h | 79 static __inline__ long local_cmpxchg(local_t *l, long o, long n) in local_cmpxchg() function
|
/linux-6.3-rc2/drivers/hwtracing/coresight/ |
A D | coresight-etb10.c | 606 if (local_cmpxchg(&drvdata->reading, 0, 1)) in etb_open()
|
A D | coresight-stm.c | 204 val = local_cmpxchg(&drvdata->mode, CS_MODE_DISABLED, mode); in stm_enable()
|
A D | coresight-etm3x-core.c | 562 val = local_cmpxchg(&drvdata->mode, CS_MODE_DISABLED, mode); in etm_enable()
|
A D | coresight-etm4x-core.c | 832 val = local_cmpxchg(&drvdata->mode, CS_MODE_DISABLED, mode); in etm4_enable()
|
/linux-6.3-rc2/kernel/events/ |
A D | ring_buffer.c | 220 } while (local_cmpxchg(&rb->head, offset, head) != offset); in __perf_output_begin()
|
/linux-6.3-rc2/kernel/trace/ |
A D | ring_buffer.c | 699 ret = local_cmpxchg(l, expect, set); in rb_time_read_cmpxchg() 1557 (void)local_cmpxchg(&next_page->write, old_write, val); in rb_tail_page_update() 1558 (void)local_cmpxchg(&next_page->entries, old_entries, eval); in rb_tail_page_update() 3065 index = local_cmpxchg(&bpage->write, old_index, new_index); in rb_try_to_discard()
|
Completed in 34 milliseconds