/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_buffers.c | 287 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()
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | authdesubr.c | 83 int timo; in rtime() local 138 timo = TIMEVAL_TO_TICK(wait); in rtime() 140 RPCLOG(8, "rtime: timo %x\n", timo); in rtime() 141 if ((error = t_kspoll(tiptr, timo, READWAIT, in rtime() 233 timo = TIMEVAL_TO_TICK(wait); in rtime() 235 RPCLOG(8, "rtime: timo %x\n", timo); in rtime() 243 error = t_kspoll(tiptr, timo, READWAIT, &type); in rtime()
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_subr.h | 167 uio_t *uiop, smb_cred_t *scred, int timo); 198 int smb_smb_echo(smb_vc_t *vcp, smb_cred_t *scred, int timo); 219 uio_t *uiop, smb_cred_t *scred, int timo); 221 uio_t *uiop, smb_cred_t *scred, int timo); 229 int smb2_smb_echo(smb_vc_t *vcp, smb_cred_t *scred, int timo); 250 uio_t *uiop, smb_cred_t *scred, int timo); 252 uio_t *uiop, smb_cred_t *scred, int timo);
|
H A D | smb_smb.c | 1124 uio_t *uiop, smb_cred_t *scred, int timo) in smb_smb_readx() argument 1160 if (timo == 0) in smb_smb_readx() 1161 timo = smb_timo_read; in smb_smb_readx() 1162 error = smb_rq_simple_timed(rqp, timo); in smb_smb_readx() 1220 uio_t *uiop, smb_cred_t *scred, int timo) in smb_smb_writex() argument 1261 if (timo == 0) in smb_smb_writex() 1262 timo = smb_timo_write; in smb_smb_writex() 1263 error = smb_rq_simple_timed(rqp, timo); in smb_smb_writex() 1300 smb_smb_echo(struct smb_vc *vcp, struct smb_cred *scred, int timo) in smb_smb_echo() argument 1317 error = smb_rq_internal(rqp, timo); in smb_smb_echo()
|
H A D | smb2_smb.c | 1158 uio_t *uiop, smb_cred_t *scred, int timo) in smb2_smb_read() argument 1195 if (timo == 0) in smb2_smb_read() 1196 timo = smb2_timo_read; in smb2_smb_read() 1197 error = smb2_rq_simple_timed(rqp, timo); in smb2_smb_read() 1264 uio_t *uiop, smb_cred_t *scred, int timo) in smb2_smb_write() argument 1302 if (timo == 0) in smb2_smb_write() 1303 timo = smb2_timo_write; in smb2_smb_write() 1304 error = smb2_rq_simple_timed(rqp, timo); in smb2_smb_write() 1346 smb2_smb_echo(struct smb_vc *vcp, struct smb_cred *scred, int timo) in smb2_smb_echo() argument 1364 error = smb2_rq_internal(rqp, timo); in smb2_smb_echo()
|
H A D | smb_trantcp.c | 93 int events, fmode, timo, waitflg; in nb_getmsg_mlen() local 118 timo = SEC_TO_TICK(SMB_NBTIMO); in nb_getmsg_mlen() 119 error = t_kspoll(nbp->nbp_tiptr, timo, waitflg, &events); in nb_getmsg_mlen()
|
H A D | smb_subrs.c | 1234 uio_t *uiop, smb_cred_t *scred, int timo) in smb_rwuio() argument 1284 error = (*iofun)(fhp, &rlen, uiop, scred, timo); in smb_rwuio() 1296 timo = 0; /* only first I/O should wait */ in smb_rwuio()
|
/illumos-gate/usr/src/uts/common/ktli/ |
H A D | t_kspoll.c | 81 t_kspoll(TIUSER *tiptr, int timo, int waitflg, int *events) in t_kspoll() argument 99 if (timo < 0) in t_kspoll() 102 timout = TICK_TO_MSEC(timo); in t_kspoll()
|
/illumos-gate/usr/src/cmd/lp/model/netpr/ |
H A D | tcp_misc.c | 74 unsigned timo = 1; in tcp_open() local 121 if (errno == ECONNREFUSED && timo <= 16) { in tcp_open() 122 (void) sleep(timo); in tcp_open() 123 timo *= 2; in tcp_open()
|
H A D | netpr.c | 81 unsigned timo = 1; in net_open() local 144 if (errno == ECONNREFUSED && timo <= 16) { in net_open() 145 (void) sleep(timo); in net_open() 146 timo *= 2; in net_open()
|
/illumos-gate/usr/src/cmd/backup/lib/ |
H A D | myrcmd.c | 68 int s, timo, retval; in myrcmd() local 139 timo = 1; in myrcmd() 184 if (saverr == ECONNREFUSED && timo <= 16) { in myrcmd() 185 sleep(timo); in myrcmd() 186 timo *= 2; in myrcmd()
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | rexec.c | 70 int s, timo = 1, s3; in rexec_af() local 110 if (errno == ECONNREFUSED && timo <= 16) { in rexec_af() 112 (void) sleep(timo); in rexec_af() 113 timo *= 2; in rexec_af()
|
H A D | rcmd.c | 101 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()
|
/illumos-gate/usr/src/lib/libc/port/aio/ |
H A D | posix_aio.c | 340 __aio_suspend(void **list, int nent, const timespec_t *timo, int largefile) in __aio_suspend() argument 369 if (timo) { in __aio_suspend() 370 if (timo->tv_sec < 0 || timo->tv_nsec < 0 || in __aio_suspend() 371 timo->tv_nsec >= NANOSEC) { in __aio_suspend() 376 if (timo->tv_sec > 0 || timo->tv_nsec > 0) { in __aio_suspend() 443 list, nent, timo, -1); in __aio_suspend() 478 hrtend = hrtstart + (hrtime_t)timo->tv_sec * (hrtime_t)NANOSEC + in __aio_suspend() 479 (hrtime_t)timo->tv_nsec; in __aio_suspend() 487 twait = *timo; /* content of timo = 0 : polling */ in __aio_suspend()
|
/illumos-gate/usr/src/uts/intel/io/ipmi/ |
H A D | ipmi.c | 136 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()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/ |
H A D | rcmd.c | 98 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()
|
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/ |
H A D | fake_ktli.c | 277 t_kspoll(TIUSER *tiptr, int timo, int waitflg, int *events) in t_kspoll() argument 289 if (timo < 0) in t_kspoll() 292 timout = TICK_TO_MSEC(timo); in t_kspoll()
|
/illumos-gate/usr/src/uts/common/io/ksocket/ |
H A D | ksocket.c | 728 ksocket_spoll(ksocket_t ks, int timo, short events, short *revents, in ksocket_spoll() argument 774 error = socket_poll(so, (short)events, (timo == 0), in ksocket_spoll() 779 if (error != 0 || *revents != 0 || timo == 0) in ksocket_spoll() 791 if (timo > 0) in ksocket_spoll() 793 MSEC_TO_TICK_ROUNDUP(timo); in ksocket_spoll() 824 if (timo == -1) { in ksocket_spoll()
|
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | lpd-port.c | 119 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()
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | netif.c | 220 netif_get(struct iodesc *desc, void **pkt, time_t timo) in netif_get() argument 237 rv = drv->netif_get(desc, pkt, timo); in netif_get()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | sendto_kdc.c | 597 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()
|
/illumos-gate/usr/src/uts/intel/io/vmm/io/ |
H A D | ppt.c | 763 uint_t timo = 0; in ppt_max_completion_tmo_us() local 799 timo = timo_ranges[PCI_CAP_GET16(hdl, 0, cap_ptr, PCIE_DEVCTL2) & in ppt_max_completion_tmo_us() 803 if (timo == 0) in ppt_max_completion_tmo_us() 804 timo = 50000; /* default 50ms */ in ppt_max_completion_tmo_us() 807 return (timo); in ppt_max_completion_tmo_us()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | sys-solaris.c | 1428 wait_input(timo) in wait_input() argument 1429 struct timeval *timo; in wait_input() 1433 t = (timo == NULL ? -1 : (timo->tv_sec * 1000 + timo->tv_usec / 1000));
|
H A D | main.c | 299 struct timeval timo; local 602 wait_input(timeleft(&timo)); 892 wait_input(timeleft(&timo)); 1014 wait_input(timeleft(&timo));
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_subr.h | 382 int ioflag, int timo);
|