Home
last modified time | relevance | path

Searched refs:__smp_mb (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/include/asm-generic/
Dbarrier.h84 #ifndef __smp_mb
85 #define __smp_mb() mb() macro
99 #define smp_mb() do { kcsan_mb(); __smp_mb(); } while (0)
127 #define __smp_store_mb(var, value) do { WRITE_ONCE(var, value); __smp_mb(); } while (0)
131 #define __smp_mb__before_atomic() __smp_mb()
135 #define __smp_mb__after_atomic() __smp_mb()
142 __smp_mb(); \
152 __smp_mb(); \
215 #define virt_mb() do { kcsan_mb(); __smp_mb(); } while (0)
/linux-6.6.21/arch/sh/include/asm/
Dbarrier.h34 #define __smp_mb() do { int tmp = 0; __asm__ __volatile__ ("cas.l %0,%0,@%1" : "+r"(tmp) : "z"(&tmp… macro
35 #define __smp_rmb() __smp_mb()
36 #define __smp_wmb() __smp_mb()
/linux-6.6.21/arch/loongarch/include/asm/
Dbarrier.h50 #define __smp_mb() o_sync() macro
114 __smp_mb(); \
118 __smp_mb(); \
/linux-6.6.21/arch/mips/include/asm/
Dbarrier.h82 # define __smp_mb() __sync() macro
86 # define __smp_mb() barrier() macro
/linux-6.6.21/arch/arm/include/asm/
Dbarrier.h77 #define __smp_mb() dmb(ish) macro
78 #define __smp_rmb() __smp_mb()
/linux-6.6.21/arch/xtensa/include/asm/
Dbarrier.h19 #define __smp_mb() __mb() macro
/linux-6.6.21/arch/ia64/include/asm/
Dbarrier.h46 # define __smp_mb() mb() macro
/linux-6.6.21/arch/csky/include/asm/
Dbarrier.h59 #define __smp_mb() __bar_brwarw() macro
/linux-6.6.21/arch/x86/include/asm/
Dbarrier.h57 #define __smp_mb() asm volatile("lock; addl $0,-4(%%" _ASM_SP ")" ::: "memory", "cc") macro
/linux-6.6.21/arch/s390/include/asm/
Dbarrier.h34 #define __smp_mb() __mb() macro
/linux-6.6.21/arch/riscv/include/asm/
Dbarrier.h28 #define __smp_mb() RISCV_FENCE(rw,rw) macro
/linux-6.6.21/arch/powerpc/include/asm/
Dbarrier.h59 #define __smp_mb() __mb() macro
/linux-6.6.21/arch/parisc/include/asm/
Dbarrier.h29 #define __smp_mb() mb() macro
/linux-6.6.21/arch/arm64/include/asm/
Dbarrier.h119 #define __smp_mb() dmb(ish) macro
/linux-6.6.21/arch/loongarch/kernel/
Dsmp.c399 __smp_mb(); in arch_cpu_idle_dead()