Home
last modified time | relevance | path

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

/third_party/libbpf/include/linux/
Dcompiler.h18 # define smp_mb() asm volatile("lock; addl $0,-132(%%rsp)" ::: "memory", "cc") macro
37 # define smp_mb() asm volatile("dmb ish" ::: "memory") macro
41 #ifndef smp_mb
42 # define smp_mb() __sync_synchronize() macro
46 # define smp_rmb() smp_mb()
50 # define smp_wmb() smp_mb()
56 smp_mb(); \
65 smp_mb(); \
/third_party/ltp/include/
Dtst_atomic.h172 #define smp_mb() asm volatile("" : : : "memory") macro
174 #define smp_mb() asm volatile("dmb 3\n" : : : "memory") macro
181 smp_mb(); in tst_atomic_add_return()
193 smp_mb(); in tst_atomic_add_return()
202 smp_mb(); in tst_atomic_load()
204 smp_mb(); in tst_atomic_load()
211 smp_mb(); in tst_atomic_store()
213 smp_mb(); in tst_atomic_store()