Searched defs:xchg (Results 1 - 25 of 30) sorted by path

12

/arch/alpha/include/asm/
H A Dcmpxchg.h11 #include <asm/xchg.h>
43 #include <asm/xchg.h>
45 #define xchg(ptr, x) \ macro
/arch/arc/include/asm/
H A Dcmpxchg.h71 * xchg (reg with memory) based on "Native atomic" EX insn
95 * On ARC700, EX insn is inherently atomic, so by default "vanilla" xchg() need
99 * Now, llist code uses cmpxchg() and xchg() on same data, so xchg() needs to
104 * xchg doesn't need serialization
106 * xchg needs serialization
111 #define xchg(ptr, with) \ macro
124 #define xchg(ptr, with) _xchg(ptr, with) macro
129 * "atomic" variant of xchg()
131 * Since xchg() does
[all...]
/arch/arm/include/asm/
H A Dcmpxchg.h105 #define xchg(ptr,x) \ macro
/arch/arm64/include/asm/
H A Dcmpxchg.h74 #define xchg(ptr,x) \ macro
/arch/avr32/include/asm/
H A Dcmpxchg.h17 #define xchg(ptr,x) \ macro
26 asm volatile("xchg %[ret], %[m], %[val]"
/arch/blackfin/include/asm/
H A Dcmpxchg.h130 #define xchg(ptr, x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))) macro
131 #define tas(ptr) ((void)xchg((ptr), 1))
/arch/c6x/include/asm/
H A Dcmpxchg.h47 #define xchg(ptr, x) \ macro
50 #define tas(ptr) xchg((ptr), 1)
/arch/cris/include/arch-v10/arch/
H A Dsystem.h41 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) macro
42 #define tas(ptr) (xchg((ptr),1))
/arch/cris/include/asm/
H A Dcmpxchg.h8 /* since Etrax doesn't have any atomic xchg instructions, we need to disable
33 #define xchg(ptr,x) \ macro
36 #define tas(ptr) (xchg((ptr),1))
/arch/frv/include/asm/
H A Dcmpxchg.h0 /* xchg and cmpxchg operation emulation for FR-V
27 #define xchg(ptr, x) \ macro
55 #define xchg(ptr, x) \ macro
72 #define tas(ptr) (xchg((ptr), 1))
/arch/hexagon/include/asm/
H A Dcmpxchg.h2 * xchg/cmpxchg operations for the Hexagon architecture
59 #define xchg(ptr, v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v), (ptr), \ macro
/arch/ia64/include/uapi/asm/
H A Dcmpxchg.h25 * something tries to do an invalid xchg().
55 #define xchg(ptr, x) \ macro
/arch/m32r/include/asm/
H A Dcmpxchg.h67 #define xchg(ptr, x) \ macro
/arch/m68k/include/asm/
H A Dcmpxchg.h78 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) macro
/arch/metag/include/asm/
H A Dcmpxchg.h36 #define xchg(ptr, x) \ macro
/arch/microblaze/include/asm/
H A Dcmpxchg.h36 #define xchg(ptr, x) \ macro
/arch/mips/include/asm/
H A Dcmpxchg.h130 #define xchg(ptr, x) \ macro
/arch/mn10300/include/asm/
H A Dcmpxchg.h1 /* MN10300 Atomic xchg/cmpxchg operations
69 * Emulate xchg for non-SMP MN10300
106 #define xchg(ptr, v) \ macro
/arch/parisc/include/asm/
H A Dcmpxchg.h11 ** Or get a link error if xchg is used "wrong".
38 ** REVISIT - Abandoned use of LDCW in xchg() for now:
46 #define xchg(ptr, x) \ macro
/arch/powerpc/include/asm/
H A Dcmpxchg.h97 * if something tries to do an invalid xchg().
130 #define xchg(ptr,x) \ macro
/arch/s390/include/asm/
H A Dcmpxchg.h77 #define xchg(ptr, x) \ macro
/arch/score/include/asm/
H A Dcmpxchg.h22 #define xchg(ptr, v) \ macro
/arch/sh/include/asm/
H A Dcmpxchg.h42 #define xchg(ptr,x) \ macro
/arch/sparc/include/asm/
H A Dcmpxchg_32.h1 /* 32-bit atomic xchg() and cmpxchg() definitions.
27 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) macro
H A Dcmpxchg_64.h1 /* 64-bit atomic xchg() and cmpxchg() definitions.
43 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) macro

Completed in 785 milliseconds

12