/netbsd-current/sys/lib/libsa/ |
H A D | net.c | 91 saseconds_t tmo, tleft; local 98 tmo = MINTMO; 104 if (tmo >= MAXTMO) { 110 tleft = tmo; 111 tmo <<= 1; 112 if (tmo > MAXTMO) 113 tmo = MAXTMO; 117 while ((getsecs() - t) < tmo)
|
/netbsd-current/tests/lib/libc/gen/ |
H A D | t_sleep.c | 153 int tmo; local 157 tmo = KEVNT_TIMEOUT; 165 tmo/1000 < delay->tv_sec && tmo/500 > delay->tv_sec) 168 EV_SET(&ktimer, 1, EVFILT_TIMER, EV_ADD, 0, tmo, 0); 181 if (delay->tv_sec * BILLION + delay->tv_nsec > tmo * MILLION)
|
/netbsd-current/sys/arch/sun3/dev/ |
H A D | si.c | 384 int tmo; local 397 tmo = POLL_TIMO; 401 if (--tmo <= 0) { 410 POLL_TIMO - tmo);
|
H A D | si_obio.c | 440 int resid, ntrans, tmo, udc_cnt; local 474 tmo = 200000; /* X10 = 2 sec. */ 478 if (--tmo <= 0) {
|
H A D | si_sebuf.c | 672 int tmo; local 685 tmo = POLL_TIMO; 689 if (--tmo <= 0) { 698 POLL_TIMO - tmo);
|
H A D | if_ie.c | 1046 int tmo; local 1052 tmo = 10; 1053 while (scb->ie_command && --tmo) 1072 tmo = 36900; 1081 while (((cc->ie_cmd_status & mask) == 0) && --tmo)
|
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
H A D | amdgpu_ib.c | 364 long tmo; local 379 tmo = tmo_mm; 381 tmo = tmo_gfx; 383 r = amdgpu_ring_test_ib(ring, tmo);
|
H A D | amdgpu_device.c | 3843 long r = 1, tmo; local 3846 tmo = msecs_to_jiffies(8000); 3848 tmo = msecs_to_jiffies(100); 3865 tmo = dma_fence_wait_timeout(fence, false, tmo); 3868 if (tmo == 0) { 3871 } else if (tmo < 0) { 3872 r = tmo; 3882 tmo = dma_fence_wait_timeout(fence, false, tmo); [all...] |
/netbsd-current/external/bsd/am-utils/dist/amq/ |
H A D | pawd.c | 181 struct timeval tmo = {10, 0}; local 203 clnt = clntudp_create(&server_addr, AMQ_PROGRAM, AMQ_VERSION, tmo, &s);
|
/netbsd-current/sys/dev/ic/ |
H A D | tpm.c | 88 tpm_tmotohz(int tmo) argument 92 tv.tv_sec = tmo / 1000; 93 tv.tv_usec = 1000 * (tmo % 1000); 374 tpm_waitfor(struct tpm_softc *sc, uint8_t bits, int tmo, wchan_t chan) argument 379 to = tpm_tmotohz(tmo); 457 int tmo; local 469 tmo = TPM_ACCESS_TMO; /* Milliseconds. */ 472 (TPM_ACCESS_VALID | TPM_ACCESS_ACTIVE_LOCALITY) && tmo--) {
|
H A D | ciss.c | 965 cmd->tmo = htole16(0); 997 cmd->tmo = htole16(30); 1039 cmd->tmo = 0; 1069 cmd->tmo = htole16(0); 1097 cmd->tmo = htole16(0); 1125 cmd->tmo = htole16(0); 1220 cmd->tmo = htole16(xs->timeout < 1000? 1 : xs->timeout / 1000); 1621 cmd->tmo = htole16(0);
|
H A D | sunscpal.c | 287 int tmo; local 294 tmo = POLL_TIMO; 298 if (--tmo <= 0) { 306 SUNSCPAL_TRACE("sunscpal_dma_poll: waited %d\n", POLL_TIMO - tmo);
|
H A D | cissreg.h | 485 u_int16_t tmo; /* 16: timeout in seconds */ member in struct:ciss_cmd
|
/netbsd-current/sbin/fdisk/ |
H A D | fdisk.c | 734 int tmo; local 739 tmo = le16toh(mboot.mbr_bootsel.mbrbs_timeo); 740 if (tmo == 0xffff) 744 (10 * tmo + 9) / 182); 1550 int tmo; local 1570 tmo = le16toh(mbs->mbrbs_timeo); 1571 tmo = tmo == 0xffff ? -1 : (10 * tmo + 9) / 182; 1572 tmo 2690 unsigned int tmo; local [all...] |
/netbsd-current/usr.sbin/sysinst/ |
H A D | run.c | 422 struct timeval tmo; local 533 tmo.tv_sec = flags & RUN_SILENT ? 20 : 2; 534 tmo.tv_usec = 0; 535 i = select(FD_SETSIZE, &read_fd_set, NULL, NULL, &tmo);
|
/netbsd-current/sys/dev/scsipi/ |
H A D | ch.c | 1123 int tmo; local 1144 tmo = sc->sc_counts[CHET_MT] + 1148 tmo *= 5 * 60 * 1000; 1149 tmo += (10 * 60 * 1000); 1152 CHRETRIES, tmo, NULL, XS_CTL_IGNORE_ILLEGAL_REQUEST));
|
H A D | st.c | 1709 int tmo; local 1721 tmo = ST_SPC_TIME; 1723 tmo = ST_IO_TIME; 1734 ST_RETRIES, tmo, NULL, flags);
|
/netbsd-current/sys/dev/spi/ |
H A D | spiflash.c | 751 spiflash_wait(spiflash_handle_t sc, int tmo) argument 767 if (tmo) 768 tsleep(&sr, PWAIT, "spiflash_wait", tmo);
|
/netbsd-current/sys/arch/sparc/dev/ |
H A D | sw.c | 589 int tmo, csr_mask, csr; local 598 tmo = 50000; /* X100 = 5 sec. */ 603 if (--tmo <= 0) {
|
/netbsd-current/sys/dev/vme/ |
H A D | si.c | 561 int tmo, csr_mask, csr; local 570 tmo = 50000; /* X100 = 5 sec. */ 575 if (--tmo <= 0) {
|
/netbsd-current/usr.sbin/mrouted/ |
H A D | defs.h | 211 u_int32_t group, int tmo);
|
H A D | vif.c | 498 accept_membership_query(u_int32_t src, u_int32_t dst, u_int32_t group, int tmo) argument
|
/netbsd-current/usr.sbin/mrinfo/ |
H A D | mrinfo.c | 597 int tmo) 596 accept_membership_query(u_int32_t src, u_int32_t dst, u_int32_t group, int tmo) argument
|
/netbsd-current/sys/arch/x86/acpi/ |
H A D | acpi_cpu_md.c | 932 uint32_t vid, uint32_t cnt, uint32_t tmo) 942 DELAY(tmo); 931 acpicpu_md_pstate_fidvid_write(uint32_t fid, uint32_t vid, uint32_t cnt, uint32_t tmo) argument
|
/netbsd-current/usr.sbin/map-mbone/ |
H A D | mapper.c | 971 int tmo) 970 accept_membership_query(u_int32_t src, u_int32_t dst, u_int32_t group, int tmo) argument
|