/illumos-gate/usr/src/uts/common/ktli/ |
H A D | t_kspoll.c | 43 * This function waits for timo clock ticks for something to arrive on 80 * timo is measured in ticks 83 t_kspoll(TIUSER *tiptr, int timo, int waitflg, int *events) argument 101 if (timo < 0) 104 timout = TICK_TO_MSEC(timo);
|
/illumos-gate/usr/src/lib/libbc/libc/net/ |
H A D | rexec.c | 52 int s, timo = 1, s3; local 75 if (errno == ECONNREFUSED && timo <= 16) { 77 sleep(timo); 78 timo *= 2;
|
H A D | rcmd.c | 41 int s, timo = 1, pid, oldmask, retval; local 76 if (errno == ECONNREFUSED && timo <= 16) { 77 sleep(timo); 78 timo *= 2;
|
/illumos-gate/usr/src/uts/intel/io/ipmi/ |
H A D | ipmi.c | 136 int timo) 152 if (timo == 0) 156 ddi_get_lbolt() + timo); 135 ipmi_submit_driver_request(struct ipmi_softc *sc, struct ipmi_request **preq, int timo) argument
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | rexec.c | 72 int s, timo = 1, s3; local 112 if (errno == ECONNREFUSED && timo <= 16) { 114 (void) sleep(timo); 115 timo *= 2;
|
H A D | rcmd.c | 101 int s, timo = 1; local 225 if (errno == ECONNREFUSED && timo <= 16) { 226 (void) sleep(timo); 227 timo *= 2;
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_buffers.c | 287 tlm_buffer_setup_timer(timestruc_t *timo, unsigned milli_timo) argument 293 timo->tv_sec = (milli_timo / 1000); 295 timo->tv_sec = 0; 296 timo->tv_nsec = (milli_timo % 1000) * 1000000L; 309 timestruc_t timo; local 311 tlm_buffer_setup_timer(&timo, milli_timo); 315 (void) cond_reltimedwait(&bufs->tbs_in_cv, &bufs->tbs_mtx, &timo); 335 timestruc_t timo; local 337 tlm_buffer_setup_timer(&timo, milli_timo); 341 (void) cond_reltimedwait(&bufs->tbs_out_cv, &bufs->tbs_mtx, &timo); [all...] |
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | authdesubr.c | 82 int timo; local 137 timo = TIMEVAL_TO_TICK(wait); 139 RPCLOG(8, "rtime: timo %x\n", timo); 140 if ((error = t_kspoll(tiptr, timo, READWAIT, 232 timo = TIMEVAL_TO_TICK(wait); 234 RPCLOG(8, "rtime: timo %x\n", timo); 242 error = t_kspoll(tiptr, timo, READWAIT, &type);
|
/illumos-gate/usr/src/cmd/lp/model/netpr/ |
H A D | tcp_misc.c | 76 unsigned timo = 1; local 123 if (errno == ECONNREFUSED && timo <= 16) { 124 (void) sleep(timo); 125 timo *= 2;
|
H A D | netpr.c | 83 unsigned timo = 1; local 146 if (errno == ECONNREFUSED && timo <= 16) { 147 (void) sleep(timo); 148 timo *= 2;
|
/illumos-gate/usr/src/cmd/backup/lib/ |
H A D | myrcmd.c | 70 int s, timo, retval; local 141 timo = 1; 186 if (saverr == ECONNREFUSED && timo <= 16) { 187 sleep(timo); 188 timo *= 2;
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_trantcp.c | 99 int events, fmode, timo, waitflg; local 124 timo = SEC_TO_TICK(SMB_NBTIMO); 125 error = t_kspoll(nbp->nbp_tiptr, timo, waitflg, &events);
|
H A D | smb_smb.c | 85 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) 667 error = (*iofun)(ssp, fid, &rlen, uiop, scred, timo); 679 timo = 0; /* only first I/O should wait */ 696 uio_t *uiop, smb_cred_t *scred, int timo) 731 if (timo == 0) 732 timo 609 smb_rwuio(struct smb_share *ssp, uint16_t fid, uio_rw_t rw, uio_t *uiop, smb_cred_t *scred, int timo) argument 695 smb_smb_readx(struct smb_share *ssp, uint16_t fid, uint32_t *lenp, uio_t *uiop, smb_cred_t *scred, int timo) argument 790 smb_smb_writex(struct smb_share *ssp, uint16_t fid, uint32_t *lenp, uio_t *uiop, smb_cred_t *scred, int timo) argument 863 smb_smb_read(struct smb_share *ssp, uint16_t fid, uint32_t *lenp, uio_t *uiop, smb_cred_t *scred, int timo) argument 942 smb_smb_write(struct smb_share *ssp, uint16_t fid, uint32_t *lenp, uio_t *uiop, smb_cred_t *scred, int timo) argument 1005 smb_smb_echo(struct smb_vc *vcp, struct smb_cred *scred, int timo) argument [all...] |
/illumos-gate/usr/src/lib/libast/common/uwin/ |
H A D | rcmd.c | 98 int s, timo = 1; local 183 if (errno == ECONNREFUSED && timo <= 16) { 184 sleep(timo); 185 timo *= 2;
|
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | lpd-port.c | 119 unsigned timo = 1; local 168 if (errno == ECONNREFUSED && timo <= 16) { 169 (void) sleep(timo); 170 timo *= 2;
|
/illumos-gate/usr/src/uts/common/io/ksocket/ |
H A D | ksocket.c | 730 ksocket_spoll(ksocket_t ks, int timo, short events, short *revents, argument 753 * If we're not willing to block, (timo == 0) then 776 error = socket_poll(so, (short)events, (timo == 0), 781 if (error != 0 || *revents != 0 || timo == 0) 793 if (timo > 0) 795 MSEC_TO_TICK_ROUNDUP(timo); 827 if (timo == -1) {
|
/illumos-gate/usr/src/lib/libc/port/aio/ |
H A D | posix_aio.c | 341 __aio_suspend(void **list, int nent, const timespec_t *timo, int largefile) argument 346 timespec_t twait; /* copy of timo for internal calculations */ 370 if (timo) { 371 if (timo->tv_sec < 0 || timo->tv_nsec < 0 || 372 timo->tv_nsec >= NANOSEC) { 377 if (timo->tv_sec > 0 || timo->tv_nsec > 0) { 444 list, nent, timo, -1); 479 hrtend = hrtstart + (hrtime_t)timo [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | sendto_kdc.c | 597 struct timeval now, *timo; local 605 timo = 0; 607 timo = &out->end_time; 624 timo); 625 *sret = select(out->max, &out->rfds, &out->wfds, &out->xfds, timo);
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_vnops.c | 674 int error, timo; local 743 timo = smb_timo_write; 745 timo = smb_timo_append; 757 uiop, &scred, timo);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | main.c | 302 struct timeval timo; local 605 wait_input(timeleft(&timo)); 895 wait_input(timeleft(&timo)); 1017 wait_input(timeleft(&timo));
|
/illumos-gate/usr/src/uts/sun/io/ |
H A D | socal.c | 2799 void (*func)(), int timo, int flag, uint_t *diagcode) 2807 status = socal_transport_poll(fcalpkt, timo, CQ_REQUEST_0); 2818 lb+drv_usectohz(timo))) == -1) { 2798 socal_doit(fcal_packet_t *fcalpkt, socal_port_t *port_statep, int polled, void (*func)(), int timo, int flag, uint_t *diagcode) argument
|