Home
last modified time | relevance | path

Searched full:rmb (Results 1 – 25 of 275) sorted by relevance

1234567891011

/Linux-v5.10/arch/mips/include/asm/
Dbarrier.h19 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/
Dsmc_diag.h66 __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/
Dbarrier.h34 #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/
Dio.h22 #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/
Dbarrier.h29 * 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/
Dlinux-kernel.cat33 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/
Dbarrier.h27 * 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/
Dbarrier.h15 #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/
Dbarrier.h15 #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/
Dbarrier.h31 #ifndef rmb
32 #define rmb() mb() macro
/Linux-v5.10/tools/arch/powerpc/include/asm/
Dbarrier.h19 * rmb() prevents loads being reordered across this point.
27 #define rmb() __asm__ __volatile__ ("sync" : : : "memory") macro
/Linux-v5.10/tools/arch/x86/include/asm/
Dbarrier.h21 #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/
Dbarrier.h26 #define rmb() barrier() macro
31 #define __smp_rmb() rmb()
/Linux-v5.10/drivers/video/fbdev/
Dbt455.h46 rmb(); in bt455_read_cmap_next()
48 rmb(); in bt455_read_cmap_next()
/Linux-v5.10/arch/powerpc/lib/
Dlocks.c34 rmb(); in splpar_spin_yield()
60 rmb(); in splpar_rw_yield()
/Linux-v5.10/drivers/scsi/fnic/
Dcq_desc.h65 * 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/
Dcq_desc.h65 * 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/
Dcq_desc.h67 * 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/
Dio.h49 #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/
Dsmc_clc.h55 #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/
Dbarrier.h17 #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/
Dtsc.c49 rmb(); in perf_read_tsc_conversion()
57 rmb(); in perf_read_tsc_conversion()
/Linux-v5.10/arch/parisc/include/asm/
Dbarrier.h17 #define rmb() mb() macro
23 #define rmb() barrier() macro
/Linux-v5.10/tools/testing/selftests/powerpc/dscr/
Ddscr_default_test.c30 rmb(); in do_test()
36 rmb(); in do_test()
/Linux-v5.10/arch/arm/vfp/
Dvfp.h73 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()

1234567891011