/freebsd-current/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-current/contrib/ofed/infiniband-diags/src/ |
H A D | mcm_rereg_test.c | 184 uint8_t * umad, int length, int tmo) 189 while ((ret = umad_recv(port, umad, &len, tmo)) < 0 && 183 rereg_recv(int port, int agent, ib_portid_t * dport, uint8_t * umad, int length, int tmo) argument
|
/freebsd-current/contrib/sendmail/libsm/ |
H A D | ldap.c | 125 struct timeval tmo; \ 130 tmo.tv_sec = lmap->ldap_networktmo; \ 131 tmo.tv_usec = 0; \ 132 ldap_set_option(ld, LDAP_OPT_NETWORK_TIMEOUT, &tmo); \ 335 struct timeval tmo; local 453 tmo.tv_sec = lmap->ldap_networktmo; 455 tmo.tv_sec = lmap->ldap_timeout.tv_sec; 457 tmo.tv_usec = 0; 468 sm_dprintf("ldap_bind(%s)=%d, errno=%d, ldaperr=%d, ld_error=%s, tmo=%lld\n", 470 sm_ldap_geterrno(ld), errmsg, (long long) tmo [all...] |
H A D | notify.c | 157 ** tmo -- timeout (micro seconds) 166 sm_notify_rcv(buf, buflen, tmo) 169 long tmo; 182 SM_MICROS2TVAL(tmo, tval, timeout);
|
H A D | notify.h | 22 #define SM_MICROS2TVAL(tmo, tval, timeout) \ 25 if (tmo < 0) \ 29 timeout.tv_sec = (long) (tmo / SM_MICROS); \ 30 timeout.tv_usec = tmo % SM_MICROS; \
|
/freebsd-current/contrib/sendmail/src/ |
H A D | deliver.c | 4075 int tmo; local 4083 tmo = DATA_PROGRESS_TIMEOUT * 1000; 4086 mci->mci_conn, tmo) == 0)
|
H A D | map.c | 8292 int tmo; local 8692 tmo = map->map_timeout; 8693 if (tmo == 0) 8694 tmo = 30000; /* default: 30s */ 8696 tmo *= 1000; /* s -> ms */ 8697 sm_io_setinfo(map->map_db1, SM_IO_WHAT_TIMEOUT, &tmo);
|
H A D | sched.c | 106 long tmo; local 122 tmo = -1; 137 r = sm_notify_rcv(buf, sizeof(buf), tmo);
|
H A D | sfsasl.c | 351 ** tmo -- timeout 363 sfdcsasl(fin, fout, conn, tmo) 367 int tmo; 404 sm_io_setinfo(*fin, SM_IO_WHAT_TIMEOUT, &tmo); 405 sm_io_setinfo(*fout, SM_IO_WHAT_TIMEOUT, &tmo);
|
H A D | srvrsmtp.c | 1894 int tmo; local 1902 tmo = TimeOuts.to_datablock * 1000; 1904 conn, tmo) == 0)
|
/freebsd-current/stand/libsa/ |
H A D | net.c | 87 time_t t, tmo, tlast; local 96 tmo = MINTMO; 106 if (tmo >= MAXTMO) { 115 tleft = tmo; 116 tmo += MINTMO; 117 if (tmo > MAXTMO) 118 tmo = MAXTMO; 122 while ((getsecs() - t) < tmo)
|
/freebsd-current/sys/dev/acpica/Osd/ |
H A D | OsdSynch.c | 153 int error, prevtick, slptick, tmo; local 206 tmo = timeout2hz(Timeout); 210 error = cv_timedwait_sig(&as->as_cv, &as->as_lock, tmo); 219 if (slptick >= tmo || slptick < 0) { 223 tmo -= slptick; 361 int error, prevtick, slptick, tmo; local 416 tmo = timeout2hz(Timeout); 421 "acmtx", tmo); 430 if (slptick >= tmo || slptick < 0) { 434 tmo [all...] |
/freebsd-current/sys/dev/firmware/arm/ |
H A D | scmi_smc.c | 115 scmi_smc_poll_msg(device_t dev, struct scmi_msg *msg, unsigned int tmo) argument
|
/freebsd-current/sys/dev/isp/ |
H A D | isp_freebsd.c | 263 callout_init_mtx(&isp->isp_osinfo.tmo, &isp->isp_lock, 0); 265 callout_reset(&isp->isp_osinfo.tmo, isp_timer_count, isp_timer, isp); 299 callout_drain(&isp->isp_osinfo.tmo); 3481 callout_reset(&isp->isp_osinfo.tmo, isp_timer_count, isp_timer, isp);
|
H A D | isp_freebsd.h | 271 struct callout tmo; /* general timer */ member in struct:isposinfo
|
/freebsd-current/sys/dev/oce/ |
H A D | oce_hw.c | 54 int tmo = 60000; local 67 if (--tmo == 0)
|
H A D | oce_mbox.c | 373 uint32_t tmo = 0; local 381 /* get the tmo */ 382 tmo = mbx->tag[0]; 389 rc = oce_mbox_dispatch(sc, tmo);
|
/freebsd-current/sys/dev/smartpqi/ |
H A D | smartpqi_event.c | 68 int tmo = PQISRC_EVENT_ACK_RESP_TIMEOUT; local 94 COND_WAIT(((ib_q->pi_local) == *(ib_q->ci_virt_addr)), tmo); 95 if (tmo <= 0) { 97 DBG_ERR("tmo : %d\n",tmo);
|
H A D | smartpqi_init.c | 349 int tmo = 0; local 355 tmo = PQISRC_PQIMODE_READY_TIMEOUT; 365 } while (tmo--); 369 if (tmo <= 0) { 375 tmo = PQISRC_PQIMODE_READY_TIMEOUT; 378 PQI_ADMINQ_CONFIG) == PQI_ADMIN_QUEUE_CONF_FUNC_STATUS_IDLE), tmo); 379 if (!tmo) { 386 tmo = PQISRC_PQIMODE_READY_TIMEOUT; 389 PQI_DEV_STATE_AT_INIT, tmo); 390 if (!tmo) { [all...] |
H A D | smartpqi_queue.c | 41 int tmo = PQISRC_ADMIN_CMD_RESP_TIMEOUT; local 69 COND_WAIT((*(ob_q->pi_virt_addr) != ob_q->ci_local), tmo); 70 if (tmo <= 0) { 72 DBG_ERR("tmo : %d\n",tmo); \ 321 int tmo = 0; local 329 tmo = PQISRC_ADMIN_QUEUE_CREATE_TIMEOUT; 331 tmo = PQISRC_ADMIN_QUEUE_DELETE_TIMEOUT; 335 PQI_ADMIN_QUEUE_CONF_FUNC_STATUS_IDLE), tmo); 336 if (tmo < [all...] |
/freebsd-current/sys/dev/tpm/ |
H A D | tpm.c | 485 tpm_tmotohz(int tmo) argument 489 tv.tv_sec = tmo / 1000; 490 tv.tv_usec = 1000 * (tmo % 1000); 541 tpm_waitfor_poll(struct tpm_softc *sc, u_int8_t mask, int tmo, void *c) argument 549 while (((sc->sc_stat = tpm_status(sc)) & mask) != mask && tmo--) { 564 tpm_waitfor_int(struct tpm_softc *sc, u_int8_t mask, int tmo, void *c, argument 596 to = tpm_tmotohz(tmo); 631 tpm_waitfor(struct tpm_softc *sc, u_int8_t b0, int tmo, void *c) argument 662 return tpm_waitfor_int(sc, b, tmo, c, 668 rv = tpm_waitfor_int(sc, b, tmo, [all...] |