Home
last modified time | relevance | path

Searched refs:RISCV_FENCE (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/arch/riscv/include/asm/
Dbarrier.h19 #define RISCV_FENCE(p, s) \ macro
23 #define mb() RISCV_FENCE(iorw,iorw)
24 #define rmb() RISCV_FENCE(ir,ir)
25 #define wmb() RISCV_FENCE(ow,ow)
28 #define __smp_mb() RISCV_FENCE(rw,rw)
29 #define __smp_rmb() RISCV_FENCE(r,r)
30 #define __smp_wmb() RISCV_FENCE(w,w)
35 RISCV_FENCE(rw,w); \
43 RISCV_FENCE(r,rw); \
72 #define smp_mb__after_spinlock() RISCV_FENCE(iorw,iorw)
/Linux-v6.1/tools/testing/selftests/rseq/
Drseq-riscv.h27 #define RISCV_FENCE(p, s) \ macro
29 #define rseq_smp_mb() RISCV_FENCE(rw, rw)
30 #define rseq_smp_rmb() RISCV_FENCE(r, r)
31 #define rseq_smp_wmb() RISCV_FENCE(w, w)
40 RISCV_FENCE(r, rw) \
48 RISCV_FENCE(rw, w); \