Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/ktli/
H A Dt_kspoll.c86 clock_t timout; /* milliseconds */ in t_kspoll() local
100 timout = -1; in t_kspoll()
102 timout = TICK_TO_MSEC(timo); in t_kspoll()
117 error = kstrgetmsg(vp, NULL, NULL, &pri, &pflag, timout, &rval); in t_kspoll()
H A Dt_kutil.c95 clock_t timout; in tli_recv() local
99 timout = 0; in tli_recv()
101 timout = -1; in tli_recv()
106 error = kstrgetmsg(vp, bp, NULL, &pri, &pflag, timout, &rval); in tli_recv()
/illumos-gate/usr/src/cmd/bnu/
H A Ddkdial.c60 static SIGRTN timout(); /* Alarm signal handler */
99 SigWas = signal(SIGALRM, timout);
171 timout(arg) in timout() function
186 (void) signal(SIGALRM, timout); in setalarm()
/illumos-gate/usr/src/uts/common/io/
H A Dl_strplumb.c159 clock_t timout; /* milliseconds */ in kstr_msg() local
186 timout = timeo->tv_sec * 1000 + timeo->tv_nsec / 1000000; in kstr_msg()
187 if (timout > INT_MAX) in kstr_msg()
190 timout = -1; in kstr_msg()
196 error = kstrgetmsg(vp, rmp, NULL, &pri, &pflag, timout, &rval); in kstr_msg()
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dauthdesubr.c321 struct timeval timout; in rtime() local
337 timout.tv_sec = 60; in rtime()
338 timout.tv_usec = 0; in rtime()
341 (caddr_t)&srvtime, timout); in rtime()
H A Dauth_des.c432 struct timeval timout; in synchronize() local
434 timout.tv_sec = RTIME_TIMEOUT; in synchronize()
435 timout.tv_usec = 0; in synchronize()
436 if (rtime(synconfig, syncaddr, calltype, timep, &timout) < 0) in synchronize()
/illumos-gate/usr/src/uts/sun4/os/
H A Dmp_startup.c223 int timout; in start_cpu() local
248 for (timout = CPU_WAKEUP_GRACE_MSEC; timout; timout--) { in start_cpu()
253 if (timout == 0) { in start_cpu()
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dfake_ktli.c278 clock_t timout; /* milliseconds */ in t_kspoll() local
289 timout = -1; in t_kspoll()
291 timout = TICK_TO_MSEC(timo); in t_kspoll()
298 n = poll(pfds, 1, timout); in t_kspoll()
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfssys.h138 time_t timout; /* client handle life (asynch RPCs) */ member
151 time32_t timout; /* client handle life (asynch RPCs) */ member
/illumos-gate/usr/src/uts/common/rpc/
H A Dclnt_cots.c1188 clock_t timout; in clnt_cots_kcallit() local
1197 timout = wait.tv_sec * drv_usectohz(1000000) + in clnt_cots_kcallit()
1207 &call->call_lock, timout)) > 0 && in clnt_cots_kcallit()
1213 &call->call_lock, timout)) > 0 && in clnt_cots_kcallit()
1709 clock_t timout, cv_stat; in connmgr_cwait() local
1729 timout = waitp->tv_sec * drv_usectohz(1000000) + in connmgr_cwait()
1734 &connmgr_lock, timout)) > 0 && in connmgr_cwait()
1739 &connmgr_lock, timout)) > 0 && in connmgr_cwait()
2477 clock_t timout; in connmgr_dis_and_wait() local
2492 &connmgr_lock, timout, TR_CLOCK_TICK); in connmgr_dis_and_wait()
[all …]
H A Dclnt_clts.c478 clock_t ori_timout, timout; in clnt_clts_kcallit_addr() local
490 timout = TIMEVAL_TO_TICK(&wait); in clnt_clts_kcallit_addr()
491 ori_timout = timout; in clnt_clts_kcallit_addr()
636 clock_t cv_timout = timout; in clnt_clts_kcallit_addr()
959 timout = backoff(timout); in clnt_clts_kcallit_addr()
961 p->cku_timeall->rt_rtxcur = timout; in clnt_clts_kcallit_addr()
H A Drpcib.c2180 clock_t timout, cv_wait_ret; in rib_sendwait() local
2190 timout = drv_usectohz(SEND_WAIT_TIME * 1000000) + in rib_sendwait()
2195 &wd->sendwait_lock, timout)) > 0 && in rib_sendwait()
2210 &wd->sendwait_lock, timout)) > 0 && in rib_sendwait()
2669 clock_t timout, cv_wait_ret; in rib_recv() local
2688 timout = ddi_get_lbolt() + in rib_recv()
2692 &qp->replylist_lock, timout)) > 0 && in rib_recv()
4223 clock_t cv_stat, timout; in rib_find_hca_connection() local
4283 timout = ddi_get_lbolt() + in rib_find_hca_connection()
4286 &cn->c_lock, timout)) > 0 && in rib_find_hca_connection()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_sys.c229 lsa.timout = STRUCT_FGET(ulsa, timout); in nfssys()
H A Dnfs_dump.c475 clock_t timout = TIMEOUT * (retry + 1); in nd_poll() local
482 while (!*eventp && ((ddi_get_lbolt() - start_bolt) < timout)) { in nd_poll()
/illumos-gate/usr/src/cmd/fs.d/nfs/lockd/
H A Dlockd.c92 .timout = 5 * 60,
296 MyName, lmargs.debug, lmargs.timout, in main()
/illumos-gate/usr/src/uts/common/os/
H A Daio.c418 timeval2reltime(struct timeval *timout, timestruc_t *rqtime, in timeval2reltime() argument
428 if (timout == NULL) { /* wait indefinitely */ in timeval2reltime()
438 if ((intptr_t)timout == (intptr_t)-1) { /* don't wait */ in timeval2reltime()
443 if (copyin(timout, &wait_time, sizeof (wait_time))) in timeval2reltime()
452 if ((intptr_t)timout == (intptr_t)((uint32_t)-1)) { in timeval2reltime()
457 if (copyin(timout, &wait_time_32, sizeof (wait_time_32))) in timeval2reltime()
481 timespec2reltime(timespec_t *timout, timestruc_t *rqtime, in timespec2reltime() argument
490 if (timout == NULL) { in timespec2reltime()
496 if (copyin(timout, rqtime, sizeof (*rqtime))) in timespec2reltime()
501 if (copyin(timout, &wait_time_32, sizeof (wait_time_32))) in timespec2reltime()
[all …]
H A Ddriver_lyr.c2201 clock_t timout; /* milliseconds */ in ldi_getmsg() local
2215 timout = timeo->tv_sec * 1000 + timeo->tv_nsec / 1000000; in ldi_getmsg()
2216 if (timout > INT_MAX) in ldi_getmsg()
2219 timout = -1; in ldi_getmsg()
2226 rmp, NULL, &pri, &pflag, timout, &rval); in ldi_getmsg()
H A Dstreamio.c7197 clock_t timout, in kstrgetmsg() argument
7375 fmode, timout, &done))) != 0 || done) { in kstrgetmsg()
H A Dstrsubr.c3024 strwaitq(stdata_t *stp, int flag, ssize_t count, int fmode, clock_t timout, in strwaitq() argument
3119 rval = str_cv_wait(sleepon, &stp->sd_lock, timout, flag & STR_NOSIG); in strwaitq()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_capture.c858 strioctl(int fd, int cmd, int timout, int len, void *dp) in strioctl() argument
864 sioc.ic_timout = timout; in strioctl()
/illumos-gate/usr/src/uts/common/klm/
H A Dklmmod.c272 g->cn_idle_tmo = args->timout; in lm_svc()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rarpd.c983 strioctl(int fd, int cmd, int timout, int len, char *dp) in strioctl() argument
988 si.ic_timout = timout; in strioctl()
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsocktpi.c2934 clock_t timout; in sotpi_recvmsg() local
3040 timout = 0; in sotpi_recvmsg()
3042 timout = TICK_TO_MSEC(so->so_rcvtimeo); in sotpi_recvmsg()
3044 timout = -1; in sotpi_recvmsg()
3051 timout, &rval); in sotpi_recvmsg()
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dst.c9599 clock_t timout; in st_intr() local
9872 timout = ST_STATUS_BUSY_TIMEOUT; in st_intr()
9877 timout = ST_TRAN_BUSY_TIMEOUT; in st_intr()
9892 if (st_handle_intr_busy(un, bp, timout) == 0) in st_intr()
17053 int timout = ST_TRAN_BUSY_TIMEOUT; /* short (default) timeout */ in st_recov_cb() local
17146 timout = ST_STATUS_BUSY_TIMEOUT; in st_recov_cb()
17164 if (st_handle_intr_busy(un, bp, timout) == 0) { in st_recov_cb()