Home
last modified time | relevance | path

Searched refs:timo (Results 1 – 6 of 6) sorted by relevance

/xnu-11215.81.4/bsd/kern/
H A Dkern_synch.c340 int timo, in msleep0() argument
345 if (timo) { in msleep0()
346 clock_interval_to_deadline(timo, NSEC_PER_SEC / hz, &abstime); in msleep0()
386 int timo) in tsleep() argument
390 if (timo) { in tsleep()
391 clock_interval_to_deadline(timo, NSEC_PER_SEC / hz, &abstime); in tsleep()
401 int timo, in tsleep0() argument
406 if (timo) { in tsleep0()
407 clock_interval_to_deadline(timo, NSEC_PER_SEC / hz, &abstime); in tsleep0()
H A Dtty.c3232 ttysleep(struct tty *tp, void *chan, int pri, const char *wmesg, int timo) in ttysleep() argument
3245 error = msleep0(chan, &tp->t_lock, pri, wmesg, timo, (int (*)(int))0); in ttysleep()
/xnu-11215.81.4/libsyscall/wrappers/
H A Dselect-base.c107 fd_set * __restrict efds, const struct timespec * __restrict timo, in _pselect_emulated() argument
114 if (timo) { in _pselect_emulated()
115 tvtimo.tv_sec = timo->tv_sec; in _pselect_emulated()
116 tvtimo.tv_usec = (__darwin_suseconds_t)(timo->tv_nsec / 1000); in _pselect_emulated()
/xnu-11215.81.4/bsd/sys/
H A Dproc.h258 …*chan, lck_mtx_t *mtx, int pri, const char *__unsafe_indexable wmesg, int timo, int (*continuation…
394 extern int tsleep(void *chan, int pri, const char *wmesg, int timo);
395 extern int msleep1(void *chan, lck_mtx_t *mtx, int pri, const char *wmesg, u_int64_t timo);
H A Dproc_internal.h857 extern int tsleep0(void *chan, int pri, const char *wmesg, int timo, int (*continuation)(int));
/xnu-11215.81.4/bsd/net/
H A Dbpf.c1205 bpf_sleep(struct bpf_d *d, int pri, const char *wmesg, int timo) in bpf_sleep() argument
1209 if (timo != 0) { in bpf_sleep()
1210 clock_interval_to_deadline(timo, NSEC_PER_SEC / hz, &abstime); in bpf_sleep()