/openbmc/linux/include/asm-generic/ |
H A D | barrier.h | 84 #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)
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | barrier.h | 34 #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()
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | barrier.h | 50 #define __smp_mb() o_sync() macro 114 __smp_mb(); \ 118 __smp_mb(); \
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | barrier.h | 82 # define __smp_mb() __sync() macro 86 # define __smp_mb() barrier() macro
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | barrier.h | 77 #define __smp_mb() dmb(ish) macro 78 #define __smp_rmb() __smp_mb()
|
/openbmc/linux/arch/xtensa/include/asm/ |
H A D | barrier.h | 19 #define __smp_mb() __mb() macro
|
/openbmc/linux/arch/csky/include/asm/ |
H A D | barrier.h | 59 #define __smp_mb() __bar_brwarw() macro
|
/openbmc/linux/arch/ia64/include/asm/ |
H A D | barrier.h | 46 # define __smp_mb() mb() macro
|
/openbmc/u-boot/arch/riscv/include/asm/ |
H A D | barrier.h | 27 #define __smp_mb() RISCV_FENCE(rw,rw) macro
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | barrier.h | 34 #define __smp_mb() __mb() macro
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | barrier.h | 57 #define __smp_mb() asm volatile("lock; addl $0,-4(%%" _ASM_SP ")" ::: "memory", "cc") macro
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | barrier.h | 28 #define __smp_mb() RISCV_FENCE(rw,rw) macro
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | barrier.h | 59 #define __smp_mb() __mb() macro
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | barrier.h | 29 #define __smp_mb() mb() macro
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | barrier.h | 123 #define __smp_mb() dmb(ish) macro
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | smp.c | 401 __smp_mb(); in arch_cpu_idle_dead()
|