/linux-6.6.21/arch/mips/include/asm/ |
D | barrier.h | 19 static inline void rmb(void) in rmb() function 21 asm volatile(__SYNC(rmb, always) ::: "memory"); in rmb() 23 #define rmb rmb macro 83 # define __smp_rmb() rmb()
|
/linux-6.6.21/include/asm-generic/ |
D | barrier.h | 34 #define rmb() do { kcsan_rmb(); __rmb(); } while (0) macro 64 #ifndef rmb 65 #define rmb() mb() macro 77 #define dma_rmb() rmb() 89 #define __smp_rmb() rmb()
|
/linux-6.6.21/arch/csky/include/asm/ |
D | io.h | 20 #define readb(c) ({ u8 __v = readb_relaxed(c); rmb(); __v; }) 21 #define readw(c) ({ u16 __v = readw_relaxed(c); rmb(); __v; }) 22 #define readl(c) ({ u32 __v = readl_relaxed(c); rmb(); __v; })
|
/linux-6.6.21/tools/include/asm-generic/ |
D | barrier.h | 31 #ifndef rmb 32 #define rmb() mb() macro
|
/linux-6.6.21/arch/x86/um/asm/ |
D | barrier.h | 16 #define rmb() alternative("lock; addl $0,0(%%esp)", "lfence", X86_FEATURE_XMM2) macro 22 #define rmb() asm volatile("lfence" : : : "memory") macro
|
/linux-6.6.21/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
|
D | pvclock.h | 22 rmb(); in pvclock_read_begin() 31 rmb(); in pvclock_read_retry()
|
/linux-6.6.21/arch/powerpc/lib/ |
D | locks.c | 34 rmb(); in splpar_spin_yield() 60 rmb(); in splpar_rw_yield()
|
/linux-6.6.21/drivers/video/fbdev/ |
D | bt455.h | 46 rmb(); in bt455_read_cmap_next() 48 rmb(); in bt455_read_cmap_next()
|
/linux-6.6.21/arch/parisc/include/asm/ |
D | barrier.h | 17 #define rmb() mb() macro 23 #define rmb() barrier() macro
|
/linux-6.6.21/arch/arm/include/asm/ |
D | barrier.h | 65 #define rmb() dsb() macro 71 #define rmb() barrier() macro
|
/linux-6.6.21/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-6.6.21/arch/x86/kernel/ |
D | pvclock.c | 134 rmb(); /* fetch version before time */ in pvclock_read_wallclock() 144 rmb(); /* fetch time before checking version */ in pvclock_read_wallclock()
|
/linux-6.6.21/arch/sh/include/asm/ |
D | io.h | 49 #define readb(a) ({ u8 r_ = readb_relaxed(a); rmb(); r_; }) 50 #define readw(a) ({ u16 r_ = readw_relaxed(a); rmb(); r_; }) 51 #define readl(a) ({ u32 r_ = readl_relaxed(a); rmb(); r_; }) 52 #define readq(a) ({ u64 r_ = readq_relaxed(a); rmb(); r_; })
|
/linux-6.6.21/drivers/xen/ |
D | time.c | 67 rmb(); /* Hypervisor might update data. */ in xen_get_runstate_snapshot_cpu_delta() 69 rmb(); /* Hypervisor might update data. */ in xen_get_runstate_snapshot_cpu_delta()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | smp-tbsync.c | 54 rmb(); in smp_generic_take_timebase() 60 rmb(); in smp_generic_take_timebase()
|
/linux-6.6.21/tools/arch/arm/include/asm/ |
D | barrier.h | 10 #define rmb() ((void(*)(void))0xffff0fa0)() macro
|
/linux-6.6.21/tools/arch/mips/include/asm/ |
D | barrier.h | 19 #define rmb() mb() macro
|
/linux-6.6.21/arch/arc/include/asm/ |
D | barrier.h | 27 #define rmb() asm volatile("dmb 1\n" : : : "memory") macro
|
/linux-6.6.21/tools/arch/xtensa/include/asm/ |
D | barrier.h | 15 #define rmb() barrier() macro
|
/linux-6.6.21/tools/arch/sh/include/asm/ |
D | barrier.h | 27 #define rmb() mb() macro
|
/linux-6.6.21/tools/arch/alpha/include/asm/ |
D | barrier.h | 6 #define rmb() __asm__ __volatile__("mb": : :"memory") macro
|
/linux-6.6.21/tools/perf/util/ |
D | tsc.c | 51 rmb(); in perf_read_tsc_conversion() 59 rmb(); in perf_read_tsc_conversion()
|
/linux-6.6.21/arch/x86/kernel/cpu/resctrl/ |
D | pseudo_lock.c | 509 rmb(); in pseudo_lock_fn() 520 rmb(); in pseudo_lock_fn() 1022 rmb(); in measure_residency_fn() 1029 rmb(); in measure_residency_fn() 1035 rmb(); in measure_residency_fn() 1045 rmb(); in measure_residency_fn() 1052 rmb(); in measure_residency_fn()
|
/linux-6.6.21/arch/alpha/include/asm/ |
D | barrier.h | 6 #define rmb() __asm__ __volatile__("mb": : :"memory") macro
|