/freebsd/stand/libsa/ |
H A D | net.c | 87 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/ofed/infiniband-diags/src/ |
H A D | mcm_rereg_test.c | 57 #define TMO 100 macro 103 if (umad_send(port, agent, umad, len, TMO, 0) < 0) { in rereg_send() 124 if (umad_send(port, agent, umad, len, TMO, 0) < 0) { in rereg_port_gid() 132 if (umad_send(port, agent, umad, len, TMO, 0) < 0) { in rereg_port_gid() 184 uint8_t * umad, int length, int tmo) in rereg_recv() argument 189 while ((ret = umad_recv(port, umad, &len, tmo)) < 0 && in rereg_recv() 224 while (rereg_recv(port, agent, dport, umad, len, TMO) > 0) { in rereg_recv_all() 288 ret = rereg_recv(port, agent, dport, umad, len, TMO); in rereg_query_all() 390 rereg_and_test_port(guid_file, port, agent, &dport_id, TMO); in main()
|
/freebsd/sys/dev/acpica/Osd/ |
H A D | OsdSynch.c | 153 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/libsm/ |
H A D | notify.h | 22 #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 D | notify.c | 157 ** tmo -- timeout (micro seconds) 166 sm_notify_rcv(buf, buflen, tmo) in sm_notify_rcv() argument 169 long tmo; 182 SM_MICROS2TVAL(tmo, tval, timeout);
|
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.tv_sec); [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_sleep.c | 157 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/smartpqi/ |
H A D | smartpqi_init.c | 349 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 D | smartpqi_queue.c | 41 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 D | smartpqi_event.c | 68 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/contrib/sendmail/src/ |
H A D | sched.c | 106 long tmo; in qm() local 122 tmo = -1; in qm() 137 r = sm_notify_rcv(buf, sizeof(buf), tmo); in qm()
|
H A D | sfsasl.c | 351 ** tmo -- timeout 363 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);
|
/freebsd/sys/dev/tpm/ |
H A D | tpm.c | 485 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/sys/contrib/device-tree/Bindings/arm/ |
H A D | ux500.yaml | 45 - const: samsung,codina-tmo
|
/freebsd/sys/contrib/device-tree/src/arm/st/ |
H A D | ste-ux500-samsung-codina-tmo.dts | 3 * Devicetree for the Samsung Galaxy Exhibit SGH-T599 also known as Codina-TMO, 4 * the "TMO" shall be read "T-Mobile" as this phone was produced exlusively 31 compatible = "samsung,codina-tmo", "st-ericsson,u8500"; 183 /* GPIO69 is used on Codina R0.4 and Codina TMO */
|
H A D | ste-ux500-samsung-codina.dts | 17 * There is also the Codina-TMO, Samsung SGH-T599, which has its own device 251 * GPIO68 is for R0.0, the board file talks about a TMO variant
|
/freebsd/sys/contrib/device-tree/Bindings/arm/tegra/ |
H A D | nvidia,tegra194-cbb.yaml | 61 non-secure interrupt is received for TMO & DEC errors.
|
/freebsd/sbin/nvmecontrol/ |
H A D | reconnect.c | 141 OPT("keep-alive-tmo", 'k', arg_uint32, opt, kato,
|
H A D | connect.c | 242 OPT("keep-alive-tmo", 'k', arg_uint32, opt, kato,
|
/freebsd/sys/dev/oce/ |
H A D | oce_hw.c | 54 int tmo = 60000; in oce_POST() local 67 if (--tmo == 0) in oce_POST()
|
H A D | oce_mbox.c | 373 uint32_t tmo = 0; in oce_mbox_post() local 381 /* get the tmo */ in oce_mbox_post() 382 tmo = mbx->tag[0]; in oce_mbox_post() 389 rc = oce_mbox_dispatch(sc, tmo); in oce_mbox_post()
|
/freebsd/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) in scmi_smc_poll_msg() argument
|
/freebsd/libexec/bootpd/tools/bootptest/ |
H A D | print-bootp.c | 246 "lLL-arp-tmo", /* 35: ARP cache timeout */ 251 "lTCP-KA-tmo", /* 38: keepalive time interval */
|
/freebsd/sys/dev/isp/ |
H A D | isp_freebsd.h | 270 struct callout tmo; /* general timer */ 271 struct callout tmo; /* general timer */ global() member
|
H A D | isp_freebsd.c | 263 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() 3471 callout_reset(&isp->isp_osinfo.tmo, isp_timer_count, isp_timer, isp);
|