Home
last modified time | relevance | path

Searched refs:cond_t (Results 1 – 25 of 106) sorted by relevance

12345

/illumos-gate/usr/src/head/
H A Dsynch.h71 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 Dpthr_barrier.c90 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 Dpthr_cond.c155 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()
H A Dsynch.c2749 sig_cond_wait(cond_t *cv, mutex_t *mp) in sig_cond_wait()
3153 cond_init(cond_t *cvp, int type, void *arg __unused) in cond_init()
3187 cond_sleep_queue(cond_t *cvp, mutex_t *mp, timespec_t *tsp) in cond_sleep_queue()
3304 cond_wait_check_alignment(cond_t *cvp, mutex_t *mp) in cond_wait_check_alignment()
3313 cond_wait_queue(cond_t *cvp, mutex_t *mp, timespec_t *tsp) in cond_wait_queue()
3539 __cond_wait(cond_t *cvp, mutex_t *mp) in __cond_wait()
3567 cond_wait(cond_t *cvp, mutex_t *mp) in cond_wait()
3589 error = cond_wait((cond_t *)cvp, (mutex_t *)mp); in pthread_cond_wait()
3704 cond_signal(cond_t *cvp) in cond_signal()
3835 cond_broadcast(cond_t *cvp) in cond_broadcast()
[all …]
/illumos-gate/usr/src/lib/libumem/common/
H A Dstub_stand.c40 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 Dthread_pool_impl.h67 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 Dlwp_cond.c37 _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 Dasyncio.h84 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 Dmtlib.h46 extern int sig_cond_wait(cond_t *, mutex_t *);
47 extern int sig_cond_reltimedwait(cond_t *, mutex_t *, const timespec_t *);
H A Dthr_uberdata.h803 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))];
1420 extern int sig_cond_wait(cond_t *, mutex_t *);
1421 extern int sig_cond_reltimedwait(cond_t *, mutex_t *, const timespec_t *);
1495 extern int __cond_wait(cond_t *, mutex_t *);
1496 extern int __cond_timedwait(cond_t *, mutex_t *, const timespec_t *);
1497 extern int __cond_reltimedwait(cond_t *, mutex_t *, const timespec_t *);
1525 extern int ___lwp_cond_wait(cond_t *, mutex_t *, timespec_t *, int);
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_access.c45 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 Dtlm_buffers.h101 cond_t tbs_in_cv;
102 cond_t tbs_out_cv;
112 cond_t tc_cv;
/illumos-gate/usr/src/cmd/truss/
H A Dramdata.h176 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 Dramdata.c91 cond_t truss_cv;
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_statd.h146 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/cmd/smserverd/
H A Dsmserver.h106 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/lib/libzfs/common/
H A Dlibzfs_taskq.c56 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 Dslp_queue.c62 cond_t *wait;
76 cond_t *wait; in slp_new_queue()
H A Dslp-internal.h132 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 Dautomount.h266 extern cond_t cleanup_start_cv;
267 extern cond_t cleanup_done_cv;
/illumos-gate/usr/src/cmd/vntsd/
H A Dvntsd.h278 cond_t cvp; /* sync between threads */
295 cond_t cvp; /* sync remove group */
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventd/
H A Dsyseventd.h104 cond_t client_cv; /* Deliver cond variable */
H A Dsysevent_client.c154 bzero(&scp->client_cv, sizeof (cond_t)); in delete_client()
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dsigev_thread.h62 cond_t tcd_cv;
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr.h87 cond_t chg_cv; /* cond var for synchronization */

12345