/freebsd-10-stable/lib/libstand/ |
H A D | net.c | 79 time_t t, tmo, tlast; local 87 tmo = MINTMO; 93 if (tmo >= MAXTMO) { 102 tleft = tmo; 103 tmo += MINTMO; 104 if (tmo > MAXTMO) 105 tmo = MAXTMO; 109 while ((getsecs() - t) < tmo)
|
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_sleep.c | 157 int tmo; local 161 tmo = KEVNT_TIMEOUT; 169 tmo/1000 < delay->tv_sec && tmo/500 > delay->tv_sec) 172 EV_SET(&ktimer, 1, EVFILT_TIMER, EV_ADD, 0, tmo, 0); 185 if (delay->tv_sec * BILLION + delay->tv_nsec > tmo * MILLION)
|
/freebsd-10-stable/sys/dev/ieee488/ |
H A D | ugpib.h | 113 int ibdev(int boardID, int pad, int sad, int tmo, int eot, int eos); 145 int ibtmo(int handle, int tmo);
|
H A D | ibfoo_int.h | 129 int tmo; member in struct:ibarg
|
H A D | ibfoo.c | 582 h->timeout = timeouts[ib->ap->tmo]; 753 ib->h->timeout = timeouts[ib->ap->tmo]; 880 if (ap->__field & __F_TMO) printf(" tmo=%d", ap->tmo); 1033 if (ap->tmo < 0 || ap->tmo >= max_timeouts)
|
/freebsd-10-stable/sys/dev/acpica/Osd/ |
H A D | OsdSynch.c | 155 int error, prevtick, slptick, tmo; local 208 tmo = timeout2hz(Timeout); 212 error = cv_timedwait_sig(&as->as_cv, &as->as_lock, tmo); 221 if (slptick >= tmo || slptick < 0) { 225 tmo -= slptick; 363 int error, prevtick, slptick, tmo; local 418 tmo = timeout2hz(Timeout); 423 "acmtx", tmo); 432 if (slptick >= tmo || slptick < 0) { 436 tmo [all...] |
/freebsd-10-stable/contrib/amd/amq/ |
H A D | pawd.c | 179 struct timeval tmo = {10, 0}; local 201 clnt = clntudp_create(&server_addr, AMQ_PROGRAM, AMQ_VERSION, tmo, &s);
|
/freebsd-10-stable/lib/libgpib/ |
H A D | ibfoo.c | 150 ibdev (int boardID, int pad, int sad, int tmo, int eot, int eos) argument 158 io.tmo = tmo; 538 ibtmo (int handle, int tmo) argument 544 io.tmo = tmo;
|
/freebsd-10-stable/sys/dev/tpm/ |
H A D | tpm.c | 632 tpm_tmotohz(int tmo) argument 636 tv.tv_sec = tmo / 1000; 637 tv.tv_usec = 1000 * (tmo % 1000); 712 tpm_waitfor_poll(struct tpm_softc *sc, u_int8_t mask, int tmo, void *c) argument 720 while (((sc->sc_stat = tpm_status(sc)) & mask) != mask && tmo--) { 735 tpm_waitfor_int(struct tpm_softc *sc, u_int8_t mask, int tmo, void *c, argument 767 to = tpm_tmotohz(tmo); 802 tpm_waitfor(struct tpm_softc *sc, u_int8_t b0, int tmo, void *c) argument 833 return tpm_waitfor_int(sc, b, tmo, c, 839 rv = tpm_waitfor_int(sc, b, tmo, [all...] |
/freebsd-10-stable/contrib/sendmail/src/ |
H A D | sfsasl.c | 355 ** tmo -- timeout 367 sfdcsasl(fin, fout, conn, tmo) 371 int tmo; 408 sm_io_setinfo(*fin, SM_IO_WHAT_TIMEOUT, &tmo); 409 sm_io_setinfo(*fout, SM_IO_WHAT_TIMEOUT, &tmo);
|
H A D | map.c | 7481 int tmo; local 7881 tmo = map->map_timeout; 7882 if (tmo == 0) 7883 tmo = 30000; /* default: 30s */ 7885 tmo *= 1000; /* s -> ms */ 7886 sm_io_setinfo(map->map_db1, SM_IO_WHAT_TIMEOUT, &tmo);
|
H A D | deliver.c | 3159 int tmo; local 3167 tmo = DATA_PROGRESS_TIMEOUT * 1000; 3170 mci->mci_conn, tmo) == 0)
|
H A D | srvrsmtp.c | 1661 int tmo; local 1669 tmo = TimeOuts.to_datablock * 1000; 1671 conn, tmo) == 0)
|
/freebsd-10-stable/contrib/ofed/management/infiniband-diags/src/ |
H A D | mcm_rereg_test.c | 221 uint8_t *umad, int length, int tmo) 226 while((ret = umad_recv(port, umad, &len, tmo)) < 0 && 220 rereg_recv(int port, int agent, ib_portid_t *dport, uint8_t *umad, int length, int tmo) argument
|
/freebsd-10-stable/sys/dev/oce/ |
H A D | oce_hw.c | 54 int tmo = 60000; local 67 if (--tmo == 0)
|
H A D | oce_mbox.c | 344 uint32_t tmo = 0; local 353 /* get the tmo */ 354 tmo = mbx->tag[0]; 361 rc = oce_mbox_dispatch(sc, tmo);
|
/freebsd-10-stable/contrib/sendmail/libsm/ |
H A D | ldap.c | 1398 struct timeval tmo; local 1400 tmo.tv_sec = lmap->ldap_networktmo; 1401 tmo.tv_usec = 0; 1402 ldap_set_option(ld, LDAP_OPT_NETWORK_TIMEOUT, &tmo);
|
/freebsd-10-stable/sys/dev/ppbus/ |
H A D | immio.c | 495 imm_wait(struct vpoio_data *vpo, int tmo) argument 512 WAIT_TMO, tmo);
|
H A D | vpoio.c | 519 vpoio_wait(struct vpoio_data *vpo, int tmo) argument 543 WAIT_TMO, tmo);
|
/freebsd-10-stable/sys/dev/isp/ |
H A D | isp_freebsd.h | 301 struct callout tmo; /* general timer */ member in struct:isposinfo
|
H A D | isp_freebsd.c | 291 callout_init_mtx(&isp->isp_osinfo.tmo, &isp->isp_lock, 0); 293 callout_reset(&isp->isp_osinfo.tmo, isp_timer_count, isp_timer, isp); 334 callout_drain(&isp->isp_osinfo.tmo); 4280 callout_reset(&isp->isp_osinfo.tmo, isp_timer_count, isp_timer, isp);
|