/illumos-gate/usr/src/head/ |
H A D | synch.h | 71 typedef lwp_cond_t cond_t; typedef 86 cond_t readercv; /* used only to indicate ownership */ 87 cond_t writercv; /* used only to indicate ownership */ 102 int cond_init(cond_t *, int, void *); 103 int cond_destroy(cond_t *); 104 int cond_wait(cond_t *, mutex_t *); 105 int cond_timedwait(cond_t *, mutex_t *, const timespec_t *); 106 int cond_reltimedwait(cond_t *, mutex_t *, const timespec_t *); 107 int cond_signal(cond_t *); 108 int cond_broadcast(cond_t *);
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | pthr_barrier.c | 90 cond_t *cvp = (cond_t *)&barrier->__pthread_barrier_cond; in pthread_barrier_init() 130 cond_t *cvp = (cond_t *)&barrier->__pthread_barrier_cond; in pthread_barrier_destroy() 145 cond_t *cvp = (cond_t *)&barrier->__pthread_barrier_cond; in pthread_barrier_wait()
|
H A D | synch.c | 2782 sig_cond_wait(cond_t *cv, mutex_t *mp) in sig_cond_wait() 2802 sig_cond_reltimedwait(cond_t *cv, mutex_t *mp, const timespec_t *ts) in sig_cond_reltimedwait() 3186 cond_init(cond_t *cvp, int type, void *arg __unused) in cond_init() 3224 cond_sleep_queue(cond_t *cvp, mutex_t *mp, timespec_t *tsp) in cond_sleep_queue() 3341 cond_wait_check_alignment(cond_t *cvp, mutex_t *mp) in cond_wait_check_alignment() 3350 cond_wait_queue(cond_t *cvp, mutex_t *mp, timespec_t *tsp) in cond_wait_queue() 3398 cond_sleep_kernel(cond_t *cvp, mutex_t *mp, timespec_t *tsp) in cond_sleep_kernel() 3437 cond_wait_kernel(cond_t *cvp, mutex_t *mp, timespec_t *tsp) in cond_wait_kernel() 3477 cond_wait_common(cond_t *cvp, mutex_t *mp, timespec_t *tsp) in cond_wait_common() 3576 __cond_wait(cond_t *cvp, mutex_t *mp) in __cond_wait() [all …]
|
H A D | pthr_cond.c | 155 else if ((error = cond_init((cond_t *)cond, type, NULL)) == 0) in pthread_cond_init() 156 ((cond_t *)cond)->cond_clockid = (uint8_t)clock_id; in pthread_cond_init()
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | stub_stand.c | 40 cond_init(cond_t *cvp, int type, void *arg) in cond_init() 47 cond_destroy(cond_t *cvp) in cond_destroy() 54 cond_wait(cond_t *cv, mutex_t *mutex) in cond_wait() 64 cond_broadcast(cond_t *cvp) in cond_broadcast()
|
/illumos-gate/usr/src/lib/libc/port/tpool/ |
H A D | thread_pool_impl.h | 67 cond_t tp_busycv; /* synchronization in tpool_dispatch */ 68 cond_t tp_workcv; /* synchronization with workers */ 69 cond_t tp_waitcv; /* synchronization in tpool_wait() */
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | lwp_cond.c | 37 _lwp_cond_wait(cond_t *cv, mutex_t *mp) in _lwp_cond_wait() 50 _lwp_cond_reltimedwait(cond_t *cv, mutex_t *mp, timespec_t *relts) in _lwp_cond_reltimedwait() 66 _lwp_cond_timedwait(cond_t *cv, mutex_t *mp, timespec_t *absts) in _lwp_cond_timedwait()
|
/illumos-gate/usr/src/lib/libc/inc/ |
H A D | asyncio.h | 84 cond_t lio_cond_cv; /* list notification for I/O done */ 234 cond_t work_idle_cv; /* place to sleep when idle */ 307 extern cond_t __aio_initcv; 310 extern cond_t _aio_iowait_cv; /* wait for userland I/Os */ 311 extern cond_t _aio_waitn_cv; /* wait for end of aio_waitn */
|
H A D | mtlib.h | 46 extern int sig_cond_wait(cond_t *, mutex_t *); 47 extern int sig_cond_reltimedwait(cond_t *, mutex_t *, const timespec_t *);
|
H A D | thr_uberdata.h | 803 cond_t hash_cond; /* convar per bucket */ 806 (sizeof (mutex_t) + sizeof (cond_t) + sizeof (ulwp_t *))]; 812 cond_t hash_cond; 815 (sizeof (mutex_t) + sizeof (cond_t) + sizeof (caddr32_t))]; 1424 extern int sig_cond_wait(cond_t *, mutex_t *); 1425 extern int sig_cond_reltimedwait(cond_t *, mutex_t *, const timespec_t *); 1499 extern int __cond_wait(cond_t *, mutex_t *); 1500 extern int __cond_timedwait(cond_t *, mutex_t *, clockid_t, 1502 extern int __cond_reltimedwait(cond_t *, mutex_t *, const timespec_t *); 1530 extern int ___lwp_cond_wait(cond_t *, mutex_t *, timespec_t *, int);
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_access.c | 45 cond_t *data_cond; 429 nscd_acc_data_t *data, cond_t *cond) in _nscd_cond_wait() 499 cond_t *cond = NULL; in _nscd_alloc() 522 if ((cond = (cond_t *)calloc(1, sizeof (cond_t))) == in _nscd_alloc()
|
/illumos-gate/usr/src/cmd/ndmpd/include/ |
H A D | tlm_buffers.h | 101 cond_t tbs_in_cv; 102 cond_t tbs_out_cv; 112 cond_t tc_cv;
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | ramdata.h | 176 extern cond_t truss_cv; /* condition variable associated w truss_lock */ 203 cond_t fork_cv; 204 char p1[CACHE_LN_SZ - (sizeof (mutex_t) + sizeof (cond_t))];
|
H A D | ramdata.c | 91 cond_t truss_cv;
|
/illumos-gate/usr/src/cmd/smserverd/ |
H A D | smserver.h | 106 cond_t sd_init_cv; 120 cond_t dd_cv; /* client_door_descriptor cv */ 121 cond_t dd_cv_bind; /* client door descriptor bind cv */
|
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/ |
H A D | sm_statd.h | 146 extern cond_t retrywait; /* Condition to wait before starting retry */ 151 extern cond_t merges_cond; /* Condition variable for in_merges */
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_taskq.c | 56 cond_t ztq_dispatch_cv; 57 cond_t ztq_wait_cv; 65 cond_t ztq_maxalloc_cv;
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_queue.c | 62 cond_t *wait; 76 cond_t *wait; in slp_new_queue()
|
H A D | slp-internal.h | 132 cond_t *tcp_wait; /* TCP thread wait condition var */ 143 cond_t outcall_cv; /* outcall cond var */
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | automount.h | 266 extern cond_t cleanup_start_cv; 267 extern cond_t cleanup_done_cv;
|
/illumos-gate/usr/src/cmd/vntsd/ |
H A D | vntsd.h | 278 cond_t cvp; /* sync between threads */ 295 cond_t cvp; /* sync remove group */
|
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventd/ |
H A D | syseventd.h | 104 cond_t client_cv; /* Deliver cond variable */
|
H A D | sysevent_client.c | 154 bzero(&scp->client_cv, sizeof (cond_t)); in delete_client()
|
/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | sigev_thread.h | 62 cond_t tcd_cv;
|
/illumos-gate/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr.h | 87 cond_t chg_cv; /* cond var for synchronization */
|