Searched refs:barrier (Results 51 - 75 of 545) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/kvm/include/s390x/
H A Dprocessor.h27 barrier();
/linux-master/arch/loongarch/include/asm/
H A Dvdso.h14 #include <asm/barrier.h>
H A Dbarrier.h12 * 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 Dprocessor.h33 #define cpu_relax() barrier()
/linux-master/arch/arm64/kernel/
H A Didle.c9 #include <asm/barrier.h>
/linux-master/arch/mips/include/asm/
H A Dvdso.h13 #include <asm/barrier.h>
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dmap_in_map.c11 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 Dbarrier.h3 * 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 Dsmp-tbsync.c53 barrier();
59 barrier();
70 barrier();
96 barrier();
99 barrier();
104 barrier();
125 barrier();
166 barrier();
/linux-master/arch/mips/dec/
H A Dwbflush.c22 #include <asm/barrier.h>
/linux-master/arch/arm/mach-sa1100/include/mach/
H A Duncompress.h39 barrier();
/linux-master/tools/include/linux/
H A Dring_buffer.h4 #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 Dbarrier.h14 * 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 Datomic.h20 #include <asm/barrier.h>
/linux-master/include/linux/
H A Dbottom_half.h14 barrier();
H A Dnospec.h10 #include <asm/barrier.h>
/linux-master/arch/csky/include/asm/
H A Dbarrier.h13 * 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 Dspinlock.h15 #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 Duaccess_flushcache.c7 #include <asm/barrier.h>
15 * barrier to order the cache maintenance against the memcpy.
/linux-master/arch/arc/include/asm/
H A Datomic.h14 #include <asm/barrier.h>
/linux-master/tools/perf/tests/
H A Dsigtrap.c176 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 Ddscr_default_test.c76 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 Ddscr_explicit_test.c92 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 Ddelay.c46 barrier();
/linux-master/arch/arm/common/
H A Dkrait-l2-accessors.c7 #include <asm/barrier.h>

Completed in 503 milliseconds

1234567891011>>