/arch/s390/include/asm/ |
D | cmpxchg.h | 15 #define cmpxchg(ptr, o, n) \ macro 22 #define cmpxchg64 cmpxchg 23 #define cmpxchg_local cmpxchg 24 #define cmpxchg64_local cmpxchg
|
D | percpu.h | 38 prev__ = cmpxchg(ptr__, old__, new__); \ 141 ret__ = cmpxchg(ptr__, oval, nval); \
|
/arch/mips/kernel/ |
D | cmpxchg.c | 44 load32 = cmpxchg(ptr32, old32, new32); in __xchg_small() 100 load32 = cmpxchg(ptr32, old32, new32); in __cmpxchg_small()
|
/arch/alpha/include/asm/ |
D | cmpxchg.h | 56 #define cmpxchg(ptr, o, n) \ macro 71 cmpxchg((ptr), (o), (n)); \
|
D | atomic.h | 202 #define atomic64_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) in ATOMIC_OPS() 205 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) in ATOMIC_OPS()
|
/arch/sparc/include/asm/ |
D | atomic_64.h | 53 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) in ATOMIC_OPS() 61 ((__typeof__((v)->counter))cmpxchg(&((v)->counter), (o), (n)))
|
D | cmpxchg_32.h | 58 #define cmpxchg(ptr, o, n) \ macro
|
/arch/arc/include/asm/ |
D | cmpxchg.h | 92 #define cmpxchg(ptr, o, n) ({ \ macro 104 #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n)))
|
/arch/ia64/include/uapi/asm/ |
D | cmpxchg.h | 130 #define cmpxchg(ptr, o, n) cmpxchg_acq((ptr), (o), (n)) macro 133 #define cmpxchg_local cmpxchg
|
/arch/sh/kernel/cpu/sh2/ |
D | smp-j2.c | 28 while (cmpxchg(pmsg, messages, 0) != messages); in j2_ipi_interrupt_handler() 118 while (cmpxchg(pmsg, old, old|(1U<<message)) != old); in j2_send_ipi()
|
/arch/sh/include/asm/ |
D | atomic.h | 36 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n)))
|
D | cmpxchg.h | 66 #define cmpxchg(ptr,o,n) \ macro
|
/arch/hexagon/include/asm/ |
D | cmpxchg.h | 54 #define cmpxchg(ptr, old, new) \ macro
|
/arch/arm/include/asm/ |
D | sync_bitops.h | 24 #define sync_cmpxchg cmpxchg
|
/arch/powerpc/include/asm/ |
D | cputime.h | 26 #define cmpxchg_cputime(ptr, old, new) cmpxchg(ptr, old, new)
|
/arch/riscv/include/asm/ |
D | cmpxchg.h | 340 #define cmpxchg(ptr, o, n) \ macro 354 cmpxchg((ptr), (o), (n)); \ 366 cmpxchg((ptr), (o), (n)); \
|
/arch/csky/include/asm/ |
D | cmpxchg.h | 67 #define cmpxchg(ptr, o, n) \ macro
|
/arch/mips/include/asm/ |
D | cmpxchg.h | 189 #define cmpxchg(ptr, old, new) \ macro 210 cmpxchg((ptr), (o), (n)); \
|
/arch/parisc/include/asm/ |
D | atomic.h | 77 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) 223 ((__typeof__((v)->counter))cmpxchg(&((v)->counter), (o), (n)))
|
D | cmpxchg.h | 79 #define cmpxchg(ptr, o, n) \ macro
|
/arch/ia64/include/asm/ |
D | atomic.h | 211 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) 215 (cmpxchg(&((v)->counter), old, new))
|
/arch/m68k/include/asm/ |
D | cmpxchg.h | 121 #define cmpxchg(ptr, o, n) \ macro
|
/arch/nds32/include/asm/ |
D | Kbuild | 8 generic-y += cmpxchg.h
|
/arch/nios2/include/asm/ |
D | Kbuild | 7 generic-y += cmpxchg.h
|
/arch/openrisc/include/asm/ |
D | cmpxchg.h | 135 #define cmpxchg(ptr, o, n) \ macro
|