Home
last modified time | relevance | path

Searched refs:cv_waiters (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/uts/common/os/
H A Dcondvar.c81 if (cvp->cv_waiters != CV_MAX_WAITERS) in cv_unsleep()
82 cvp->cv_waiters--; in cv_unsleep()
118 ((condvar_impl_t *)cvp)->cv_waiters = 0; in cv_init()
129 ASSERT((((condvar_impl_t *)cvp)->cv_waiters & CV_WAITERS_MASK) == 0); in cv_destroy()
171 if (cvp->cv_waiters < CV_MAX_WAITERS) in cv_block()
172 cvp->cv_waiters++; in cv_block()
173 ASSERT(cvp->cv_waiters <= CV_MAX_WAITERS); in cv_block()
609 ASSERT(cp->cv_waiters <= CV_MAX_WAITERS); in cv_signal()
610 if (cp->cv_waiters > 0) { in cv_signal()
614 if (cp->cv_waiters & CV_WAITERS_MASK) { in cv_signal()
[all …]
/titanic_50/usr/src/uts/common/sys/
H A Dcondvar_impl.h50 ushort_t cv_waiters; member
53 #define CV_HAS_WAITERS(cvp) (((condvar_impl_t *)(cvp))->cv_waiters != 0)