Home
last modified time | relevance | path

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

/openbmc/linux/arch/alpha/include/asm/
H A Dlocal.h55 static __inline__ long local_cmpxchg(local_t *l, long old, long new) in local_cmpxchg() function
83 old = local_cmpxchg((l), c, c + (a)); \
/openbmc/linux/arch/loongarch/include/asm/
H A Dlocal.h59 static inline long local_cmpxchg(local_t *l, long old, long new) in local_cmpxchg() function
85 while (c != (u) && (old = local_cmpxchg((l), c, c + (a))) != c) \
/openbmc/linux/arch/x86/include/asm/
H A Dlocal.h123 static inline long local_cmpxchg(local_t *l, long old, long new) in local_cmpxchg() function
153 old = local_cmpxchg((l), c, c + (a)); \
/openbmc/linux/arch/powerpc/include/asm/
H A Dlocal.h79 static __inline__ long local_cmpxchg(local_t *l, long o, long n) in local_cmpxchg() function
97 r = local_cmpxchg(l, o, n); in local_try_cmpxchg()
/openbmc/linux/arch/mips/include/asm/
H A Dlocal.h97 static __inline__ long local_cmpxchg(local_t *l, long old, long new) in local_cmpxchg() function
123 while (c != (u) && (old = local_cmpxchg((l), c, c + (a))) != c) \
/openbmc/linux/include/asm-generic/
H A Dlocal.h44 #define local_cmpxchg(l, o, n) atomic_long_cmpxchg((&(l)->a), (o), (n)) macro
H A Dlocal64.h47 return local_cmpxchg(&l->a, old, new); in local64_cmpxchg()
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-etb10.c607 if (local_cmpxchg(&drvdata->reading, 0, 1)) in etb_open()
H A Dcoresight-stm.c204 val = local_cmpxchg(&drvdata->mode, CS_MODE_DISABLED, mode); in stm_enable()
H A Dcoresight-etm3x-core.c562 val = local_cmpxchg(&drvdata->mode, CS_MODE_DISABLED, mode); in etm_enable()
H A Dcoresight-etm4x-core.c841 val = local_cmpxchg(&drvdata->mode, CS_MODE_DISABLED, mode); in etm4_enable()
/openbmc/linux/kernel/trace/
H A Dring_buffer.c1565 (void)local_cmpxchg(&next_page->write, old_write, val); in rb_tail_page_update()
1566 (void)local_cmpxchg(&next_page->entries, old_entries, eval); in rb_tail_page_update()