Searched refs:cv_waiters (Results 1 – 8 of 8) sorted by relevance
52 * A bound below which cv_waiters is valid. Once cv_waiters reaches this bound,58 if ((cvp)->cv_waiters < CV_WAITERS_BOUND) \59 (cvp)->cv_waiters++; \80 cvp->cv_waiters = 0; in cv_init() 437 if (cvp->cv_waiters == 0) in cv_signal() 440 if (cvp->cv_waiters == 0) { in cv_signal() 444 if (cvp->cv_waiters == CV_WAITERS_BOUND && sleepq_lookup(cvp) == NULL) { in cv_signal() 445 cvp->cv_waiters = 0; in cv_signal() 448 if (cvp->cv_waiters < CV_WAITERS_BOUN in cv_signal() [all...]
75 atomic_set(&cvp->cv_waiters, 0); in __cv_init()84 if (!atomic_read(&cvp->cv_waiters) && !atomic_read(&cvp->cv_refs)) { in cv_destroy_wakeup()108 ASSERT3S(atomic_read(&cvp->cv_waiters), ==, 0); in __cv_destroy()132 atomic_inc(&cvp->cv_waiters); in cv_wait_common()146 if (atomic_dec_and_test(&cvp->cv_waiters)) { in cv_wait_common()239 atomic_inc(&cvp->cv_waiters); in __cv_timedwait_common()253 if (atomic_dec_and_test(&cvp->cv_waiters)) { in __cv_timedwait_common()346 atomic_inc(&cvp->cv_waiters); in __cv_timedwait_hires()361 if (atomic_dec_and_test(&cvp->cv_waiters)) { in __cv_timedwait_hires()441 if (atomic_read(&cvp->cv_waiters) > 0) in __cv_signal()[all …]
362 if ((x)->cv.cv_waiters != 0) { \363 if ((x)->cv.cv_waiters > 1 && snd_verbose > 3) \368 (x)->cv.cv_waiters); \462 if ((x)->cv.cv_waiters != 0) \
246 if ((x)->cv_waiters != 0) \
224 if (ch->intr_cv.cv_waiters == 0 && CHN_STOPPED(ch) && in pcm_killchans()
50 int cv_waiters; member
40 int cv_waiters; member
72 atomic_t cv_waiters; member