Lines Matching defs:cv
2463 do_cv_wait(struct thread *td, struct ucond *cv, struct umutex *m,
2474 flags = fuword32(&cv->c_flags);
2475 error = umtx_key_get(cv, TYPE_CV, GET_SHARE(flags), &uq->uq_key);
2480 clockid = fuword32(&cv->c_clockid);
2499 if (fuword32(__DEVOLATILE(uint32_t *, &cv->c_has_waiters)) == 0)
2500 suword32(__DEVOLATILE(uint32_t *, &cv->c_has_waiters), 1);
2556 &cv->c_has_waiters), 0);
2574 do_cv_signal(struct thread *td, struct ucond *cv)
2580 flags = fuword32(&cv->c_flags);
2581 if ((error = umtx_key_get(cv, TYPE_CV, GET_SHARE(flags), &key)) != 0)
2590 __DEVOLATILE(uint32_t *, &cv->c_has_waiters), 0);
2600 do_cv_broadcast(struct thread *td, struct ucond *cv)
2606 flags = fuword32(&cv->c_flags);
2607 if ((error = umtx_key_get(cv, TYPE_CV, GET_SHARE(flags), &key)) != 0)
2615 error = suword32(__DEVOLATILE(uint32_t *, &cv->c_has_waiters), 0);