Searched refs:barrier (Results 1 - 25 of 37) sorted by relevance

12

/freebsd-10-stable/contrib/gcclibs/libgomp/config/linux/
H A Dbar.c28 /* This is a Linux specific implementation of a barrier synchronization
61 gomp_barrier_wait (gomp_barrier_t *barrier) argument
63 gomp_barrier_wait_end (barrier, gomp_barrier_wait_start (barrier));
/freebsd-10-stable/lib/libkse/thread/
H A Dthr_barrier.c41 _pthread_barrier_destroy(pthread_barrier_t *barrier) argument
46 if (barrier == NULL || *barrier == NULL)
49 bar = *barrier;
52 *barrier = NULL;
60 _pthread_barrier_init(pthread_barrier_t *barrier, argument
66 if (barrier == NULL || count <= 0)
87 *barrier = bar;
93 _pthread_barrier_wait(pthread_barrier_t *barrier) argument
98 if (barrier
[all...]
/freebsd-10-stable/contrib/gcclibs/libgomp/
H A Dbarrier.c43 gomp_barrier_wait (&team->barrier);
H A Dsingle.c66 gomp_barrier_wait (&thr->ts.team->barrier);
87 gomp_barrier_wait (&team->barrier);
H A Dteam.c44 /* This barrier holds and releases threads waiting in gomp_threads. */
95 gomp_barrier_wait (&thr->ts.team->barrier);
97 gomp_barrier_wait (&thr->ts.team->barrier);
121 gomp_barrier_wait (&team->barrier);
153 gomp_barrier_init (&team->barrier, nthreads);
169 gomp_barrier_destroy (&team->barrier);
229 /* Increase the barrier threshold to make sure all new
310 gomp_barrier_wait (nested ? &team->barrier : &gomp_threads_dock);
312 /* Decrease the barrier threshold to match the number of threads
330 gomp_barrier_wait (&team->barrier);
[all...]
H A Dwork.c143 This version does imply a barrier at the end of the work-share. */
162 last = gomp_barrier_wait_start (&team->barrier);
176 gomp_barrier_wait_end (&team->barrier, last);
181 This version does NOT imply a barrier at the end of the work-share. */
H A Dlibgomp.h98 to other work; otherwise they're blocked on a barrier. The last member
191 /* This barrier is used for most synchronization of the team. */
192 gomp_barrier_t barrier; member in struct:gomp_team
H A DMakefile.am32 libgomp_la_SOURCES = alloc.c barrier.c critical.c env.c error.c iter.c \
/freebsd-10-stable/contrib/netbsd-tests/lib/libpthread/
H A Dt_barrier.c44 pthread_barrier_t barrier; variable
55 printf("thread %d entering barrier\n", which);
56 rv = pthread_barrier_wait(&barrier);
57 printf("thread %d leaving barrier -> %d\n", which, rv);
68 ATF_TC(barrier); variable
69 ATF_TC_HEAD(barrier, tc)
73 ATF_TC_BODY(barrier, tc)
80 PTHREAD_REQUIRE(pthread_barrier_init(&barrier, NULL, COUNT));
107 ATF_TP_ADD_TC(tp, barrier);
/freebsd-10-stable/lib/libthr/thread/
H A Dthr_barrier.c42 _pthread_barrier_destroy(pthread_barrier_t *barrier) argument
47 if (barrier == NULL || *barrier == NULL)
51 bar = *barrier;
73 *barrier = NULL;
79 _pthread_barrier_init(pthread_barrier_t *barrier, argument
86 if (barrier == NULL || count == 0 || count > INT_MAX)
96 *barrier = bar;
102 _pthread_barrier_wait(pthread_barrier_t *barrier) argument
109 if (barrier
[all...]
/freebsd-10-stable/sys/ofed/include/linux/
H A Dcompiler.h72 #define barrier() __asm__ __volatile__("": : :"memory") macro
77 barrier(); \
79 barrier(); \
84 barrier(); \
87 barrier(); \
/freebsd-10-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dbarrier.h33 * APIs for the barrier synchronization primitive.
47 typedef struct barrier { struct
/freebsd-10-stable/contrib/gcclibs/libgomp/config/posix/
H A Dbar.c28 /* This is the default implementation of a barrier synchronization mechanism
30 being able to adjust the barrier count while threads are blocked, so the
52 /* Before destroying, make sure all threads have left the barrier. */
108 gomp_barrier_wait (gomp_barrier_t *barrier) argument
110 gomp_barrier_wait_end (barrier, gomp_barrier_wait_start (barrier));
/freebsd-10-stable/sys/i386/include/xen/
H A Dxen-os.h89 barrier(); \
95 barrier(); \
98 barrier(); /* unmask then check (avoid races) */ \
106 barrier(); \
109 barrier(); /* unmask then check (avoid races) */ \
125 barrier(); \
147 /* This is a barrier for the compiler only, NOT the processor! */
148 #define barrier() __asm__ __volatile__("": : :"memory") macro
196 * It also implies a memory barrier.
255 * not contain a memory barrier, s
[all...]
/freebsd-10-stable/sys/amd64/include/xen/
H A Dxen-os.h47 /* This is a barrier for the compiler only, NOT the processor! */
48 #define barrier() __asm__ __volatile__("": : :"memory") macro
60 * It also implies a memory barrier.
118 * not contain a memory barrier, so if it is used for locking purposes,
/freebsd-10-stable/sys/sparc64/include/
H A Dbus_private.h44 struct bus_space_tag *ptag, int type, void *barrier);
/freebsd-10-stable/sys/tools/
H A Dbus_macro.sh50 macro barrier o l f
/freebsd-10-stable/cddl/usr.bin/ctfmerge/
H A DMakefile8 barrier.c \
/freebsd-10-stable/sys/xen/
H A Dblkif.h123 barrier();
138 barrier();
/freebsd-10-stable/gnu/lib/libgomp/
H A DMakefile12 SRCS= alloc.c barrier.c critical.c env.c \
/freebsd-10-stable/sys/arm/arm/
H A Dcpufunc_asm_xscale_c3.S266 mcr p15, 0, r0, c7, c10, 5 /* Data memory barrier */
280 mcr p15, 0, r0, c7, c10, 4 @ data write barrier
283 mcr p15, 0, r0, c7, c10, 5 /* Data memory barrier */
288 mcr p15, 0, r0, c7, c10, 5 /* Data memory barrier */
302 mcr p15, 0, r0, c7, c10, 4 @ data write barrier
310 mcr p15, 0, r0, c7, c10, 5 /* Data memory barrier */
322 mcr p15, 0, r0, c7, c10, 4 @ data write barrier
329 mcr p15, 0, r0, c7, c10, 5 /* Data memory barrier */
339 mcr p15, 0, r0, c7, c10, 4 @ data write barrier
/freebsd-10-stable/contrib/gcc/
H A Dbb-reorder.c1280 rtx barrier;
1311 barrier = emit_barrier_after (new_jump);
1314 src->il.rtl->footer = unlink_insn_chain (barrier, barrier);
1347 rtx barrier;
1449 /* Add barrier after new jump */
1453 barrier = emit_barrier_after (BB_END (new_bb));
1454 new_bb->il.rtl->footer = unlink_insn_chain (barrier,
1455 barrier);
1459 barrier
1279 rtx barrier; local
1346 rtx barrier; local
1536 rtx barrier; local
[all...]
H A Dcfgcleanup.c629 rtx barrier;
645 barrier = next_nonnote_insn (BB_END (a));
646 gcc_assert (BARRIER_P (barrier));
647 delete_insn (barrier);
684 rtx barrier, real_b_end;
711 /* There had better have been a barrier there. Delete it. */
712 barrier = NEXT_INSN (BB_END (b));
713 if (barrier && BARRIER_P (barrier))
714 delete_insn (barrier);
624 rtx barrier; local
679 rtx barrier, real_b_end; local
[all...]
H A Dcfgrtl.c804 rtx barrier, label, table;
822 barrier = next_nonnote_insn (BB_END (src));
823 if (!barrier || !BARRIER_P (barrier))
827 if (barrier != NEXT_INSN (BB_END (src)))
829 /* Move the jump before barrier so that the notes
835 for (tmp = NEXT_INSN (BB_END (src)); tmp != barrier;
842 NEXT_INSN (new_insn) = barrier;
843 NEXT_INSN (PREV_INSN (barrier)) = new_insn;
845 PREV_INSN (new_insn) = PREV_INSN (barrier);
797 rtx barrier, label, table; local
[all...]
/freebsd-10-stable/sys/dev/xen/timer/
H A Dtimer.c251 barrier();
253 barrier();

Completed in 492 milliseconds

12