Searched refs:barrier (Results 26 - 50 of 52) sorted by relevance

123

/external/valgrind/main/helgrind/
H A Dhelgrind.h275 /* Notify here immediately before barrier creation. _count is the
276 capacity. _resizable == 0 means the barrier may not be resized, 1
284 /* Notify here immediately before arrival at a barrier. */
289 /* Notify here immediately before a resize (change of barrier
291 change in the state of any threads waiting at the barrier. If
293 currently waiting at the barrier, then this notification is
295 waiting threads have now moved past the barrier. (I can't think of
302 /* Notify here immediately before barrier destruction. */
696 The "barrier" argument is a pointer to the barrier objec
[all...]
H A Dhg_main.c2767 static Bar* map_barrier_to_Bar_lookup_or_alloc ( void* barrier ) {
2770 if (VG_(lookupFM)( map_barrier_to_Bar, &key, &val, (UWord)barrier )) {
2771 tl_assert(key == (UWord)barrier);
2775 VG_(addToFM)( map_barrier_to_Bar, (UWord)barrier, (UWord)bar );
2780 static void map_barrier_to_Bar_delete ( void* barrier ) {
2783 if (VG_(delFromFM)( map_barrier_to_Bar, &keyW, &valW, (UWord)barrier )) {
2785 tl_assert(keyW == (UWord)barrier);
2792 void* barrier,
2801 "(tid=%d, barrier=%p, count=%lu, resizable=%lu)\n",
2802 (Int)tid, (void*)barrier, coun
2791 evh__HG_PTHREAD_BARRIER_INIT_PRE( ThreadId tid, void* barrier, UWord count, UWord resizable ) argument
3011 evh__HG_PTHREAD_BARRIER_RESIZE_PRE( ThreadId tid, void* barrier, UWord newcount ) argument
[all...]
/external/kernel-headers/original/asm-arm/
H A Dprocessor.h88 #define cpu_relax() barrier()
H A Dsystem.h191 * contains the memory barrier to tell GCC not to cache `current'.
344 #define smp_mb() barrier()
345 #define smp_rmb() barrier()
346 #define smp_wmb() barrier()
/external/kernel-headers/original/linux/
H A Dhardirq.h87 # define synchronize_irq(irq) barrier()
H A Dpercpu_counter.h58 barrier(); /* Prevent reloads of fbc->count */
H A Drcupdate.h108 struct rcu_head barrier; member in struct:rcu_data
H A Dinterrupt.h299 while (test_bit(TASKLET_STATE_RUN, &(t)->state)) { barrier(); }
/external/valgrind/main/drd/
H A Ddrd_error.h148 Addr barrier; member in struct:__anon13862
H A Ddrd_clientobj.h123 Word count; // Participant count in a barrier wait.
124 Word pre_iteration; // pre barrier completion count modulo two.
125 Word post_iteration; // post barrier completion count modulo two.
126 Word pre_waiters_left; // number of waiters left for a complete barrier.
127 Word post_waiters_left; // number of waiters left for a complete barrier.
128 OSet* oset[2]; // Per-thread barrier information for the latest
129 // two barrier iterations.
152 struct barrier_info barrier; member in union:drd_clientobj
H A Ddrd_error.c383 print_err_detail("%s%s: barrier 0x%lx%s\n", what_prefix,
384 VG_(get_error_string)(e), bei->barrier, what_suffix);
395 first_observed(bei->barrier);
/external/kernel-headers/original/asm-mips/
H A Dprocessor.h231 #define cpu_relax() barrier()
H A Dsystem.h19 #include <asm/barrier.h>
124 raw_local_irq_restore(flags); /* implies memory barrier */
172 raw_local_irq_restore(flags); /* implies memory barrier */
H A Datomic.h18 #include <asm/barrier.h>
H A Dbitops.h19 #include <asm/barrier.h>
43 * clear_bit() doesn't provide any barrier for the compiler.
119 * not contain a memory barrier, so if it is used for locking purposes,
253 * It also implies a memory barrier.
390 * It also implies a memory barrier.
480 * It also implies a memory barrier.
H A Dio.h69 * will need the barrier() to fight side effects of the aliasing chat.
75 barrier();
/external/valgrind/unittest/
H A Dracecheck_unittest.cc1671 Barrier barrier(N_threads);
1678 barrier.Block();
3354 // Iterate N_iter times, block on barrier after each iteration.
3355 // This way Helgrind will create new segments after each barrier.
3427 // Iterate N_iter times, block on barrier after each iteration.
3428 // This way Helgrind will create new segments after each barrier.
3571 Barrier barrier(4);
3575 barrier.Block();
3598 Barrier barrier(4);
3602 barrier
6662 Barrier *barrier; member in namespace:StressTests_ManyAccesses
7213 Barrier *barrier[ITERATIONS]; member in namespace:test506
[all...]
/external/valgrind/main/drd/tests/
H A Dtsan_unittest.cpp1982 Barrier barrier(N_threads);
1989 barrier.Block();
3481 // Iterate N_iter times, block on barrier after each iteration.
3482 // This way Helgrind will create new segments after each barrier.
3565 // Iterate N_iter times, block on barrier after each iteration.
3566 // This way Helgrind will create new segments after each barrier.
3760 Barrier barrier(4);
3764 barrier.Block();
3787 Barrier barrier(4);
3791 barrier
7544 Barrier *barrier[ITERATIONS]; member in namespace:test506
[all...]
/external/qemu/
H A Dcpu-exec.c25 #include "qemu-barrier.h"
267 barrier();
656 barrier();
732 barrier();
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DGrammar.java1095 // create a barrier expecting n DFA and this main creation thread
1096 Barrier barrier = new Barrier(3);
1100 new NFAConversionThread(this, barrier, 1, midpoint);
1106 new NFAConversionThread(this, barrier, midpoint, numDecisions);
1110 barrier.waitForRelease();
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.core.jobs_3.5.1.R36x_v20100824.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/kernel-headers/original/asm-mips/pci/
H A Dbridge.h809 u64 barrier:1; member in struct:ate_u::ate_s
/external/valgrind/tsan/
H A Dthread_sanitizer.cc4892 // threads blocking on a barrier. We should not create any h-b arcs
4893 // for two calls to barrier_wait if the barrier was reset between then.
4897 // How many times we may block on this barrier before resetting.
4903 // - N threads blocked on a barrier.
4904 // - All N threads reached the barrier and we started getting 'wait-after'
4906 // - N threads blocked on the barrier again and we started getting
4907 // 'wait-before' events from the next barrier epoch.
4910 // We don't want to create h-b arcs between barrier events of different
4911 // epochs, so we use 'barrier + (epoch % 4)' as an object on which we
4914 // Maps the barrier pointe
[all...]
/external/blktrace/doc/
H A Dblktrace.tex406 barrier & \emph{barrier} attribute \\ \hline
651 a 'B' (for barrier operations) or 'S' (for synchronous operations).
/external/v8/src/
H A Dplatform-win32.cc119 int barrier = 0; local
120 __asm__ __volatile__("xchgl %%eax,%0 ":"=r" (barrier));

Completed in 441 milliseconds

123