Searched refs:cv_waiters (Results 1 – 2 of 2) sorted by relevance
81 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 …]
50 ushort_t cv_waiters; member53 #define CV_HAS_WAITERS(cvp) (((condvar_impl_t *)(cvp))->cv_waiters != 0)