Home
last modified time | relevance | path

Searched refs:tmo (Results 1 – 24 of 24) sorted by relevance

/freebsd/stand/libsa/
H A Dnet.c87 time_t t, tmo, tlast; in sendrecv() local
96 tmo = MINTMO; in sendrecv()
106 if (tmo >= MAXTMO) { in sendrecv()
115 tleft = tmo; in sendrecv()
116 tmo += MINTMO; in sendrecv()
117 if (tmo > MAXTMO) in sendrecv()
118 tmo = MAXTMO; in sendrecv()
122 while ((getsecs() - t) < tmo) in sendrecv()
/freebsd/contrib/sendmail/libsm/
H A Dnotify.h22 #define SM_MICROS2TVAL(tmo, tval, timeout) \ argument
25 if (tmo < 0) \
29 timeout.tv_sec = (long) (tmo / SM_MICROS); \
30 timeout.tv_usec = tmo % SM_MICROS; \
H A Dnotify.c166 sm_notify_rcv(buf, buflen, tmo) in sm_notify_rcv() argument
169 long tmo;
182 SM_MICROS2TVAL(tmo, tval, timeout);
H A Dldap.c125 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;
470 sm_ldap_geterrno(ld), errmsg, (long long) tmo.tv_sec);
488 tmo.tv_sec == 0 ? NULL : &(tmo), &(lmap->ldap_res));
/freebsd/contrib/netbsd-tests/lib/libc/gen/
H A Dt_sleep.c157 int tmo; in do_kevent() local
161 tmo = KEVNT_TIMEOUT; in do_kevent()
169 tmo/1000 < delay->tv_sec && tmo/500 > delay->tv_sec) in do_kevent()
172 EV_SET(&ktimer, 1, EVFILT_TIMER, EV_ADD, 0, tmo, 0); in do_kevent()
185 if (delay->tv_sec * BILLION + delay->tv_nsec > tmo * MILLION) in do_kevent()
/freebsd/sys/dev/acpica/Osd/
H A DOsdSynch.c153 int error, prevtick, slptick, tmo; in AcpiOsWaitSemaphore() local
206 tmo = timeout2hz(Timeout); in AcpiOsWaitSemaphore()
210 error = cv_timedwait_sig(&as->as_cv, &as->as_lock, tmo); in AcpiOsWaitSemaphore()
219 if (slptick >= tmo || slptick < 0) { in AcpiOsWaitSemaphore()
223 tmo -= slptick; in AcpiOsWaitSemaphore()
361 int error, prevtick, slptick, tmo; in AcpiOsAcquireMutex() local
416 tmo = timeout2hz(Timeout); in AcpiOsAcquireMutex()
421 "acmtx", tmo); in AcpiOsAcquireMutex()
430 if (slptick >= tmo || slptick < 0) { in AcpiOsAcquireMutex()
434 tmo -= slptick; in AcpiOsAcquireMutex()
/freebsd/contrib/sendmail/src/
H A Dsched.c106 long tmo; in qm() local
122 tmo = -1; in qm()
137 r = sm_notify_rcv(buf, sizeof(buf), tmo); in qm()
H A Dsfsasl.c363 sfdcsasl(fin, fout, conn, tmo) in sfdcsasl() argument
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 Dmap.c8292 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 Dsrvrsmtp.c1894 int tmo; local
1902 tmo = TimeOuts.to_datablock * 1000;
1904 conn, tmo) == 0)
H A Ddeliver.c4075 int tmo; local
4083 tmo = DATA_PROGRESS_TIMEOUT * 1000;
4086 mci->mci_conn, tmo) == 0)
/freebsd/sys/dev/smartpqi/
H A Dsmartpqi_init.c349 int tmo = 0; in pqisrc_check_pqimode() local
355 tmo = PQISRC_PQIMODE_READY_TIMEOUT; in pqisrc_check_pqimode()
365 } while (tmo--); in pqisrc_check_pqimode()
369 if (tmo <= 0) { in pqisrc_check_pqimode()
375 tmo = PQISRC_PQIMODE_READY_TIMEOUT; in pqisrc_check_pqimode()
378 PQI_ADMINQ_CONFIG) == PQI_ADMIN_QUEUE_CONF_FUNC_STATUS_IDLE), tmo); in pqisrc_check_pqimode()
379 if (!tmo) { in pqisrc_check_pqimode()
386 tmo = PQISRC_PQIMODE_READY_TIMEOUT; in pqisrc_check_pqimode()
389 PQI_DEV_STATE_AT_INIT, tmo); in pqisrc_check_pqimode()
390 if (!tmo) { in pqisrc_check_pqimode()
H A Dsmartpqi_queue.c41 int tmo = PQISRC_ADMIN_CMD_RESP_TIMEOUT; in pqisrc_submit_admin_req() local
69 COND_WAIT((*(ob_q->pi_virt_addr) != ob_q->ci_local), tmo); in pqisrc_submit_admin_req()
70 if (tmo <= 0) { in pqisrc_submit_admin_req()
72 DBG_ERR("tmo : %d\n",tmo); \ in pqisrc_submit_admin_req()
321 int tmo = 0; in pqisrc_create_delete_adminq() local
329 tmo = PQISRC_ADMIN_QUEUE_CREATE_TIMEOUT; in pqisrc_create_delete_adminq()
331 tmo = PQISRC_ADMIN_QUEUE_DELETE_TIMEOUT; in pqisrc_create_delete_adminq()
335 PQI_ADMIN_QUEUE_CONF_FUNC_STATUS_IDLE), tmo); in pqisrc_create_delete_adminq()
336 if (tmo <= 0) { in pqisrc_create_delete_adminq()
H A Dsmartpqi_event.c68 int tmo = PQISRC_EVENT_ACK_RESP_TIMEOUT; in pqisrc_acknowledge_event() local
94 COND_WAIT(((ib_q->pi_local) == *(ib_q->ci_virt_addr)), tmo); in pqisrc_acknowledge_event()
95 if (tmo <= 0) { in pqisrc_acknowledge_event()
97 DBG_ERR("tmo : %d\n",tmo); in pqisrc_acknowledge_event()
/freebsd/sys/dev/tpm/
H A Dtpm.c485 tpm_tmotohz(int tmo) in tpm_tmotohz() argument
489 tv.tv_sec = tmo / 1000; in tpm_tmotohz()
490 tv.tv_usec = 1000 * (tmo % 1000); in tpm_tmotohz()
541 tpm_waitfor_poll(struct tpm_softc *sc, u_int8_t mask, int tmo, void *c) in tpm_waitfor_poll() argument
549 while (((sc->sc_stat = tpm_status(sc)) & mask) != mask && tmo--) { in tpm_waitfor_poll()
564 tpm_waitfor_int(struct tpm_softc *sc, u_int8_t mask, int tmo, void *c, in tpm_waitfor_int() argument
596 to = tpm_tmotohz(tmo); in tpm_waitfor_int()
631 tpm_waitfor(struct tpm_softc *sc, u_int8_t b0, int tmo, void *c) in tpm_waitfor() argument
662 return tpm_waitfor_int(sc, b, tmo, c, in tpm_waitfor()
668 rv = tpm_waitfor_int(sc, b, tmo, c, TPM_STS_VALID_INT); in tpm_waitfor()
[all …]
/freebsd/contrib/ofed/infiniband-diags/src/
H A Dmcm_rereg_test.c184 uint8_t * umad, int length, int tmo) in rereg_recv() argument
189 while ((ret = umad_recv(port, umad, &len, tmo)) < 0 && in rereg_recv()
/freebsd/sys/contrib/device-tree/Bindings/arm/
H A Dux500.yaml45 - const: samsung,codina-tmo
/freebsd/sys/dev/firmware/arm/
H A Dscmi_smc.c115 scmi_smc_poll_msg(device_t dev, struct scmi_msg *msg, unsigned int tmo) in scmi_smc_poll_msg() argument
H A Dscmi_if.m50 unsigned int tmo;
/freebsd/sys/dev/oce/
H A Doce_hw.c54 int tmo = 60000; in oce_POST() local
67 if (--tmo == 0) in oce_POST()
H A Doce_mbox.c373 uint32_t tmo = 0; in oce_mbox_post() local
382 tmo = mbx->tag[0]; in oce_mbox_post()
389 rc = oce_mbox_dispatch(sc, tmo); in oce_mbox_post()
/freebsd/sys/dev/isp/
H A Disp_freebsd.h271 struct callout tmo; /* general timer */ member
H A Disp_freebsd.c263 callout_init_mtx(&isp->isp_osinfo.tmo, &isp->isp_lock, 0); in isp_attach()
265 callout_reset(&isp->isp_osinfo.tmo, isp_timer_count, isp_timer, isp); in isp_attach()
299 callout_drain(&isp->isp_osinfo.tmo); in isp_detach()
3481 callout_reset(&isp->isp_osinfo.tmo, isp_timer_count, isp_timer, isp); in isp_timer()
/freebsd/sys/contrib/device-tree/src/arm/st/
H A Dste-ux500-samsung-codina-tmo.dts31 compatible = "samsung,codina-tmo", "st-ericsson,u8500";