/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | rtime_tli.c | 105 int msec; local 120 msec = __rpc_timeval_to_msec(timeout); 122 res = poll(&pfd, 1, msec);
|
H A D | clnt_bcast.c | 134 int msec; local 328 for (msec = inittime; msec <= waittime; msec += msec) { 450 switch (pollretval = poll(pfd, fdlistno, msec)) {
|
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | timers.c | 181 void *sh_timeradd(unsigned long msec,int flags,void (*action)(void*),void *handle) argument 186 t = ((double)msec)/1000.;
|
/osnet-11/usr/src/lib/libinetutil/common/ |
H A D | tq.c | 82 insert_timer(iu_tq_t *tq, iu_timer_node_t *node, uint64_t msec) argument 95 node->iutn_abs_timeout = gethrtime() + (msec * (NANOSEC / MILLISEC));
|
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_print.c | 196 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,
|
/osnet-11/usr/src/lib/libpctx/common/ |
H A D | libpctx.c | 489 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...] |
/osnet-11/usr/src/lib/libdhcpagent/common/ |
H A D | dhcpagent_ipc.c | 187 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...] |
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | os-ip.c | 259 int msec = ld->ld_connect_timeout; /* milliseconds */ local 268 LDAPDebug( LDAP_DEBUG_TRACE, "nsldapi_connect_nonblock timeout: %d (msec)\n", 269 msec, 0, 0); 305 if (msec < 0 && msec != LDAP_X_IO_TIMEOUT_NO_TIMEOUT) { 309 msec = LDAP_X_IO_TIMEOUT_NO_TIMEOUT; 311 if (msec != 0) { 312 tval.tv_sec = msec / MILLISEC; 314 (msec % MILLISEC); 317 tv_time = (hrtime_t)msec * (NANOSE [all...] |
/osnet-11/usr/src/lib/libproc/common/ |
H A D | Pcontrol.c | 1635 uint_t msec) /* if non-zero, timeout in milliseconds */ 1672 ctl[2] = (long)msec; 1746 if (request == PCNULL || request == PCDSTOP || msec != 0) 1791 Pwait(struct ps_prochandle *P, uint_t msec) argument 1793 return (Pstopstatus(P, PCWSTOP, msec)); 1800 Pstop(struct ps_prochandle *P, uint_t msec) argument 1802 return (Pstopstatus(P, PCSTOP, msec)); 3228 uint_t msec) /* if non-zero, timeout in milliseconds */ 3263 ctl[2] = (long)msec; 3328 if (request == PCNULL || request == PCDSTOP || msec ! 1633 Pstopstatus(struct ps_prochandle *P, long request, uint_t msec) argument 3226 Lstopstatus(struct ps_lwphandle *L, long request, uint_t msec) argument 3361 Lwait(struct ps_lwphandle *L, uint_t msec) argument 3370 Lstop(struct ps_lwphandle *L, uint_t msec) argument [all...] |
/osnet-11/usr/src/lib/libdlpi/common/ |
H A D | libdlpi.c | 755 size_t *msglenp, int msec, dlpi_recvinfo_t *recvp) 772 retval = i_dlpi_strgetmsg(dip, msec, NULL, 0, 0, 0, msgbuf, 784 if ((retval = i_dlpi_strgetmsg(dip, msec, &ind, DL_UNITDATA_IND, 1343 * int msec: timeout to wait for message 1360 i_dlpi_strgetmsg(dlpi_impl_t *dip, int msec, dlpi_msg_t *dlreplyp, argument 1374 boolean_t infinite = (msec < 0); /* infinite timeout */ 1401 switch (poll(&pfd, 1, msec)) { 1516 msec -= (current - start); 1518 if (msec <= 0) 754 dlpi_recv(dlpi_handle_t dh, void *saddrp, size_t *saddrlenp, void *msgbuf, size_t *msglenp, int msec, dlpi_recvinfo_t *recvp) argument
|