/Linux-v5.4/include/asm-generic/ |
D | barrier.h | 33 #ifndef rmb 34 #define rmb() mb() macro 42 #define dma_rmb() rmb() 58 #define __smp_rmb() rmb()
|
/Linux-v5.4/arch/csky/include/asm/ |
D | io.h | 22 #define readb(c) ({ u8 __v = readb_relaxed(c); rmb(); __v; }) 23 #define readw(c) ({ u16 __v = readw_relaxed(c); rmb(); __v; }) 24 #define readl(c) ({ u32 __v = readl_relaxed(c); rmb(); __v; })
|
/Linux-v5.4/tools/include/asm-generic/ |
D | barrier.h | 31 #ifndef rmb 32 #define rmb() mb() macro
|
/Linux-v5.4/arch/arc/include/asm/ |
D | barrier.h | 27 #define rmb() asm volatile("dmb 1\n" : : : "memory") macro 45 #define rmb() asm volatile (".word %0" : : "i"(CTOP_INST_SCHD_RD) : "memory") macro
|
/Linux-v5.4/arch/x86/um/asm/ |
D | barrier.h | 15 #define rmb() alternative("lock; addl $0,0(%%esp)", "lfence", X86_FEATURE_XMM2) macro 21 #define rmb() asm volatile("lfence" : : : "memory") macro
|
/Linux-v5.4/arch/parisc/include/asm/ |
D | barrier.h | 13 #define rmb() mb() macro 19 #define rmb() barrier() macro
|
/Linux-v5.4/tools/arch/x86/include/asm/ |
D | barrier.h | 21 #define rmb() asm volatile("lock; addl $0,0(%%esp)" ::: "memory") macro 25 #define rmb() asm volatile("lfence" ::: "memory") macro
|
/Linux-v5.4/arch/powerpc/lib/ |
D | locks.c | 33 rmb(); in splpar_spin_yield() 59 rmb(); in splpar_rw_yield()
|
/Linux-v5.4/arch/s390/include/asm/ |
D | barrier.h | 26 #define rmb() barrier() macro 31 #define __smp_rmb() rmb()
|
/Linux-v5.4/arch/x86/include/asm/ |
D | barrier.h | 17 #define rmb() asm volatile(ALTERNATIVE("lock; addl $0,-4(%%esp)", "lfence", \ macro 23 #define rmb() asm volatile("lfence":::"memory") macro
|
/Linux-v5.4/tools/perf/arch/x86/util/ |
D | tsc.c | 24 rmb(); in perf_read_tsc_conversion() 29 rmb(); in perf_read_tsc_conversion()
|
/Linux-v5.4/drivers/video/fbdev/ |
D | bt455.h | 46 rmb(); in bt455_read_cmap_next() 48 rmb(); in bt455_read_cmap_next()
|
/Linux-v5.4/tools/testing/selftests/powerpc/dscr/ |
D | dscr_default_test.c | 30 rmb(); in do_test() 36 rmb(); in do_test()
|
/Linux-v5.4/arch/arm/include/asm/ |
D | barrier.h | 65 #define rmb() dsb() macro 71 #define rmb() barrier() macro
|
/Linux-v5.4/arch/arm/vfp/ |
D | vfp.h | 73 u64 rh, rma, rmb, rl; in mul64to128() local 83 rmb = (u64)nl * mh; in mul64to128() 84 rma += rmb; in mul64to128() 87 rh += ((u64)(rma < rmb) << 32) + (rma >> 32); in mul64to128()
|
/Linux-v5.4/arch/x86/kernel/ |
D | pvclock.c | 124 rmb(); /* fetch version before time */ in pvclock_read_wallclock() 134 rmb(); /* fetch time before checking version */ in pvclock_read_wallclock()
|
/Linux-v5.4/drivers/xen/ |
D | time.c | 66 rmb(); /* Hypervisor might update data. */ in xen_get_runstate_snapshot_cpu_delta() 68 rmb(); /* Hypervisor might update data. */ in xen_get_runstate_snapshot_cpu_delta()
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | smp-tbsync.c | 54 rmb(); in smp_generic_take_timebase() 60 rmb(); in smp_generic_take_timebase()
|
/Linux-v5.4/tools/arch/arm/include/asm/ |
D | barrier.h | 10 #define rmb() ((void(*)(void))0xffff0fa0)() macro
|
/Linux-v5.4/arch/nds32/include/asm/ |
D | barrier.h | 9 #define rmb() asm volatile("msync all":::"memory") macro
|
/Linux-v5.4/arch/sh/include/asm/ |
D | io.h | 50 #define readb(a) ({ u8 r_ = readb_relaxed(a); rmb(); r_; }) 51 #define readw(a) ({ u16 r_ = readw_relaxed(a); rmb(); r_; }) 52 #define readl(a) ({ u32 r_ = readl_relaxed(a); rmb(); r_; }) 53 #define readq(a) ({ u64 r_ = readq_relaxed(a); rmb(); r_; })
|
/Linux-v5.4/tools/arch/mips/include/asm/ |
D | barrier.h | 19 #define rmb() mb() macro
|
/Linux-v5.4/tools/arch/xtensa/include/asm/ |
D | barrier.h | 15 #define rmb() barrier() macro
|
/Linux-v5.4/tools/arch/alpha/include/asm/ |
D | barrier.h | 6 #define rmb() __asm__ __volatile__("mb": : :"memory") macro
|
/Linux-v5.4/tools/arch/sh/include/asm/ |
D | barrier.h | 27 #define rmb() mb() macro
|