Home
last modified time | relevance | path

Searched refs:barrier (Results 1 – 25 of 27) sorted by relevance

12

/titanic_50/usr/src/lib/libc/port/threads/
H A Dpthr_barrier.c88 pthread_barrier_init(pthread_barrier_t *barrier, in pthread_barrier_init() argument
91 mutex_t *mp = (mutex_t *)&barrier->__pthread_barrier_lock; in pthread_barrier_init()
92 cond_t *cvp = (cond_t *)&barrier->__pthread_barrier_cond; in pthread_barrier_init()
107 barrier->__pthread_barrier_count = count; in pthread_barrier_init()
108 barrier->__pthread_barrier_current = count; in pthread_barrier_init()
109 barrier->__pthread_barrier_cycle = 0; in pthread_barrier_init()
110 barrier->__pthread_barrier_reserved = 0; in pthread_barrier_init()
121 if (((uintptr_t)barrier & (_LONG_LONG_ALIGNMENT - 1)) && in pthread_barrier_init()
129 pthread_barrier_destroy(pthread_barrier_t *barrier) in pthread_barrier_destroy() argument
131 mutex_t *mp = (mutex_t *)&barrier->__pthread_barrier_lock; in pthread_barrier_destroy()
[all …]
/titanic_50/usr/src/uts/common/sys/rsm/
H A Drsmpi.h385 rsm_barrier_t *barrier);
389 rsm_barrier_t *barrier);
393 rsm_barrier_t *barrier);
396 rsm_barrier_t *barrier);
399 rsm_barrier_t *barrier);
403 rsm_barrier_t *barrier);
407 rsm_barrier_t *barrier);
410 rsm_barrier_t *barrier);
412 (rsm_barrier_t *barrier);
414 (rsm_barrier_t *barrier);
[all …]
/titanic_50/usr/src/cmd/rcm_daemon/common/
H A Drcm_lock.c1122 barrier_t barrier; variable
1133 return (barrier.state); in rcmd_get_state()
1145 (void) mutex_lock(&barrier.lock); in rcmd_set_state()
1146 barrier.state = state; in rcmd_set_state()
1153 barrier.wanted++; in rcmd_set_state()
1154 while (barrier.thr_count != 0) in rcmd_set_state()
1155 (void) cond_wait(&barrier.cv, &barrier.lock); in rcmd_set_state()
1156 barrier.wanted--; in rcmd_set_state()
1157 barrier.thr_count = -1; in rcmd_set_state()
1163 if (barrier.thr_count == -1) in rcmd_set_state()
[all …]
H A Drcm_subr.c1713 extern barrier_t barrier; in db_clean()
1721 (void) mutex_lock(&barrier.lock); in db_clean()
1723 (void) cond_wait(&barrier.cv, &barrier.lock); in db_clean()
1724 (void) mutex_unlock(&barrier.lock); in db_clean()
/titanic_50/usr/src/lib/librsm/common/
H A Drsmloopback.c582 rsm_barrier_handle_t barrier) in loopback_init_barrier() argument
588 type = type; im_memseg = im_memseg; barrier = barrier; in loopback_init_barrier()
597 loopback_open_barrier(rsm_barrier_handle_t barrier) in loopback_open_barrier() argument
603 barrier = barrier; in loopback_open_barrier()
612 loopback_order_barrier(rsm_barrier_handle_t barrier) in loopback_order_barrier() argument
618 barrier = barrier; in loopback_order_barrier()
627 loopback_close_barrier(rsm_barrier_handle_t barrier) in loopback_close_barrier() argument
633 barrier = barrier; in loopback_close_barrier()
642 loopback_destroy_barrier(rsm_barrier_handle_t barrier) in loopback_destroy_barrier() argument
648 barrier = barrier; in loopback_destroy_barrier()
H A Drsmgen.c777 rsm_barrier_handle_t barrier) in __rsm_memseg_import_init_barrier() argument
780 rsmgenbar_handle_t *bar = (rsmgenbar_handle_t *)barrier; in __rsm_memseg_import_init_barrier()
816 __rsm_memseg_import_open_barrier(rsm_barrier_handle_t barrier) in __rsm_memseg_import_open_barrier() argument
818 rsmgenbar_handle_t *bar = (rsmgenbar_handle_t *)barrier; in __rsm_memseg_import_open_barrier()
854 __rsm_memseg_import_order_barrier(rsm_barrier_handle_t barrier) in __rsm_memseg_import_order_barrier() argument
856 rsmgenbar_handle_t *bar = (rsmgenbar_handle_t *)barrier; in __rsm_memseg_import_order_barrier()
888 __rsm_memseg_import_close_barrier(rsm_barrier_handle_t barrier) in __rsm_memseg_import_close_barrier() argument
890 rsmgenbar_handle_t *bar = (rsmgenbar_handle_t *)barrier; in __rsm_memseg_import_close_barrier()
922 __rsm_memseg_import_destroy_barrier(rsm_barrier_handle_t barrier) in __rsm_memseg_import_destroy_barrier() argument
924 rsmgenbar_handle_t *bar = (rsmgenbar_handle_t *)barrier; in __rsm_memseg_import_destroy_barrier()
H A Drsmlib.c2331 rsmapi_barrier_t *barrier) in rsm_memseg_import_init_barrier() argument
2344 if (!barrier) { in rsm_memseg_import_init_barrier()
2350 bar = (rsmbar_handle_t *)barrier; in rsm_memseg_import_init_barrier()
2353 seg->rsmseg_barrier = barrier; /* used in put/get fns */ in rsm_memseg_import_init_barrier()
2359 type, (rsm_barrier_handle_t)barrier)); in rsm_memseg_import_init_barrier()
2363 rsm_memseg_import_open_barrier(rsmapi_barrier_t *barrier) in rsm_memseg_import_open_barrier() argument
2365 rsmbar_handle_t *bar = (rsmbar_handle_t *)barrier; in rsm_memseg_import_open_barrier()
2391 (rsm_barrier_handle_t)barrier)); in rsm_memseg_import_open_barrier()
2395 rsm_memseg_import_order_barrier(rsmapi_barrier_t *barrier) in rsm_memseg_import_order_barrier() argument
2397 rsmbar_handle_t *bar = (rsmbar_handle_t *)barrier; in rsm_memseg_import_order_barrier()
[all …]
/titanic_50/usr/src/lib/librsm/inc/
H A Drsmapi.h251 rsmapi_barrier_t *barrier);
254 int rsm_memseg_import_open_barrier(rsmapi_barrier_t *barrier);
257 int rsm_memseg_import_close_barrier(rsmapi_barrier_t *barrier);
259 int rsm_memseg_import_order_barrier(rsmapi_barrier_t *barrier);
261 int rsm_memseg_import_destroy_barrier(rsmapi_barrier_t *barrier);
H A Drsmndi.h162 rsm_barrier_handle_t barrier);
164 int (* rsm_memseg_import_open_barrier)(rsm_barrier_handle_t barrier);
166 int (* rsm_memseg_import_order_barrier)(rsm_barrier_handle_t barrier);
168 int (* rsm_memseg_import_close_barrier)(rsm_barrier_handle_t barrier);
170 int (* rsm_memseg_import_destroy_barrier)(rsm_barrier_handle_t barrier);
/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/
H A Dmm_linux.h50 barrier(); \
56 barrier(); \
62 barrier(); \
/titanic_50/usr/src/uts/sun4/ml/
H A Dcopy.s137 membar #Sync ! sync error barrier
176 membar #Sync ! sync error barrier
193 membar #Sync ! sync error barrier
/titanic_50/usr/src/tools/ctf/cvt/
H A Dbarrier.h42 typedef struct barrier { struct
H A DMakefile.com36 barrier.c \
/titanic_50/usr/src/uts/sparc/v9/ml/
H A Dsparcv9_subr.s292 membar #Sync ! sync error barrier (see copy.s)
301 membar #Sync ! sync error barrier
323 membar #Sync ! sync error barrier
372 membar #Sync ! force error barrier
H A Dddi_v9_asm.s1302 membar #Sync ! force error barrier
1309 membar #Sync ! force error barrier
1342 membar #Sync ! force error barrier
/titanic_50/usr/src/uts/sun4u/sunfire/ml/
H A Dsysctrl_asm.s84 brz,pt %g4, 1b ! spin until barrier true
/titanic_50/usr/src/uts/sun4u/cpu/
H A Dcheetah_copy.s811 membar #Sync ! sync error barrier
820 membar #Sync ! sync error barrier
831 membar #Sync ! sync error barrier
866 membar #Sync ! sync error barrier
999 membar #Sync ! sync error barrier
1039 membar #Sync ! sync error barrier
1074 membar #Sync ! sync error barrier
1098 membar #Sync ! sync error barrier
1280 membar #Sync ! sync error barrier
1496 membar #Sync ! sync error barrier
[all …]
H A Dopl_olympus_copy.s766 membar #Sync ! sync error barrier
775 membar #Sync ! sync error barrier
786 membar #Sync ! sync error barrier
821 membar #Sync ! sync error barrier
954 membar #Sync ! sync error barrier
1048 membar #Sync ! sync error barrier
1232 membar #Sync ! sync error barrier
1438 membar #Sync ! sync error barrier
1840 membar #Sync ! sync error barrier
1888 membar #Sync ! sync error barrier
[all …]
H A Dspitfire_copy.s502 membar #Sync ! sync error barrier (see copy.s)
518 membar #Sync ! sync error barrier
583 membar #Sync ! sync error barrier
655 membar #Sync ! sync error barrier
/titanic_50/usr/src/uts/sun4v/cpu/
H A Dgeneric_copy.s81 membar #Sync ! sync error barrier
94 membar #Sync ! sync error barrier
346 membar #Sync ! sync error barrier
1136 membar #Sync ! sync error barrier
1153 2: membar #Sync ! sync error barrier
1159 membar #Sync ! sync error barrier
1592 membar #Sync ! sync error barrier
H A Dniagara_copy.s436 membar #Sync ! sync error barrier
448 membar #Sync ! sync error barrier
467 membar #Sync ! sync error barrier
575 membar #Sync ! sync error barrier
588 membar #Sync ! sync error barrier
621 membar #Sync ! sync error barrier
678 membar #Sync ! sync error barrier
1134 membar #Sync ! sync error barrier
2427 membar #Sync ! sync error barrier
2657 membar #Sync ! sync error barrier
[all …]
/titanic_50/usr/src/uts/common/xen/io/
H A Dblk_common.c512 char *barrier; in blk_start_connect() local
573 e = xenbus_read(xbt, xsnode, "feature-barrier", (void **)&barrier, in blk_start_connect()
585 kmem_free(barrier, len); in blk_start_connect()
/titanic_50/usr/src/uts/sun4u/ml/
H A Dmach_copy.s359 membar #Sync ! sync error barrier
/titanic_50/usr/src/cmd/look/
H A Dwords2010 barrier
/titanic_50/usr/src/cmd/spell/
H A Dlist2009 barrier

12