mb 7 arch/alpha/include/asm/barrier.h #define mb() __asm__ __volatile__("mb": : :"memory") mb 26 arch/arc/include/asm/barrier.h #define mb() asm volatile("dmb 3\n" : : : "memory") mb 38 arch/arc/include/asm/barrier.h #define mb() asm volatile("sync\n" : : : "memory") mb 44 arch/arc/include/asm/barrier.h #define mb() asm volatile (".word %0" : : "i"(CTOP_INST_SCHD_RW) : "memory") mb 64 arch/arm/include/asm/barrier.h #define mb() __arm_heavy_mb() mb 70 arch/arm/include/asm/barrier.h #define mb() barrier() mb 32 arch/arm64/include/asm/barrier.h #define mb() dsb(sy) mb 31 arch/csky/include/asm/barrier.h #define mb() asm volatile ("sync.s\n":::"memory") mb 42 arch/csky/include/asm/barrier.h #define mb() asm volatile ("sync\n":::"memory") mb 39 arch/ia64/include/asm/barrier.h #define mb() ia64_mf() mb 185 arch/mips/include/asm/barrier.h #define mb() wbflush() mb 190 arch/mips/include/asm/barrier.h #define mb() fast_mb() mb 8 arch/nds32/include/asm/barrier.h #define mb() asm volatile("msync all":::"memory") mb 12 arch/parisc/include/asm/barrier.h #define mb() do { synchronize_caches(); } while (0) mb 18 arch/parisc/include/asm/barrier.h #define mb() barrier() mb 36 arch/powerpc/include/asm/barrier.h #define mb() __asm__ __volatile__ ("sync" : : : "memory") mb 21 arch/riscv/include/asm/barrier.h #define mb() RISCV_FENCE(iorw,iorw) mb 24 arch/s390/include/asm/barrier.h #define mb() do { asm volatile(__ASM_BARRIER : : : "memory"); } while (0) mb 28 arch/sh/include/asm/barrier.h #define mb() __asm__ __volatile__ ("synco": : :"memory") mb 37 arch/sparc/include/asm/barrier_64.h #define mb() membar_safe("#StoreLoad") mb 15 arch/x86/include/asm/barrier.h #define mb() asm volatile(ALTERNATIVE("lock; addl $0,-4(%%esp)", "mfence", \ mb 22 arch/x86/include/asm/barrier.h #define mb() asm volatile("mfence":::"memory") mb 14 arch/x86/um/asm/barrier.h #define mb() alternative("lock; addl $0,0(%%esp)", "mfence", X86_FEATURE_XMM2) mb 20 arch/x86/um/asm/barrier.h #define mb() asm volatile("mfence" : : : "memory") mb 14 arch/xtensa/include/asm/barrier.h #define mb() ({ __asm__ __volatile__("memw" : : : "memory"); }) mb 30 include/asm-generic/barrier.h #define mb() barrier() mb 5 tools/arch/alpha/include/asm/barrier.h #define mb() __asm__ __volatile__("mb": : :"memory") mb 8 tools/arch/arm/include/asm/barrier.h #define mb() ((void(*)(void))0xffff0fa0)() mb 13 tools/arch/arm64/include/asm/barrier.h #define mb() asm volatile("dmb ish" ::: "memory") mb 45 tools/arch/ia64/include/asm/barrier.h #define mb() ia64_mf() mb 11 tools/arch/mips/include/asm/barrier.h #define mb() asm volatile( \ mb 26 tools/arch/powerpc/include/asm/barrier.h #define mb() __asm__ __volatile__ ("sync" : : : "memory") mb 26 tools/arch/s390/include/asm/barrier.h #define mb() do { asm volatile(__ASM_BARRIER : : : "memory"); } while (0) mb 26 tools/arch/sh/include/asm/barrier.h #define mb() __asm__ __volatile__ ("synco": : :"memory") mb 39 tools/arch/sparc/include/asm/barrier_64.h #define mb() membar_safe("#StoreLoad") mb 20 tools/arch/x86/include/asm/barrier.h #define mb() asm volatile("lock; addl $0,0(%%esp)" ::: "memory") mb 24 tools/arch/x86/include/asm/barrier.h #define mb() asm volatile("mfence" ::: "memory") mb 14 tools/arch/xtensa/include/asm/barrier.h #define mb() ({ __asm__ __volatile__("memw" : : : "memory"); }) mb 28 tools/include/asm-generic/barrier.h #define mb() barrier() mb 19 tools/testing/selftests/powerpc/include/reg.h #define mb() asm volatile("sync" : : : "memory"); mb 15 tools/virtio/asm/barrier.h # define mb() abort()