| /NextBSD/lib/libthr/thread/ |
| HD | thr_barrier.c | 42 _pthread_barrier_destroy(pthread_barrier_t *barrier) in _pthread_barrier_destroy() argument 47 if (barrier == NULL || *barrier == NULL) in _pthread_barrier_destroy() 51 bar = *barrier; in _pthread_barrier_destroy() 73 *barrier = NULL; in _pthread_barrier_destroy() 79 _pthread_barrier_init(pthread_barrier_t *barrier, in _pthread_barrier_init() argument 86 if (barrier == NULL || count <= 0) in _pthread_barrier_init() 96 *barrier = bar; in _pthread_barrier_init() 102 _pthread_barrier_wait(pthread_barrier_t *barrier) in _pthread_barrier_wait() argument 109 if (barrier == NULL || *barrier == NULL) in _pthread_barrier_wait() 112 bar = *barrier; in _pthread_barrier_wait()
|
| /NextBSD/contrib/netbsd-tests/lib/libpthread/ |
| HD | t_barrier.c | 44 pthread_barrier_t barrier; variable 56 rv = pthread_barrier_wait(&barrier); in threadfunc() 68 ATF_TC(barrier); 69 ATF_TC_HEAD(barrier, tc) in ATF_TC_HEAD() argument 73 ATF_TC_BODY(barrier, tc) in ATF_TC_BODY() argument 80 PTHREAD_REQUIRE(pthread_barrier_init(&barrier, NULL, COUNT)); in ATF_TC_BODY() 107 ATF_TP_ADD_TC(tp, barrier); in ATF_TP_ADD_TCS()
|
| /NextBSD/sys/compat/linuxkpi/common/include/linux/ |
| HD | compiler.h | 73 #define barrier() __asm__ __volatile__("": : :"memory") macro 78 barrier(); \ 80 barrier(); \ 85 barrier(); \ 87 barrier(); \
|
| /NextBSD/contrib/gcclibs/libgomp/ |
| HD | team.c | 95 gomp_barrier_wait (&thr->ts.team->barrier); in gomp_thread_start() 97 gomp_barrier_wait (&thr->ts.team->barrier); in gomp_thread_start() 121 gomp_barrier_wait (&team->barrier); in gomp_thread_start() 153 gomp_barrier_init (&team->barrier, nthreads); in new_team() 169 gomp_barrier_destroy (&team->barrier); in free_team() 310 gomp_barrier_wait (nested ? &team->barrier : &gomp_threads_dock); in gomp_team_start() 330 gomp_barrier_wait (&team->barrier); in gomp_team_end()
|
| HD | single.c | 66 gomp_barrier_wait (&thr->ts.team->barrier); in GOMP_single_copy_start() 87 gomp_barrier_wait (&team->barrier); in GOMP_single_copy_end()
|
| HD | work.c | 162 last = gomp_barrier_wait_start (&team->barrier); in gomp_work_share_end() 176 gomp_barrier_wait_end (&team->barrier, last); in gomp_work_share_end()
|
| HD | barrier.c | 43 gomp_barrier_wait (&team->barrier); in GOMP_barrier()
|
| HD | libgomp.h | 192 gomp_barrier_t barrier; member
|
| /NextBSD/contrib/gcclibs/libgomp/config/linux/ |
| HD | bar.c | 61 gomp_barrier_wait (gomp_barrier_t *barrier) in gomp_barrier_wait() argument 63 gomp_barrier_wait_end (barrier, gomp_barrier_wait_start (barrier)); in gomp_barrier_wait()
|
| /NextBSD/tools/tools/tscdrift/ |
| HD | tscdrift.c | 46 #define barrier() __asm __volatile("" ::: "memory") macro 77 barrier(); in thread_main() 82 barrier(); in thread_main() 143 barrier(); in main() 147 barrier(); in main()
|
| /NextBSD/lib/libdispatch/private/ |
| HD | mach_private.h | 447 dispatch_mach_send_barrier(dispatch_mach_t channel, dispatch_block_t barrier); 471 dispatch_function_t barrier); 491 dispatch_block_t barrier); 514 dispatch_function_t barrier);
|
| HD | introspection_private.h | 201 unsigned long barrier:1, member 250 unsigned long barrier:1, member 332 barrier:1, member
|
| HD | io_private.h | 407 dispatch_function_t barrier);
|
| /NextBSD/contrib/gcclibs/libgomp/config/posix/ |
| HD | bar.c | 108 gomp_barrier_wait (gomp_barrier_t *barrier) in gomp_barrier_wait() argument 110 gomp_barrier_wait_end (barrier, gomp_barrier_wait_start (barrier)); in gomp_barrier_wait()
|
| /NextBSD/gnu/lib/libgomp/ |
| HD | Makefile.depend | 27 barrier.So: gstdint.h 28 barrier.o: gstdint.h 29 barrier.po: gstdint.h
|
| HD | Makefile | 12 SRCS= alloc.c barrier.c critical.c env.c \
|
| /NextBSD/contrib/gcc/ |
| HD | bb-reorder.c | 1279 rtx barrier; in add_labels_and_missing_jumps() local 1310 barrier = emit_barrier_after (new_jump); in add_labels_and_missing_jumps() 1313 src->il.rtl->footer = unlink_insn_chain (barrier, barrier); in add_labels_and_missing_jumps() 1346 rtx barrier; in fix_up_fall_thru_edges() local 1452 barrier = emit_barrier_after (BB_END (new_bb)); in fix_up_fall_thru_edges() 1453 new_bb->il.rtl->footer = unlink_insn_chain (barrier, in fix_up_fall_thru_edges() 1454 barrier); in fix_up_fall_thru_edges() 1458 barrier = emit_barrier_after (BB_END (cur_bb)); in fix_up_fall_thru_edges() 1459 cur_bb->il.rtl->footer = unlink_insn_chain (barrier, in fix_up_fall_thru_edges() 1460 barrier); in fix_up_fall_thru_edges() [all …]
|
| HD | cfgcleanup.c | 624 rtx barrier; in merge_blocks_move_predecessor_nojumps() local 640 barrier = next_nonnote_insn (BB_END (a)); in merge_blocks_move_predecessor_nojumps() 641 gcc_assert (BARRIER_P (barrier)); in merge_blocks_move_predecessor_nojumps() 642 delete_insn (barrier); in merge_blocks_move_predecessor_nojumps() 679 rtx barrier, real_b_end; in merge_blocks_move_successor_nojumps() local 707 barrier = NEXT_INSN (BB_END (b)); in merge_blocks_move_successor_nojumps() 708 if (barrier && BARRIER_P (barrier)) in merge_blocks_move_successor_nojumps() 709 delete_insn (barrier); in merge_blocks_move_successor_nojumps()
|
| HD | cfgrtl.c | 797 rtx barrier, label, table; in try_redirect_by_replacing_jump() local 815 barrier = next_nonnote_insn (BB_END (src)); in try_redirect_by_replacing_jump() 816 if (!barrier || !BARRIER_P (barrier)) in try_redirect_by_replacing_jump() 820 if (barrier != NEXT_INSN (BB_END (src))) in try_redirect_by_replacing_jump() 828 for (tmp = NEXT_INSN (BB_END (src)); tmp != barrier; in try_redirect_by_replacing_jump() 835 NEXT_INSN (new_insn) = barrier; in try_redirect_by_replacing_jump() 836 NEXT_INSN (PREV_INSN (barrier)) = new_insn; in try_redirect_by_replacing_jump() 838 PREV_INSN (new_insn) = PREV_INSN (barrier); in try_redirect_by_replacing_jump() 839 PREV_INSN (barrier) = new_insn; in try_redirect_by_replacing_jump()
|
| /NextBSD/sys/arm/arm/ |
| HD | cpufunc_asm_xscale_c3.S | 280 mcr p15, 0, r0, c7, c10, 4 @ data write barrier 302 mcr p15, 0, r0, c7, c10, 4 @ data write barrier 322 mcr p15, 0, r0, c7, c10, 4 @ data write barrier 339 mcr p15, 0, r0, c7, c10, 4 @ data write barrier
|
| /NextBSD/cddl/contrib/opensolaris/tools/ctf/cvt/ |
| HD | barrier.h | 47 typedef struct barrier { struct
|
| /NextBSD/sys/tools/ |
| HD | bus_macro.sh | 50 macro barrier o l f
|
| /NextBSD/cddl/usr.bin/ctfmerge/ |
| HD | Makefile | 8 barrier.c \
|
| /NextBSD/lib/libxpc/ |
| HD | xpc_connection.c | 254 xpc_connection_send_barrier(xpc_connection_t xconn, dispatch_block_t barrier) in xpc_connection_send_barrier() argument 259 dispatch_sync(conn->xc_send_queue, barrier); in xpc_connection_send_barrier()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Basic/ |
| HD | BuiltinsAArch64.def | 48 // Memory barrier
|