Lines Matching refs:chan
399 int _sleep(void * _Nonnull chan, struct lock_object *lock, int pri,
401 #define msleep(chan, mtx, pri, wmesg, timo) \
402 _sleep((chan), &(mtx)->lock_object, (pri), (wmesg), \
404 #define msleep_sbt(chan, mtx, pri, wmesg, bt, pr, flags) \
405 _sleep((chan), &(mtx)->lock_object, (pri), (wmesg), (bt), (pr), \
407 int msleep_spin_sbt(void * _Nonnull chan, struct mtx *mtx,
409 #define msleep_spin(chan, mtx, wmesg, timo) \
410 msleep_spin_sbt((chan), (mtx), (wmesg), tick_sbt * (timo), \
418 #define tsleep(chan, pri, wmesg, timo) \
419 _sleep((chan), NULL, (pri), (wmesg), tick_sbt * (timo), \
421 #define tsleep_sbt(chan, pri, wmesg, bt, pr, flags) \
422 _sleep((chan), NULL, (pri), (wmesg), (bt), (pr), (flags))
423 void wakeup(void * chan);
424 void wakeup_one(void * chan);
425 void wakeup_any(void * chan);