/Linux-v5.10/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-v5.10/include/uapi/linux/ |
D | smc_diag.h | 66 __u32 rmbe_size; /* size of RMB element */ 67 __u32 peer_rmbe_size; /* size of peer RMB element */ 68 /* local RMB element cursors */ 71 /* peer RMB element cursors */
|
/Linux-v5.10/include/asm-generic/ |
D | barrier.h | 34 #ifndef rmb 35 #define rmb() mb() macro 43 #define dma_rmb() rmb() 55 #define __smp_rmb() rmb() 193 * A control dependency provides a LOAD->STORE order, the additional RMB
|
/Linux-v5.10/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.10/tools/arch/ia64/include/asm/ |
D | barrier.h | 29 * rmb(): Like wmb(), but for reads. 30 * mb(): wmb()/rmb() combo, i.e., all previous memory 46 #define rmb() mb() macro
|
/Linux-v5.10/tools/memory-model/ |
D | linux-kernel.cat | 33 let R4rmb = R \ Noreturn (* Reads for which rmb works *) 34 let rmb = [R4rmb] ; fencerel(Rmb) ; [R4rmb] 46 let fence = nonrw-fence | wmb | rmb 47 let barrier = fencerel(Barrier | Rmb | Wmb | Mb | Sync-rcu | Sync-srcu | 176 ([R4rmb] ; fencerel(Rmb) ; [~Noreturn]))? 178 let r-post-bounded = (nonrw-fence | ([~Noreturn] ; fencerel(Rmb) ; [R4rmb]))? ;
|
/Linux-v5.10/arch/ia64/include/asm/ |
D | barrier.h | 27 * rmb(): Like wmb(), but for reads. 28 * mb(): wmb()/rmb() combo, i.e., all previous memory 40 #define rmb() mb() macro
|
/Linux-v5.10/tools/arch/arm64/include/asm/ |
D | barrier.h | 15 #define rmb() asm volatile("dmb ishld" ::: "memory") macro 19 * implementation as above mb()/wmb()/rmb(), though for the latter kernel uses 20 * dsb. In any case, should above mb()/wmb()/rmb() change, make sure the below
|
/Linux-v5.10/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.10/tools/include/asm-generic/ |
D | barrier.h | 31 #ifndef rmb 32 #define rmb() mb() macro
|
/Linux-v5.10/tools/arch/powerpc/include/asm/ |
D | barrier.h | 19 * rmb() prevents loads being reordered across this point. 27 #define rmb() __asm__ __volatile__ ("sync" : : : "memory") macro
|
/Linux-v5.10/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.10/arch/s390/include/asm/ |
D | barrier.h | 26 #define rmb() barrier() macro 31 #define __smp_rmb() rmb()
|
/Linux-v5.10/drivers/video/fbdev/ |
D | bt455.h | 46 rmb(); in bt455_read_cmap_next() 48 rmb(); in bt455_read_cmap_next()
|
/Linux-v5.10/arch/powerpc/lib/ |
D | locks.c | 34 rmb(); in splpar_spin_yield() 60 rmb(); in splpar_rw_yield()
|
/Linux-v5.10/drivers/scsi/fnic/ |
D | cq_desc.h | 65 * bit (byte) written. Adding the rmb() prevents the compiler in cq_desc_dec() 70 rmb(); in cq_desc_dec()
|
/Linux-v5.10/drivers/scsi/snic/ |
D | cq_desc.h | 65 * bit (byte) written. Adding the rmb() prevents the compiler in cq_desc_dec() 69 rmb(); in cq_desc_dec()
|
/Linux-v5.10/drivers/net/ethernet/cisco/enic/ |
D | cq_desc.h | 67 * bit (byte) written. Adding the rmb() prevents the compiler in cq_desc_dec() 72 rmb(); in cq_desc_dec()
|
/Linux-v5.10/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-v5.10/net/smc/ |
D | smc_clc.h | 55 #define SMC_CLC_DECL_ERR_REGRMB 0x09990003 /* reg rmb failed */ 171 __be32 rmb_rkey; /* RMB rkey */ 172 u8 rmbe_idx; /* Index of RMBE in RMB */ 182 __be64 rmb_dma_addr; /* RMB virtual address */
|
/Linux-v5.10/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.10/tools/perf/util/ |
D | tsc.c | 49 rmb(); in perf_read_tsc_conversion() 57 rmb(); in perf_read_tsc_conversion()
|
/Linux-v5.10/arch/parisc/include/asm/ |
D | barrier.h | 17 #define rmb() mb() macro 23 #define rmb() barrier() macro
|
/Linux-v5.10/tools/testing/selftests/powerpc/dscr/ |
D | dscr_default_test.c | 30 rmb(); in do_test() 36 rmb(); in do_test()
|
/Linux-v5.10/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()
|