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

12

/freebsd-9.3-release/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-9.3-release/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-9.3-release/lib/libthr/thread/
H A Dthr_barrier.c42 _pthread_barrier_destroy(pthread_barrier_t *barrier) argument
46 if (barrier == NULL || *barrier == NULL)
49 bar = *barrier;
52 *barrier = NULL;
58 _pthread_barrier_init(pthread_barrier_t *barrier, argument
65 if (barrier == NULL || count <= 0)
77 *barrier = bar;
83 _pthread_barrier_wait(pthread_barrier_t *barrier) argument
90 if (barrier
[all...]
/freebsd-9.3-release/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);
228 /* Increase the barrier threshold to make sure all new
293 gomp_barrier_wait (nested ? &team->barrier : &gomp_threads_dock);
295 /* Decrease the barrier threshold to match the number of threads
313 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.am34 libgomp_la_SOURCES = alloc.c barrier.c critical.c env.c error.c iter.c \
/freebsd-9.3-release/sys/amd64/include/xen/
H A Dxen-os.h70 barrier(); \
76 barrier(); \
79 barrier(); /* unmask then check (avoid races) */ \
87 barrier(); \
90 barrier(); /* unmask then check (avoid races) */ \
106 barrier(); \
136 #define wmb() barrier()
145 #define smp_mb() barrier()
146 #define smp_rmb() barrier()
147 #define smp_wmb() barrier()
154 #define barrier macro
[all...]
/freebsd-9.3-release/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dbarrier.h33 * APIs for the barrier synchronization primitive.
47 typedef struct barrier { struct
/freebsd-9.3-release/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-9.3-release/sys/i386/include/xen/
H A Dxen-os.h113 barrier(); \
119 barrier(); \
122 barrier(); /* unmask then check (avoid races) */ \
130 barrier(); \
133 barrier(); /* unmask then check (avoid races) */ \
149 barrier(); \
178 #define smp_mb() barrier()
179 #define smp_rmb() barrier()
180 #define smp_wmb() barrier()
182 #define set_mb(var, value) do { var = value; barrier(); } whil
187 #define barrier macro
[all...]
/freebsd-9.3-release/sys/sparc64/include/
H A Dbus_private.h44 struct bus_space_tag *ptag, int type, void *barrier);
/freebsd-9.3-release/sys/tools/
H A Dbus_macro.sh50 macro barrier o l f
/freebsd-9.3-release/cddl/usr.bin/ctfmerge/
H A DMakefile8 barrier.c \
/freebsd-9.3-release/sys/xen/
H A Dblkif.h123 barrier();
138 barrier();
/freebsd-9.3-release/gnu/lib/libgomp/
H A DMakefile12 SRCS= alloc.c barrier.c critical.c env.c \
/freebsd-9.3-release/sys/arm/arm/
H A Dcpufunc_asm_xscale_c3.S255 mcr p15, 0, r0, c7, c10, 5 /* Data memory barrier */
269 mcr p15, 0, r0, c7, c10, 4 @ data write barrier
272 mcr p15, 0, r0, c7, c10, 5 /* Data memory barrier */
276 mcr p15, 0, r0, c7, c10, 5 /* Data memory barrier */
290 mcr p15, 0, r0, c7, c10, 4 @ data write barrier
297 mcr p15, 0, r0, c7, c10, 5 /* Data memory barrier */
309 mcr p15, 0, r0, c7, c10, 4 @ data write barrier
315 mcr p15, 0, r0, c7, c10, 5 /* Data memory barrier */
325 mcr p15, 0, r0, c7, c10, 4 @ data write barrier
/freebsd-9.3-release/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-9.3-release/sys/i386/xen/
H A Dclock.c372 barrier();
376 barrier();
/freebsd-9.3-release/sys/sparc64/sparc64/
H A Dbus_machdep.c729 void *barrier)
739 bt->bst_bus_barrier = barrier;
728 sparc64_alloc_bus_tag(void *cookie, struct bus_space_tag *ptag, int type, void *barrier) argument
/freebsd-9.3-release/contrib/gcc/config/s390/
H A Ds390.c5955 rtx label, jump, barrier;
5957 /* We can insert the barrier only after a 'real' insn. */
5970 barrier = emit_barrier_after (jump);
5971 insn = emit_label_after (label, barrier);
5976 INSN_ADDRESSES_NEW (barrier, -1);
5979 s390_end_pool (curr_pool, barrier);
6171 /* Did we insert an extra barrier? Remove it. */ local
6172 rtx barrier = PREV_INSN (curr_pool->pool_insn);
6173 rtx jump = barrier? PREV_INSN (barrier)
5954 rtx label, jump, barrier; local
[all...]

Completed in 171 milliseconds

12