/freebsd-9.3-release/contrib/gcclibs/libgomp/config/linux/ |
H A D | bar.c | 28 /* 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 D | thr_barrier.c | 41 _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 D | thr_barrier.c | 42 _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 D | barrier.c | 43 gomp_barrier_wait (&team->barrier);
|
H A D | single.c | 66 gomp_barrier_wait (&thr->ts.team->barrier); 87 gomp_barrier_wait (&team->barrier);
|
H A D | team.c | 44 /* 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 D | work.c | 143 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 D | libgomp.h | 98 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 D | Makefile.am | 34 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 D | xen-os.h | 70 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 D | barrier.h | 33 * APIs for the barrier synchronization primitive. 47 typedef struct barrier { struct
|
/freebsd-9.3-release/contrib/gcclibs/libgomp/config/posix/ |
H A D | bar.c | 28 /* 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 D | xen-os.h | 113 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 D | bus_private.h | 44 struct bus_space_tag *ptag, int type, void *barrier);
|
/freebsd-9.3-release/sys/tools/ |
H A D | bus_macro.sh | 50 macro barrier o l f
|
/freebsd-9.3-release/cddl/usr.bin/ctfmerge/ |
H A D | Makefile | 8 barrier.c \
|
/freebsd-9.3-release/sys/xen/ |
H A D | blkif.h | 123 barrier(); 138 barrier();
|
/freebsd-9.3-release/gnu/lib/libgomp/ |
H A D | Makefile | 12 SRCS= alloc.c barrier.c critical.c env.c \
|
/freebsd-9.3-release/sys/arm/arm/ |
H A D | cpufunc_asm_xscale_c3.S | 255 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 D | bb-reorder.c | 1280 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 D | cfgcleanup.c | 629 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 D | cfgrtl.c | 804 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 D | clock.c | 372 barrier(); 376 barrier();
|
/freebsd-9.3-release/sys/sparc64/sparc64/ |
H A D | bus_machdep.c | 729 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 D | s390.c | 5955 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...] |