Home
last modified time | relevance | path

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

/Linux-v4.19/include/asm-generic/
Dbarrier.h57 #ifndef __smp_mb
58 #define __smp_mb() mb() macro
76 #define smp_mb() __smp_mb()
112 #define __smp_store_mb(var, value) do { WRITE_ONCE(var, value); __smp_mb(); } while (0)
116 #define __smp_mb__before_atomic() __smp_mb()
120 #define __smp_mb__after_atomic() __smp_mb()
127 __smp_mb(); \
137 __smp_mb(); \
200 #define virt_mb() __smp_mb()
/Linux-v4.19/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-v4.19/arch/mips/include/asm/
Dbarrier.h186 # define __smp_mb() __sync() macro
190 # define __smp_mb() __asm__ __volatile__("sync" : : :"memory") macro
195 #define __smp_mb() barrier() macro
/Linux-v4.19/arch/x86/include/asm/
Dbarrier.h59 #define __smp_mb() asm volatile("lock; addl $0,-4(%%esp)" ::: "memory", "cc") macro
61 #define __smp_mb() asm volatile("lock; addl $0,-4(%%rsp)" ::: "memory", "cc") macro
/Linux-v4.19/arch/arm/include/asm/
Dbarrier.h75 #define __smp_mb() dmb(ish) macro
76 #define __smp_rmb() __smp_mb()
/Linux-v4.19/arch/parisc/include/asm/
Dbarrier.h25 #define __smp_mb() mb() macro
/Linux-v4.19/arch/ia64/include/asm/
Dbarrier.h46 # define __smp_mb() mb() macro
/Linux-v4.19/arch/s390/include/asm/
Dbarrier.h30 #define __smp_mb() mb() macro
/Linux-v4.19/arch/riscv/include/asm/
Dbarrier.h37 #define __smp_mb() RISCV_FENCE(rw,rw) macro
/Linux-v4.19/arch/powerpc/include/asm/
Dbarrier.h53 #define __smp_mb() mb() macro
/Linux-v4.19/arch/arm64/include/asm/
Dbarrier.h65 #define __smp_mb() dmb(ish) macro