Searched defs:msec (Results 1 - 23 of 23) sorted by relevance

/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dkmisc.c68 int msec = ticks; /* NB: hz==1000 */ local
69 (void) poll(0, 0, msec);
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Drtime_tli.c105 int msec; local
120 msec = __rpc_timeval_to_msec(timeout);
122 res = poll(&pfd, 1, msec);
H A Dclnt_bcast.c137 int msec; local
331 for (msec = inittime; msec <= waittime; msec += msec) {
453 switch (pollretval = poll(pfd, fdlistno, msec)) {
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dtimers.c181 void *sh_timeradd(unsigned long msec,int flags,void (*action)(void*),void *handle) argument
186 t = ((double)msec)/1000.;
/illumos-gate/usr/src/lib/libinetutil/common/
H A Dtq.c85 insert_timer(iu_tq_t *tq, iu_timer_node_t *node, uint64_t msec) argument
98 node->iutn_abs_timeout = gethrtime() + MSEC2NSEC(msec);
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_print.c196 long long sec, msec, usec; local
200 msec = usec / 1000;
201 sec = msec / 1000;
202 msec %= 1000;
205 (void) snprintf(buf, sizeof (buf), "%4lld:%03lld:%03lld", sec, msec,
/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcpagent_ipc.c187 dhcp_ipc_recv_msg(int fd, void **msg, uint32_t base_length, int msec) argument
193 retval = dhcp_ipc_timed_read(fd, &length, sizeof (uint32_t), &msec);
204 retval = dhcp_ipc_timed_read(fd, *msg, length, &msec);
239 dhcp_ipc_recv_request(int fd, dhcp_ipc_request_t **request, int msec) argument
244 msec);
973 dhcp_ipc_timed_read(int fd, void *buffer, unsigned int length, int *msec) argument
988 retv = poll(&pollfd, 1, *msec);
990 /* This can happen only if *msec is not -1 */
991 *msec = 0;
995 if (*msec !
[all...]
/illumos-gate/usr/src/lib/libpctx/common/
H A Dlibpctx.c489 msincr(struct timeval *tv, uint_t msec) argument
491 tv->tv_sec += msec / MILLISEC;
492 tv->tv_usec += (msec % MILLISEC) * MILLISEC;
521 uint_t msec,
536 if (msec == 0)
558 if (msec != 0) {
564 msincr(&tvgoal, msec);
582 if (msec != 0) {
596 msincr(&tvgoal, msec);
664 msincr(&tvgoal, msec);
519 pctx_run( pctx_t *pctx, uint_t msec, uint_t nsamples, int (*tick)(pctx_t *, pid_t, id_t, void *)) argument
[all...]
/illumos-gate/usr/src/cmd/vrrpadm/
H A Dvrrpadm.c733 int sec, msec, min; local
735 msec = mill % 1000;
743 (void) snprintf(str, len, "%4d.%03ds", sec, msec);
/illumos-gate/usr/src/lib/print/libhttp-core/common/
H A Dhttp.c119 static int http_wait(http_t *http, int msec);
1131 int msec) /* I - Milliseconds to wait */
1147 return (http_wait(http, msec));
2095 int msec) /* I - Milliseconds to wait */
2105 DEBUG_printf(("http_wait(http=%p, msec=%d)\n", http, msec));
2166 if (msec >= 0)
2168 timeout.tv_sec = msec / 1000;
2169 timeout.tv_usec = (msec % 1000) * 1000;
1130 httpWait(http_t *http, int msec) argument
2094 http_wait(http_t *http, int msec) argument
/illumos-gate/usr/src/lib/libdlpi/common/
H A Dlibdlpi.c717 size_t *msglenp, int msec, dlpi_recvinfo_t *recvp)
734 retval = i_dlpi_strgetmsg(dip, msec, NULL, 0, 0, 0, msgbuf,
746 if ((retval = i_dlpi_strgetmsg(dip, msec, &ind, DL_UNITDATA_IND,
1286 * int msec: timeout to wait for message
1303 i_dlpi_strgetmsg(dlpi_impl_t *dip, int msec, dlpi_msg_t *dlreplyp, argument
1317 boolean_t infinite = (msec < 0); /* infinite timeout */
1344 switch (poll(&pfd, 1, msec)) {
1459 msec -= (current - start);
1461 if (msec <= 0)
716 dlpi_recv(dlpi_handle_t dh, void *saddrp, size_t *saddrlenp, void *msgbuf, size_t *msglenp, int msec, dlpi_recvinfo_t *recvp) argument
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dos-ip.c260 int msec = ld->ld_connect_timeout; /* milliseconds */ local
269 LDAPDebug( LDAP_DEBUG_TRACE, "nsldapi_connect_nonblock timeout: %d (msec)\n",
270 msec, 0, 0);
306 if (msec < 0 && msec != LDAP_X_IO_TIMEOUT_NO_TIMEOUT) {
310 msec = LDAP_X_IO_TIMEOUT_NO_TIMEOUT;
312 if (msec != 0) {
313 tval.tv_sec = msec / MILLISEC;
315 (msec % MILLISEC);
318 tv_time = MSEC2NSEC(msec);
[all...]
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dliterals.h87 L_DECL(msec); variable
/illumos-gate/usr/src/cmd/fm/fmstat/common/
H A Dfmstat.c701 int msec = 0, iter = 1; local
761 msec = getint("interval", argv[optind++]) * MILLISEC;
807 (void) poll(NULL, 0, msec);
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Ddir.c824 * we allow for the optional (used only for creation times on FAT) "msec"
828 getNow(struct pctime *pctp, uchar_t *msec) argument
859 if (msec)
860 *msec = (tm.tm_sec & 1) ? 100 : 0;
/illumos-gate/usr/src/cmd/mandoc/
H A Droff.h120 char *msec; /* Manual section, usually a digit. */ member in struct:roff_meta
/illumos-gate/usr/src/cmd/praudit/
H A Dformat.c2362 uint32_t scale = 1000; /* usec to msec */
2379 uint32_t scale = 1000000; /* nsec to msec */
2433 msec32(uint32_t msec, char *p) argument
2435 *p++ = msec / 100 + '0';
2436 msec = msec - msec / 100 * 100;
2437 *p++ = msec / 10 + '0';
2438 *p++ = msec % 10 +'0';
2512 uint64_t scale = 1000; /* usec to msec */
2539 msec64(uint64_t msec, char *p) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_export.c295 struct secinfo *msec; /* merged secinfo list */ local
321 msec = kmem_zalloc(tcnt * sizeof (struct secinfo), KM_SLEEP);
325 msec[c] = cursec[c];
338 srv_secinfo_copy(&newsec[n], &msec[mcnt]);
341 msec[mcnt].s_flags = M_RO;
343 SECREF_TRACE(msec, "new_ref",
344 msec[mcnt].s_secinfo.sc_nfsnum,
345 msec[mcnt].s_refcnt);
359 *pcursec = msec;
383 struct secinfo *msec; /* fina local
493 struct secinfo *msec; /* merged secinfo list */ local
619 struct secinfo *msec; /* merged secinfo list */ local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Droute.c2733 #define msec(u) (((u) + 500) / 1000) /* usec to msec */ macro
2740 (void) printf("%8d%c ", msec(rtm->rtm_rmx.rmx_rtt), lock(RTT));
2741 (void) printf("%8d%c ", msec(rtm->rtm_rmx.rmx_rttvar), lock(RTTVAR));
2748 #undef msec macro
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_main.c1051 hxge_start_timer(p_hxge_t hxgep, fptrv_t func, int msec) argument
1055 drv_usectohz(1000 * msec)));
/illumos-gate/usr/src/lib/libproc/common/
H A DPcontrol.c1830 uint_t msec) /* if non-zero, timeout in milliseconds */
1867 ctl[2] = (long)msec;
1941 if (request == PCNULL || request == PCDSTOP || msec != 0)
1986 Pwait(struct ps_prochandle *P, uint_t msec) argument
1988 return (Pstopstatus(P, PCWSTOP, msec));
1995 Pstop(struct ps_prochandle *P, uint_t msec) argument
1997 return (Pstopstatus(P, PCSTOP, msec));
3427 uint_t msec) /* if non-zero, timeout in milliseconds */
3462 ctl[2] = (long)msec;
3527 if (request == PCNULL || request == PCDSTOP || msec !
1828 Pstopstatus(struct ps_prochandle *P, long request, uint_t msec) argument
3425 Lstopstatus(struct ps_lwphandle *L, long request, uint_t msec) argument
3560 Lwait(struct ps_lwphandle *L, uint_t msec) argument
3569 Lstop(struct ps_lwphandle *L, uint_t msec) argument
[all...]
/illumos-gate/usr/src/uts/sun/io/eri/
H A Deri.c149 static void eri_start_timer(struct eri *erip, fptrv_t func, clock_t msec);
1795 * any RX DMA activity is subsided, we delay for 5 msec.
1830 * we delay for 1 msec.
4672 * If msec parameter is zero, just release "linklock".
4675 eri_start_timer(struct eri *erip, fptrv_t func, clock_t msec) argument
4677 if (msec) {
4681 drv_usectohz(1000*msec));
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_main.c1740 nxge_start_timer(p_nxge_t nxgep, fptrv_t func, int msec) argument
1744 drv_usectohz(1000 * msec)));

Completed in 129 milliseconds