timo 792 altq/altq_subr.c int timo; timo 796 altq/altq_subr.c timo = hz; /* 1 sec */ timo 797 altq/altq_subr.c (void)tsleep(&wait, PWAIT | PCATCH, "init_machclk", timo); timo 1551 arch/i386/isa/pccom.c int timo; timo 1554 arch/i386/isa/pccom.c timo = 150000; timo 1555 arch/i386/isa/pccom.c while (!ISSET(bus_space_read_1(iot, ioh, com_lsr), LSR_TXRDY) && --timo) timo 1561 arch/i386/isa/pccom.c timo = 1500000; timo 1562 arch/i386/isa/pccom.c while (!ISSET(bus_space_read_1(iot, ioh, com_lsr), LSR_TXRDY) && --timo) timo 1244 compat/hpux/hpux_compat.c int timo; timo 1262 compat/hpux/hpux_compat.c timo = tvtohz(&atv); timo 1263 compat/hpux/hpux_compat.c if (timo <= 0) timo 1264 compat/hpux/hpux_compat.c timo = 1; timo 1265 compat/hpux/hpux_compat.c timeout_add(&p->p_realit_to, timo); timo 821 compat/linux/linux_misc.c int timo; timo 862 compat/linux/linux_misc.c timo = tvtohz(&it.it_value); timo 864 compat/linux/linux_misc.c timeout_add(&p->p_realit_to, timo); timo 877 dev/audio.c audio_sleep_timo(int *chan, char *label, int timo) timo 885 dev/audio.c chan, label, timo)); timo 887 dev/audio.c st = tsleep(chan, PWAIT | PCATCH, label, timo); timo 236 dev/flash.c int timo = sc->sc_maxwaitready; timo 240 dev/flash.c while (ready == 0 && timo-- > 0) { timo 254 dev/flash.c int timo = sc->sc_maxwaitcomplete; timo 264 dev/flash.c while ((status & STATUS_READY) == 0 && timo-- > 0) { timo 1264 dev/i2o/iop.c int async, int timo) timo 1278 dev/i2o/iop.c rv = iop_msg_post(sc, im, &mf, timo); timo 1973 dev/i2o/iop.c iop_msg_post(struct iop_softc *sc, struct iop_msg *im, void *xmb, int timo) timo 1993 dev/i2o/iop.c else if ((im->im_flags & IM_POLL) != 0 && timo == 0) { timo 1998 dev/i2o/iop.c iop_msg_poll(sc, im, timo); timo 2000 dev/i2o/iop.c iop_msg_wait(sc, im, timo); timo 2025 dev/i2o/iop.c iop_msg_poll(struct iop_softc *sc, struct iop_msg *im, int timo) timo 2033 dev/i2o/iop.c for (timo *= 10; timo != 0; timo--) { timo 2054 dev/i2o/iop.c if (timo == 0) { timo 2072 dev/i2o/iop.c iop_msg_wait(struct iop_softc *sc, struct iop_msg *im, int timo) timo 2081 dev/i2o/iop.c rv = tsleep(im, PRIBIO, "iopmsg", timo * hz / 1000); timo 308 dev/ic/am7990.c register int timo; timo 334 dev/ic/am7990.c for (timo = 100000; timo; timo--) timo 399 dev/ic/cac.c cac_ccb_poll(struct cac_softc *sc, struct cac_ccb *wantccb, int timo) timo 402 dev/ic/cac.c int t = timo * 10; timo 937 dev/ic/com.c int timo; timo 940 dev/ic/com.c timo = 20000; timo 942 dev/ic/com.c LSR_TSRE) && --timo) timo 1260 dev/ic/com.c int timo; timo 1263 dev/ic/com.c timo = 2000; timo 1264 dev/ic/com.c while (!ISSET(bus_space_read_1(iot, ioh, com_lsr), LSR_TXRDY) && --timo) timo 1276 dev/ic/com.c timo = 2000; timo 1277 dev/ic/com.c while (!ISSET(bus_space_read_1(iot, ioh, com_lsr), LSR_TXRDY) && --timo) timo 1283 dev/ic/com.c timo = 20000; timo 1285 dev/ic/com.c && --timo) timo 405 dev/ic/com_subr.c int timo, len; timo 430 dev/ic/com_subr.c timo = 2000; timo 432 dev/ic/com_subr.c LSR_TXRDY) && --timo) timo 434 dev/ic/com_subr.c if (!timo) timo 441 dev/ic/com_subr.c timo = 2000; timo 443 dev/ic/com_subr.c LSR_RXRDY) && --timo) timo 445 dev/ic/com_subr.c if (!timo || bus_space_read_1(iot, ioh, com_data) != (len + 1)) timo 190 dev/ic/ncr5380sbc.c register int timo = ncr5380_wait_req_timo; timo 193 dev/ic/ncr5380sbc.c timo = 0; /* return 0 */ timo 196 dev/ic/ncr5380sbc.c if (--timo < 0) timo 200 dev/ic/ncr5380sbc.c return (timo); timo 207 dev/ic/ncr5380sbc.c register int timo = ncr5380_wait_nrq_timo; timo 210 dev/ic/ncr5380sbc.c timo = 0; /* return 0 */ timo 213 dev/ic/ncr5380sbc.c if (--timo < 0) timo 217 dev/ic/ncr5380sbc.c return (timo); timo 1076 dev/ic/ncr5380sbc.c int target, lun, phase, timo; timo 1108 dev/ic/ncr5380sbc.c timo = ncr5380_wait_nrq_timo; timo 1113 dev/ic/ncr5380sbc.c if (--timo <= 0) { timo 1128 dev/ic/ncr5380sbc.c ncr5380_wait_nrq_timo - timo); timo 1172 dev/ic/ncr5380sbc.c timo = ncr5380_wait_nrq_timo; timo 1177 dev/ic/ncr5380sbc.c if (--timo <= 0) { timo 1310 dev/ic/ncr5380sbc.c int timo, s, target_mask; timo 1353 dev/ic/ncr5380sbc.c timo = WAIT_AIP_USEC; timo 1357 dev/ic/ncr5380sbc.c if (timo <= 0) { timo 1366 dev/ic/ncr5380sbc.c timo -= 2; timo 1370 dev/ic/ncr5380sbc.c WAIT_AIP_USEC - timo); timo 1455 dev/ic/ncr5380sbc.c for (timo = 25000;;) { timo 1458 dev/ic/ncr5380sbc.c if (--timo <= 0) timo 2197 dev/ic/ncr5380sbc.c int act_flags, phase, timo; timo 2235 dev/ic/ncr5380sbc.c timo = ncr5380_wait_phase_timo; timo 2239 dev/ic/ncr5380sbc.c if (--timo <= 0) { timo 2387 dev/ic/ncr5380sbc.c timo = ncr5380_wait_req_timo; /* XXX */ timo 2391 dev/ic/ncr5380sbc.c if (--timo <= 0) timo 2401 dev/ic/ncr5380sbc.c ncr5380_wait_req_timo - timo); timo 554 dev/ic/smc91cxx.c int timo, pad; timo 611 dev/ic/smc91cxx.c timo = MEMORY_WAIT_TIME; timo 616 dev/ic/smc91cxx.c } while (--timo); timo 620 dev/ic/smc91cxx.c if (packetno & ARR_FAILED || timo == 0) { timo 466 dev/sdmmc/sdhc.c int timo; timo 499 dev/sdmmc/sdhc.c for (timo = 1000; timo > 0; timo--) { timo 504 dev/sdmmc/sdhc.c if (timo == 0) { timo 818 dev/sdmmc/sdhc.c int timo; timo 823 dev/sdmmc/sdhc.c for (timo = 10; timo > 0; timo--) { timo 829 dev/sdmmc/sdhc.c if (timo == 0) { timo 840 dev/sdmmc/sdhc.c sdhc_wait_intr(struct sdhc_host *hp, int mask, int timo) timo 850 dev/sdmmc/sdhc.c if (tsleep(&hp->intr_status, PWAIT, "hcintr", timo) timo 210 dev/sequencer.c timeout_set(&sc->timo, seq_timeout, sc); timo 219 dev/sequencer.c seq_sleep_timo(int *chan, char *label, int timo) timo 226 dev/sequencer.c DPRINTFN(5, ("seq_sleep_timo: %p %s %d\n", chan, label, timo)); timo 228 dev/sequencer.c st = tsleep(chan, PWAIT | PCATCH, label, timo); timo 308 dev/sequencer.c timeout_del(&sc->timo); timo 849 dev/sequencer.c timeout_add(&sc->timo, ticks); timo 92 dev/sequencervar.h struct timeout timo; /* timeout handle */ timo 849 dev/usb/ehci.c int timo; timo 853 dev/usb/ehci.c for (timo = xfer->timeout; timo >= 0; timo--) { timo 1601 dev/usb/ohci.c int timo; timo 1605 dev/usb/ohci.c for (timo = xfer->timeout; timo >= 0; timo--) { timo 1499 dev/usb/uhci.c int timo = xfer->timeout; timo 1502 dev/usb/uhci.c DPRINTFN(10,("uhci_waitintr: timeout = %dms\n", timo)); timo 1505 dev/usb/uhci.c for (; timo >= 0; timo--) { timo 905 dev/usb/usbdi.c void *data, u_int16_t flags, int *actlen, u_int32_t timo) timo 908 dev/usb/usbdi.c flags, actlen, timo)); timo 171 kern/kern_lock.c lockinit(struct lock *lkp, int prio, char *wmesg, int timo, int flags) timo 178 kern/kern_lock.c lkp->lk_timo = timo; timo 98 kern/kern_synch.c tsleep(void *ident, int priority, const char *wmesg, int timo) timo 118 kern/kern_synch.c sleep_setup_timeout(&sls, timo); timo 204 kern/kern_synch.c sleep_setup_timeout(struct sleep_state *sls, int timo) timo 206 kern/kern_synch.c if (timo) timo 207 kern/kern_synch.c timeout_add(&curproc->p_sleep_to, timo); timo 394 kern/kern_synch.c int timo = SCARG(uap, timeout); timo 404 kern/kern_synch.c timo = timo * (hz / 1000); timo 406 kern/kern_synch.c timo = timo / (1000 / hz); timo 407 kern/kern_synch.c if (timo < 0) timo 408 kern/kern_synch.c timo = 0; timo 409 kern/kern_synch.c error = tsleep(&p->p_thrslpid, PUSER | PCATCH, "thrsleep", timo); timo 590 kern/kern_time.c int timo; timo 614 kern/kern_time.c timo = tvtohz(&aitv.it_value); timo 615 kern/kern_time.c timeout_add(&p->p_realit_to, timo); timo 652 kern/kern_time.c int timo; timo 660 kern/kern_time.c timo = tvtohz(&ntv) - 1; timo 661 kern/kern_time.c if (timo <= 0) timo 662 kern/kern_time.c timo = 1; timo 664 kern/kern_time.c timeout_add(&p->p_realit_to, timo); timo 68 kern/subr_extent.c #define tsleep(chan, pri, str, timo) (EWOULDBLOCK) timo 630 kern/sys_generic.c int s, ncoll, error = 0, timo; timo 683 kern/sys_generic.c timo = 0; timo 697 kern/sys_generic.c timo = ttv.tv_sec > 24 * 60 * 60 ? timo 706 kern/sys_generic.c error = tsleep(&selwait, PSOCK | PCATCH, "select", timo); timo 872 kern/sys_generic.c int timo, ncoll, i, s, error; timo 906 kern/sys_generic.c timo = 0; timo 920 kern/sys_generic.c timo = ttv.tv_sec > 24 * 60 * 60 ? timo 929 kern/sys_generic.c error = tsleep(&selwait, PSOCK | PCATCH, "poll", timo); timo 2207 kern/tty.c ttysleep(struct tty *tp, void *chan, int pri, char *wmesg, int timo) timo 2213 kern/tty.c if ((error = tsleep(chan, pri, wmesg, timo)) != 0) timo 213 lib/libsa/netif.c netif_get(struct iodesc *desc, void *pkt, size_t len, time_t timo) timo 230 lib/libsa/netif.c rv = drv->netif_get(desc, pkt, len, timo); timo 1746 net/if_spppsubr.c int timo; timo 1748 net/if_spppsubr.c timo = sp->lcp.max_configure - sp->rst_counter[cp->protoidx]; timo 1749 net/if_spppsubr.c if (timo < 1) timo 1750 net/if_spppsubr.c timo = 1; timo 1753 net/if_spppsubr.c timeout(cp->TO, (void *)sp, timo * sp->lcp.timeout); timo 1756 net/if_spppsubr.c timeout_add(&sp->ch[cp->protoidx], timo * sp->lcp.timeout); timo 202 nfs/krpc_subr.c int error, rcvflg, timo, secs, len; timo 334 nfs/krpc_subr.c for (timo = 0; retries; retries--) { timo 349 nfs/krpc_subr.c if (timo < MAX_RESEND_DELAY) timo 350 nfs/krpc_subr.c timo++; timo 360 nfs/krpc_subr.c secs = timo; timo 157 sys/lock.h void lockinit(struct lock *, int prio, char *wmesg, int timo, timo 300 ufs/ffs/ffs_softdep.c int timo; timo 307 ufs/ffs/ffs_softdep.c sema_init(semap, name, prio, timo) timo 310 ufs/ffs/ffs_softdep.c int prio, timo; timo 317 ufs/ffs/ffs_softdep.c semap->timo = timo; timo 330 ufs/ffs/ffs_softdep.c tsleep((caddr_t)semap, semap->prio, semap->name, semap->timo); timo 158 uvm/uvm.h #define UVM_UNLOCK_AND_WAIT(event, slock, intr, msg, timo) \ timo 161 uvm/uvm.h msg, timo, slock); \ timo 113 uvm/uvm_pdaemon.c int timo = 0; timo 139 uvm/uvm_pdaemon.c timo = hz >> 3; /* set timeout */ timo 149 uvm/uvm_pdaemon.c timo);