Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/ndmpd/tlm/
H A Dtlm_buffers.c287 tlm_buffer_setup_timer(timestruc_t *timo, unsigned milli_timo) in tlm_buffer_setup_timer() argument
293 timo->tv_sec = (milli_timo / 1000); in tlm_buffer_setup_timer()
295 timo->tv_sec = 0; in tlm_buffer_setup_timer()
296 timo->tv_nsec = (milli_timo % 1000) * 1000000L; in tlm_buffer_setup_timer()
309 timestruc_t timo; in tlm_buffer_in_buf_timed_wait() local
311 tlm_buffer_setup_timer(&timo, milli_timo); in tlm_buffer_in_buf_timed_wait()
315 (void) cond_reltimedwait(&bufs->tbs_in_cv, &bufs->tbs_mtx, &timo); in tlm_buffer_in_buf_timed_wait()
335 timestruc_t timo; in tlm_buffer_out_buf_timed_wait() local
337 tlm_buffer_setup_timer(&timo, milli_timo); in tlm_buffer_out_buf_timed_wait()
341 (void) cond_reltimedwait(&bufs->tbs_out_cv, &bufs->tbs_mtx, &timo); in tlm_buffer_out_buf_timed_wait()
/titanic_41/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_smb.c85 uint32_t *lenp, uio_t *uiop, smb_cred_t *scred, int timo);
87 uint32_t *lenp, uio_t *uiop, smb_cred_t *scred, int timo);
90 uint32_t *lenp, uio_t *uiop, smb_cred_t *scred, int timo);
92 uint32_t *lenp, uio_t *uiop, smb_cred_t *scred, int timo);
610 uio_t *uiop, smb_cred_t *scred, int timo) in smb_rwuio() argument
667 error = (*iofun)(ssp, fid, &rlen, uiop, scred, timo); in smb_rwuio()
679 timo = 0; /* only first I/O should wait */ in smb_rwuio()
696 uio_t *uiop, smb_cred_t *scred, int timo) in smb_smb_readx() argument
731 if (timo == 0) in smb_smb_readx()
732 timo = smb_timo_read; in smb_smb_readx()
[all …]
H A Dsmb_subr.h159 int smb_smb_echo(smb_vc_t *vcp, smb_cred_t *scred, int timo);
182 uio_t *uiop, smb_cred_t *scred, int timo);
H A Dsmb_trantcp.c99 int events, fmode, timo, waitflg; in nb_getmsg_mlen() local
124 timo = SEC_TO_TICK(SMB_NBTIMO); in nb_getmsg_mlen()
125 error = t_kspoll(nbp->nbp_tiptr, timo, waitflg, &events); in nb_getmsg_mlen()
/titanic_41/usr/src/uts/common/rpc/sec/
H A Dauthdesubr.c82 int timo; in rtime() local
137 timo = TIMEVAL_TO_TICK(wait); in rtime()
139 RPCLOG(8, "rtime: timo %x\n", timo); in rtime()
140 if ((error = t_kspoll(tiptr, timo, READWAIT, in rtime()
232 timo = TIMEVAL_TO_TICK(wait); in rtime()
234 RPCLOG(8, "rtime: timo %x\n", timo); in rtime()
242 error = t_kspoll(tiptr, timo, READWAIT, &type); in rtime()
/titanic_41/usr/src/lib/libbc/libc/net/
H A Drexec.c52 int s, timo = 1, s3; in rexec() local
75 if (errno == ECONNREFUSED && timo <= 16) { in rexec()
77 sleep(timo); in rexec()
78 timo *= 2; in rexec()
H A Drcmd.c41 int s, timo = 1, pid, oldmask, retval; in rcmd() local
76 if (errno == ECONNREFUSED && timo <= 16) { in rcmd()
77 sleep(timo); in rcmd()
78 timo *= 2; in rcmd()
/titanic_41/usr/src/uts/common/ktli/
H A Dt_kspoll.c83 t_kspoll(TIUSER *tiptr, int timo, int waitflg, int *events) in t_kspoll() argument
101 if (timo < 0) in t_kspoll()
104 timout = TICK_TO_MSEC(timo); in t_kspoll()
/titanic_41/usr/src/cmd/lp/model/netpr/
H A Dtcp_misc.c76 unsigned timo = 1; in tcp_open() local
123 if (errno == ECONNREFUSED && timo <= 16) { in tcp_open()
124 (void) sleep(timo); in tcp_open()
125 timo *= 2; in tcp_open()
H A Dnetpr.c83 unsigned timo = 1; in net_open() local
146 if (errno == ECONNREFUSED && timo <= 16) { in net_open()
147 (void) sleep(timo); in net_open()
148 timo *= 2; in net_open()
/titanic_41/usr/src/cmd/backup/lib/
H A Dmyrcmd.c70 int s, timo, retval; in myrcmd() local
141 timo = 1; in myrcmd()
186 if (saverr == ECONNREFUSED && timo <= 16) { in myrcmd()
187 sleep(timo); in myrcmd()
188 timo *= 2; in myrcmd()
/titanic_41/usr/src/lib/libsocket/inet/
H A Drexec.c72 int s, timo = 1, s3; in rexec_af() local
112 if (errno == ECONNREFUSED && timo <= 16) { in rexec_af()
114 (void) sleep(timo); in rexec_af()
115 timo *= 2; in rexec_af()
H A Drcmd.c101 int s, timo = 1; in rcmd_af() local
225 if (errno == ECONNREFUSED && timo <= 16) { in rcmd_af()
226 (void) sleep(timo); in rcmd_af()
227 timo *= 2; in rcmd_af()
/titanic_41/usr/src/lib/libc/port/aio/
H A Dposix_aio.c341 __aio_suspend(void **list, int nent, const timespec_t *timo, int largefile) in __aio_suspend() argument
370 if (timo) { in __aio_suspend()
371 if (timo->tv_sec < 0 || timo->tv_nsec < 0 || in __aio_suspend()
372 timo->tv_nsec >= NANOSEC) { in __aio_suspend()
377 if (timo->tv_sec > 0 || timo->tv_nsec > 0) { in __aio_suspend()
444 list, nent, timo, -1); in __aio_suspend()
479 hrtend = hrtstart + (hrtime_t)timo->tv_sec * (hrtime_t)NANOSEC + in __aio_suspend()
480 (hrtime_t)timo->tv_nsec; in __aio_suspend()
488 twait = *timo; /* content of timo = 0 : polling */ in __aio_suspend()
/titanic_41/usr/src/uts/intel/io/ipmi/
H A Dipmi.c136 int timo) in ipmi_submit_driver_request() argument
152 if (timo == 0) in ipmi_submit_driver_request()
156 ddi_get_lbolt() + timo); in ipmi_submit_driver_request()
/titanic_41/usr/src/lib/libast/common/uwin/
H A Drcmd.c98 int s, timo = 1; in rcmd() local
183 if (errno == ECONNREFUSED && timo <= 16) { in rcmd()
184 sleep(timo); in rcmd()
185 timo *= 2; in rcmd()
/titanic_41/usr/src/uts/common/io/ksocket/
H A Dksocket.c729 ksocket_spoll(ksocket_t ks, int timo, short events, short *revents, in ksocket_spoll() argument
775 error = socket_poll(so, (short)events, (timo == 0), in ksocket_spoll()
780 if (error != 0 || *revents != 0 || timo == 0) in ksocket_spoll()
792 if (timo > 0) in ksocket_spoll()
794 MSEC_TO_TICK_ROUNDUP(timo); in ksocket_spoll()
826 if (timo == -1) { in ksocket_spoll()
/titanic_41/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-port.c119 unsigned timo = 1; in sock_connect() local
168 if (errno == ECONNREFUSED && timo <= 16) { in sock_connect()
169 (void) sleep(timo); in sock_connect()
170 timo *= 2; in sock_connect()
/titanic_41/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_subr.h211 struct smb_cred *scredp, int timo);
277 int ioflag, int timo);
H A Dsmbfs_vnops.c673 int error, timo; in smbfs_write() local
742 timo = smb_timo_write; in smbfs_write()
744 timo = smb_timo_append; in smbfs_write()
756 uiop, &scred, timo); in smbfs_write()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsendto_kdc.c597 struct timeval now, *timo; in krb5int_cm_call_select() local
605 timo = 0; in krb5int_cm_call_select()
607 timo = &out->end_time; in krb5int_cm_call_select()
624 timo); in krb5int_cm_call_select()
625 *sret = select(out->max, &out->rfds, &out->wfds, &out->xfds, timo); in krb5int_cm_call_select()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dsys-solaris.c1487 wait_input(timo) in wait_input() argument
1488 struct timeval *timo; in wait_input()
1492 t = (timo == NULL ? -1 : (timo->tv_sec * 1000 + timo->tv_usec / 1000));
H A Dmain.c302 struct timeval timo; local
605 wait_input(timeleft(&timo));
895 wait_input(timeleft(&timo));
1017 wait_input(timeleft(&timo));
/titanic_41/usr/src/uts/sun/io/
H A Dsocal.c2799 void (*func)(), int timo, int flag, uint_t *diagcode) in socal_doit() argument
2807 status = socal_transport_poll(fcalpkt, timo, CQ_REQUEST_0); in socal_doit()
2818 lb+drv_usectohz(timo))) == -1) { in socal_doit()