Home
last modified time | relevance | path

Searched refs:kcsan_mb (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/include/linux/atomic/
Datomic-instrumented.h63 kcsan_mb(); in atomic_add_return()
93 kcsan_mb(); in atomic_fetch_add()
130 kcsan_mb(); in atomic_sub_return()
160 kcsan_mb(); in atomic_fetch_sub()
197 kcsan_mb(); in atomic_inc_return()
227 kcsan_mb(); in atomic_fetch_inc()
264 kcsan_mb(); in atomic_dec_return()
294 kcsan_mb(); in atomic_fetch_dec()
331 kcsan_mb(); in atomic_fetch_and()
368 kcsan_mb(); in atomic_fetch_andnot()
[all …]
/linux-5.19.10/include/asm-generic/
Dbarrier.h30 #define mb() do { kcsan_mb(); __mb(); } while (0)
91 #define smp_mb() do { kcsan_mb(); __smp_mb(); } while (0)
152 #define smp_store_mb(var, value) do { kcsan_mb(); __smp_store_mb(var, value); } while (0)
156 #define smp_mb__before_atomic() do { kcsan_mb(); __smp_mb__before_atomic(); } while (0)
160 #define smp_mb__after_atomic() do { kcsan_mb(); __smp_mb__after_atomic(); } while (0)
207 #define virt_mb() do { kcsan_mb(); __smp_mb(); } while (0)
210 #define virt_store_mb(var, value) do { kcsan_mb(); __smp_store_mb(var, value); } while (0)
211 #define virt_mb__before_atomic() do { kcsan_mb(); __smp_mb__before_atomic(); } while (0)
212 #define virt_mb__after_atomic() do { kcsan_mb(); __smp_mb__after_atomic(); } while (0)
/linux-5.19.10/include/asm-generic/bitops/
Dinstrumented-atomic.h70 kcsan_mb(); in test_and_set_bit()
84 kcsan_mb(); in test_and_clear_bit()
98 kcsan_mb(); in test_and_change_bit()
/linux-5.19.10/include/linux/
Dkcsan-checks.h254 #define kcsan_mb() __KCSAN_BARRIER_TO_SIGNAL_FENCE(mb) macro
259 #define kcsan_mb __kcsan_mb macro
264 #define kcsan_mb() do { } while (0) macro
Dspinlock.h174 #define smp_mb__after_spinlock() kcsan_mb()