/linux-master/tools/testing/selftests/kvm/include/s390x/ |
H A D | processor.h | 27 barrier();
|
/linux-master/arch/loongarch/include/asm/ |
H A D | vdso.h | 14 #include <asm/barrier.h>
|
H A D | barrier.h | 12 * Bit3: barrier for previous read (0: true, 1: false) 13 * Bit2: barrier for previous write (0: true, 1: false) 14 * Bit1: barrier for succeeding read (0: true, 1: false) 15 * Bit0: barrier for succeeding write (0: true, 1: false) 17 * Hint 0x700: barrier for "read after read" from the same address 60 #define __smp_mb__before_atomic() barrier() 61 #define __smp_mb__after_atomic() barrier() 137 #include <asm-generic/barrier.h>
|
/linux-master/arch/powerpc/include/asm/vdso/ |
H A D | processor.h | 33 #define cpu_relax() barrier()
|
/linux-master/arch/arm64/kernel/ |
H A D | idle.c | 9 #include <asm/barrier.h>
|
/linux-master/arch/mips/include/asm/ |
H A D | vdso.h | 13 #include <asm/barrier.h>
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | map_in_map.c | 11 pthread_barrier_t barrier; member in struct:thread_ctx 31 pthread_barrier_wait(&ctx->barrier); 39 pthread_barrier_wait(&ctx->barrier); 47 pthread_barrier_wait(&ctx->barrier); 62 pthread_barrier_wait(&ctx->barrier); 67 pthread_barrier_wait(&ctx->barrier); 106 pthread_barrier_init(&ctx.barrier, NULL, 2);
|
/linux-master/include/asm-generic/ |
H A D | barrier.h | 3 * Generic barrier definitions. 61 #define mb() barrier() 113 #define smp_mb() barrier() 117 #define smp_rmb() barrier() 121 #define smp_wmb() barrier() 182 #define smp_store_mb(var, value) do { WRITE_ONCE(var, value); barrier(); } while (0) 186 #define smp_mb__before_atomic() barrier() 190 #define smp_mb__after_atomic() barrier() 196 barrier(); \ 205 barrier(); \ [all...] |
/linux-master/arch/powerpc/kernel/ |
H A D | smp-tbsync.c | 53 barrier(); 59 barrier(); 70 barrier(); 96 barrier(); 99 barrier(); 104 barrier(); 125 barrier(); 166 barrier();
|
/linux-master/arch/mips/dec/ |
H A D | wbflush.c | 22 #include <asm/barrier.h>
|
/linux-master/arch/arm/mach-sa1100/include/mach/ |
H A D | uncompress.h | 39 barrier();
|
/linux-master/tools/include/linux/ |
H A D | ring_buffer.h | 4 #include <asm/barrier.h> 9 * user space requires the following barrier pairing (quote 31 * D needs to be a full barrier since it separates the data 48 * avoid the CPU barrier entirely.
|
/linux-master/arch/sh/include/asm/ |
H A D | barrier.h | 14 * A brief note on ctrl_barrier(), the control register write barrier. 22 * write barrier, as it's not necessary for control registers. 24 * Historically we have only done this type of barrier for the MMUCR, but 43 #include <asm-generic/barrier.h>
|
H A D | atomic.h | 20 #include <asm/barrier.h>
|
/linux-master/include/linux/ |
H A D | bottom_half.h | 14 barrier();
|
H A D | nospec.h | 10 #include <asm/barrier.h>
|
/linux-master/arch/csky/include/asm/ |
H A D | barrier.h | 13 * bar.brwarws: ordering barrier for all load/store instructions 69 * sync: completion barrier, all sync.xx instructions 85 #include <asm-generic/barrier.h>
|
/linux-master/arch/s390/include/asm/ |
H A D | spinlock.h | 15 #include <asm/barrier.h> 60 barrier(); 99 #define arch_read_relax(rw) barrier() 100 #define arch_write_relax(rw) barrier()
|
/linux-master/arch/arm64/lib/ |
H A D | uaccess_flushcache.c | 7 #include <asm/barrier.h> 15 * barrier to order the cache maintenance against the memcpy.
|
/linux-master/arch/arc/include/asm/ |
H A D | atomic.h | 14 #include <asm/barrier.h>
|
/linux-master/tools/perf/tests/ |
H A D | sigtrap.c | 176 pthread_barrier_t *barrier = (pthread_barrier_t *)arg; local 180 pthread_barrier_wait(barrier); 189 static int run_test_threads(pthread_t *threads, pthread_barrier_t *barrier) argument 193 pthread_barrier_wait(barrier); 200 static int run_stress_test(int fd, pthread_t *threads, pthread_barrier_t *barrier) argument 208 ret = run_test_threads(threads, barrier); 239 pthread_barrier_t barrier; local 248 pthread_barrier_init(&barrier, NULL, NUM_THREADS + 1); 271 if (pthread_create(&threads[i], NULL, test_thread, &barrier)) { 277 ret = run_stress_test(fd, threads, &barrier); [all...] |
/linux-master/tools/testing/selftests/powerpc/dscr/ |
H A D | dscr_default_test.c | 76 pthread_barrier_t *barrier; member in struct:random_thread_args 88 err = pthread_barrier_wait(args->barrier); 125 pthread_barrier_t barrier; local 132 FAIL_IF(pthread_barrier_init(&barrier, NULL, THREADS)); 139 threads[i].barrier = &barrier; 148 FAIL_IF(pthread_barrier_destroy(&barrier));
|
H A D | dscr_explicit_test.c | 92 pthread_barrier_t *barrier; member in struct:random_thread_args 103 err = pthread_barrier_wait(args->barrier); 136 pthread_barrier_t barrier; local 140 FAIL_IF(pthread_barrier_init(&barrier, NULL, THREADS)); 144 threads[i].barrier = &barrier; 153 FAIL_IF(pthread_barrier_destroy(&barrier));
|
/linux-master/arch/parisc/lib/ |
H A D | delay.c | 46 barrier();
|
/linux-master/arch/arm/common/ |
H A D | krait-l2-accessors.c | 7 #include <asm/barrier.h>
|