Home
last modified time | relevance | path

Searched refs:__arch_xchg (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-6.6/arch/alpha/include/asm/
H A Dcmpxchg.h9 #define ____xchg(type, args...) __arch_xchg ## type ## _local(args)
37 #define ____xchg(type, args...) __arch_xchg ##type(args)
51 __arch_xchg((ptr), (unsigned long)_x_, sizeof(*(ptr))); \
/kernel/linux/linux-6.6/arch/hexagon/include/asm/
H A Dcmpxchg.h12 * __arch_xchg - atomically exchange a register and a memory location
23 __arch_xchg(unsigned long x, volatile void *ptr, int size) in __arch_xchg() function
45 #define arch_xchg(ptr, v) ((__typeof__(*(ptr)))__arch_xchg((unsigned long)(v), (ptr), \
/kernel/linux/linux-6.6/arch/m68k/include/asm/
H A Dcmpxchg.h12 static inline unsigned long __arch_xchg(unsigned long x, volatile void * ptr, int size) in __arch_xchg() function
43 static inline unsigned long __arch_xchg(unsigned long x, volatile void * ptr, int size) in __arch_xchg() function
78 #define arch_xchg(ptr,x) ({(__typeof__(*(ptr)))__arch_xchg((unsigned long)(x),(ptr),sizeof(*(ptr)));})
/kernel/linux/linux-6.6/arch/sh/include/asm/
H A Dcmpxchg.h25 #define __arch_xchg(ptr, x, size) \ macro
49 ((__typeof__(*(ptr)))__arch_xchg((ptr),(unsigned long)(x), sizeof(*(ptr))))
/kernel/linux/linux-6.6/arch/sparc/include/asm/
H A Dcmpxchg_32.h18 static __always_inline unsigned long __arch_xchg(unsigned long x, __volatile__ void * ptr, int size) in __arch_xchg() function
28 #define arch_xchg(ptr,x) ({(__typeof__(*(ptr)))__arch_xchg((unsigned long)(x),(ptr),sizeof(*(ptr)));})
H A Dcmpxchg_64.h58 __arch_xchg((unsigned long)(x), (ptr), sizeof(*(ptr))); \
91 __arch_xchg(unsigned long x, __volatile__ void * ptr, int size) in __arch_xchg() function
/kernel/linux/linux-6.6/arch/arc/include/asm/
H A Dcmpxchg.h88 #define __arch_xchg(ptr, val) \ macro
105 _val_ = __arch_xchg(_p_, _val_); \
/kernel/linux/linux-6.6/arch/ia64/include/uapi/asm/
H A Dcmpxchg.h26 #define __arch_xchg(x, ptr, size) \ macro
54 ({(__typeof__(*(ptr))) __arch_xchg((unsigned long) (x), (ptr), sizeof(*(ptr)));})
/kernel/linux/linux-6.6/arch/arm/include/asm/
H A Dcmpxchg.h29 __arch_xchg(unsigned long x, volatile void *ptr, int size) in __arch_xchg() function
119 (__typeof__(*(ptr)))__arch_xchg((unsigned long)(x), (ptr), \
/kernel/linux/linux-6.6/arch/openrisc/include/asm/
H A Dcmpxchg.h151 __arch_xchg(volatile void *ptr, unsigned long with, int size) in __arch_xchg() function
166 (__typeof__(*(ptr))) __arch_xchg((ptr), \
/kernel/linux/linux-6.6/arch/parisc/include/asm/
H A Dcmpxchg.h25 __arch_xchg(unsigned long x, volatile void *ptr, int size) in __arch_xchg() function
52 __arch_xchg((unsigned long)_x_, (ptr), sizeof(*(ptr))); \
/kernel/linux/linux-6.6/arch/s390/include/asm/
H A Dcmpxchg.h18 __arch_xchg(unsigned long x, unsigned long address, int size) in __arch_xchg() function
80 __arch_xchg((unsigned long)(x), (unsigned long)(ptr), \
/kernel/linux/linux-6.6/arch/xtensa/include/asm/
H A Dcmpxchg.h173 ((__typeof__(*(ptr)))__arch_xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
206 __arch_xchg(unsigned long x, volatile void * ptr, int size) in __arch_xchg() function
/kernel/linux/linux-6.6/arch/mips/include/asm/
H A Dcmpxchg.h71 unsigned long __arch_xchg(volatile void *ptr, unsigned long x, int size) in __arch_xchg() function
105 __arch_xchg((ptr), (unsigned long)(x), sizeof(*(ptr))); \
/kernel/linux/linux-6.6/arch/loongarch/include/asm/
H A Dcmpxchg.h65 __arch_xchg(volatile void *ptr, unsigned long x, int size) in __arch_xchg() function
90 __arch_xchg((ptr), (unsigned long)(x), sizeof(*(ptr))); \
/kernel/linux/linux-6.6/arch/ia64/include/asm/
H A Dcmpxchg.h8 ({(__typeof__(*(ptr))) __arch_xchg((unsigned long) (x), (ptr), sizeof(*(ptr)));})
/kernel/linux/linux-6.6/arch/riscv/include/asm/
H A Dcmpxchg.h117 #define __arch_xchg(ptr, new, size) \ macro
146 (__typeof__(*(ptr))) __arch_xchg((ptr), _x_, sizeof(*(ptr))); \
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dcmpxchg.h66 __arch_xchg##sfx(unsigned long x, volatile void *ptr, int size) \
95 __arch_xchg##sfx((unsigned long)(x), (ptr), sizeof(*(ptr))); \
/kernel/linux/common_modules/tzdriver/core/
H A Dtz_spi_notify.c451 missed = (uint32_t)__arch_xchg(0, &g_notify_data->meta.context.meta.missed, MISSED_COUNT); in spi_broadcast_notifications()

Completed in 7 milliseconds