Searched refs:chan (Results 1 - 5 of 5) sorted by relevance

/darwin-on-arm/xnu/bsd/kern/
H A Dkern_synch.c133 * on chan, at which time the process
154 caddr_t chan,
184 ut->uu_wchan = chan;
187 if (mtx != NULL && chan != NULL && (thread_continue_t)continuation == THREAD_CONTINUE_NULL) {
199 wait_result = lck_mtx_sleep_deadline(mtx, flags, chan, catch, abstime);
201 wait_result = lck_mtx_sleep(mtx, flags, chan, catch);
204 if (chan != NULL)
205 assert_wait_deadline(chan, catch, abstime);
309 void *chan,
312 return _sleep((caddr_t)chan, pr
153 _sleep( caddr_t chan, int pri, const char *wmsg, u_int64_t abstime, int (*continuation)(int), lck_mtx_t *mtx) argument
308 sleep( void *chan, int pri) argument
316 msleep0( void *chan, lck_mtx_t *mtx, int pri, const char *wmsg, int timo, int (*continuation)(int)) argument
333 msleep( void *chan, lck_mtx_t *mtx, int pri, const char *wmsg, struct timespec *ts) argument
351 msleep1( void *chan, lck_mtx_t *mtx, int pri, const char *wmsg, u_int64_t abstime) argument
362 tsleep( void *chan, int pri, const char *wmsg, int timo) argument
376 tsleep0( void *chan, int pri, const char *wmsg, int timo, int (*continuation)(int)) argument
391 tsleep1( void *chan, int pri, const char *wmsg, u_int64_t abstime, int (*continuation)(int)) argument
405 wakeup(void *chan) argument
417 wakeup_one(caddr_t chan) argument
[all...]
H A Dtty.c2987 * chan The sleep channel (usually an address
3004 * Sleep on chan, returning ERESTART if tty changed while we napped and
3010 ttysleep(struct tty *tp, void *chan, int pri, const char *wmesg, int timo) argument
3019 error = msleep0(chan, &tp->t_lock, pri, wmesg, timo, (int (*)(int))0);
/darwin-on-arm/xnu/bsd/sys/
H A Dproc.h230 extern int msleep(void *chan, lck_mtx_t *mtx, int pri, const char *wmesg, struct timespec * ts );
231 extern void wakeup(void *chan);
232 extern void wakeup_one(caddr_t chan);
299 extern int tsleep(void *chan, int pri, const char *wmesg, int timo);
300 extern int msleep1(void *chan, lck_mtx_t *mtx, int pri, const char *wmesg, u_int64_t timo);
H A Dproc_internal.h687 extern int sleep(void *chan, int pri);
688 extern int tsleep0(void *chan, int pri, const char *wmesg, int timo, int (*continuation)(int));
689 extern int tsleep1(void *chan, int pri, const char *wmesg, u_int64_t abstime, int (*continuation)(int));
690 extern int msleep0(void *chan, lck_mtx_t *mtx, int pri, const char *wmesg, int timo, int (*continuation)(int));
H A Dtty.h326 void *chan, int pri, const char *wmesg, int timeout);

Completed in 29 milliseconds