/tools/virtio/ringtest/ |
D | main.h | 91 #define barrier() asm volatile("" ::: "memory") macro 97 #define cpu_relax() barrier() 110 barrier(); in busy_wait() 128 barrier(); \ 134 barrier(); \ 138 #define smp_wmb() barrier() 158 barrier(); \ in __read_once_size() 160 barrier(); \ in __read_once_size() 172 barrier(); in __write_once_size() 174 barrier(); in __write_once_size()
|
D | ring.c | 132 barrier(); in add_inbuf()
|
/tools/virtio/asm/ |
D | barrier.h | 3 #define barrier() asm volatile("" ::: "memory") macro 5 #define virt_rmb() barrier() 6 #define virt_wmb() barrier() 12 barrier(); \ 19 #error Please fill in barrier macros
|
/tools/build/feature/ |
D | test-pthread-barrier.c | 7 pthread_barrier_t barrier; in main() local 9 pthread_barrier_init(&barrier, NULL, 1); in main() 10 pthread_barrier_wait(&barrier); in main() 11 return pthread_barrier_destroy(&barrier); in main()
|
/tools/testing/selftests/bpf/progs/ |
D | loop5.c | 5 #define barrier() __asm__ __volatile__("": : :"memory") macro 21 barrier(); in while_true() 24 barrier(); in while_true() 27 barrier(); in while_true()
|
D | test_pkt_access.c | 17 #define barrier() __asm__ __volatile__("": : :"memory") macro 54 barrier(); /* to force ordering of checks */ in process()
|
/tools/arch/x86/include/asm/ |
D | barrier.h | 27 #define smp_rmb() barrier() 28 #define smp_wmb() barrier() 35 barrier(); \ 42 barrier(); \
|
/tools/include/linux/ |
D | compiler.h | 15 #define barrier() __asm__ __volatile__("": : :"memory") macro 113 barrier(); in __read_once_size() 115 barrier(); in __read_once_size() 127 barrier(); in __write_once_size() 129 barrier(); in __write_once_size()
|
/tools/arch/ia64/include/asm/ |
D | barrier.h | 48 barrier(); \ 55 barrier(); \
|
/tools/arch/s390/include/asm/ |
D | barrier.h | 33 barrier(); \ 40 barrier(); \
|
/tools/arch/sparc/include/asm/ |
D | barrier_64.h | 45 barrier(); \ 52 barrier(); \
|
/tools/memory-model/litmus-tests/ |
D | LB+fencembonceonce+ctrlonceonce.litmus | 9 * combination of a control dependency and a full memory barrier are enough 10 * to do the trick. (But the full memory barrier could be replaced with
|
D | WRC+pooncerelease+fencermbonceonce+Once.litmus | 8 * a release and a read memory barrier, it should be forbidden. More
|
D | Z6.0+pooncerelease+poacquirerelease+fencembonceonce.litmus | 13 * full barrier for each non-rf link. (Exceptions include some cases
|
/tools/perf/bench/ |
D | futex-wake-parallel.c | 55 static pthread_barrier_t barrier; variable 78 pthread_barrier_wait(&barrier); in waking_workerfn() 100 pthread_barrier_init(&barrier, NULL, nwaking_threads + 1); in wakeup_threads() 114 pthread_barrier_wait(&barrier); in wakeup_threads() 120 pthread_barrier_destroy(&barrier); in wakeup_threads()
|
/tools/arch/xtensa/include/asm/ |
D | barrier.h | 15 #define rmb() barrier()
|
/tools/include/asm-generic/ |
D | barrier.h | 28 #define mb() barrier()
|
/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/ |
D | barriers.h | 5 #define barrier() __asm__ __volatile__("" : : : "memory") macro
|
/tools/perf/arch/x86/tests/ |
D | rdpmc.c | 45 barrier(); in mmap_read_self() 62 barrier(); in mmap_read_self()
|
/tools/testing/selftests/powerpc/mm/ |
D | large_vm_fork_separation.c | 65 barrier(); in test()
|
/tools/memory-model/ |
D | linux-kernel.bell | 27 'barrier (*barrier*) ||
|
D | linux-kernel.def | 27 barrier() { __fence{barrier}; }
|
D | linux-kernel.cat | 47 let barrier = fencerel(Barrier | Rmb | Wmb | Mb | Sync-rcu | Sync-srcu | 164 let mixed-accesses = ([Plain & W] ; (po-loc \ barrier) ; [Marked]) | 165 ([Marked] ; (po-loc \ barrier) ; [Plain & W])
|
/tools/testing/selftests/powerpc/include/ |
D | reg.h | 20 #define barrier() asm volatile("" : : : "memory"); macro
|
/tools/build/ |
D | Makefile.feature | 61 pthread-barrier \
|