Searched refs:timeout (Results 126 - 150 of 977) sorted by relevance

1234567891011>>

/freebsd-9.3-release/contrib/ofed/management/opensm/complib/
H A Dcl_event.c118 struct timespec timeout; local
151 timeout.tv_sec = curtime.tv_sec + (wait_us / 1000000);
152 timeout.tv_nsec =
157 &timeout);
/freebsd-9.3-release/contrib/ofed/management/opensm/include/complib/
H A Dcl_timer_osd.h71 struct timespec timeout; member in struct:_cl_timer_t
/freebsd-9.3-release/contrib/ofed/management/opensm/include/vendor/
H A Dosm_vendor_test.h104 uint32_t timeout; member in struct:_osm_vendor
/freebsd-9.3-release/contrib/sendmail/libsm/
H A Dsetvbuf.c36 ** timeout -- time allowed for completing the function
47 sm_io_setvbuf(fp, timeout, buf, mode, size)
49 int timeout;
81 SM_CONVERT_TIME(fp, fd, timeout, &to);
82 (void) sm_flush(fp, &timeout);
H A Dungetc.c83 ** timeout -- time to complete ungetc
96 sm_io_ungetc(fp, timeout, c)
98 int timeout;
104 if (timeout == SM_TIME_IMMEDIATE)
128 if (sm_flush(fp, &timeout))
H A Dfseek.c36 ** SEEKALRM -- handler when timeout activated for sm_io_seek()
67 ** timeout -- time to complete seek (milliseconds)
77 sm_io_seek(fp, timeout, offset, whence)
79 int SM_NONVOLATILE timeout;
104 if (timeout == SM_TIME_DEFAULT)
105 timeout = fp->f_timeout;
106 if (timeout == SM_TIME_IMMEDIATE)
118 if (timeout != SM_TIME_FOREVER) \
125 evt = sm_seteventm(timeout, seekalrm, 0); \
145 sm_flush(fp, (int *) &timeout);
[all...]
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dbsd-poll.c43 poll(struct pollfd *fds, nfds_t nfds, int timeout) argument
84 /* poll timeout is msec, select is timeval (sec + usec) */
85 if (timeout >= 0) {
86 tv.tv_sec = timeout / 1000;
87 tv.tv_usec = (timeout % 1000) * 1000;
/freebsd-9.3-release/sys/arm/mv/
H A Dtwsi.c118 static int mv_twsi_repeated_start(device_t dev, u_char slave, int timeout);
119 static int mv_twsi_start(device_t dev, u_char slave, int timeout);
124 int timeout);
206 * timeout given in us
209 * non-zero on timeout
212 twsi_poll_ctrl(struct mv_twsi_softc *sc, int timeout, uint32_t mask) argument
215 timeout /= 10;
218 if (--timeout < 0)
219 return (timeout);
226 * 'timeout' i
232 twsi_locked_start(device_t dev, struct mv_twsi_softc *sc, int32_t mask, u_char slave, int timeout) argument
391 mv_twsi_repeated_start(device_t dev, u_char slave, int timeout) argument
414 mv_twsi_start(device_t dev, u_char slave, int timeout) argument
497 mv_twsi_write(device_t dev, const char *buf, int len, int *sent, int timeout) argument
[all...]
/freebsd-9.3-release/sys/dev/joy/
H A Djoy.c108 joy->timeout[0] = joy->timeout[1] = 0;
133 if (joy->timeout[i])
136 joy->timeout[i] = JOY_TIMEOUT;
146 joy->timeout[i] = 0;
169 end.tv_nsec = joy->timeout[joypart(dev)] * 1000;
176 end.tv_nsec = joy->timeout[joypart(dev)] * 1000;
226 joy->timeout[i] = x;
229 *(int *) data = joy->timeout[i];
/freebsd-9.3-release/sys/dev/viawd/
H A Dviawd.h45 unsigned int timeout; member in struct:viawd_softc
/freebsd-9.3-release/usr.sbin/bluetooth/hccontrol/
H A Dhccontrol.h48 extern int timeout;
/freebsd-9.3-release/contrib/ofed/management/infiniband-diags/scripts/
H A Dibcheckwidth.in39 -P | -C | -t | -timeout)
H A Dibclearcounters.in29 -P | -C | -t | -timeout)
H A Dibclearerrors.in33 -P | -C | -t | -timeout)
/freebsd-9.3-release/crypto/heimdal/appl/telnet/telnet/
H A Dnetwork.c74 static struct timeval timeout = { 0 }; local
83 value = select(net+1, 0, 0, &excepts, &timeout);
/freebsd-9.3-release/lib/libc/rpc/
H A Dpmap_getport.c60 static const struct timeval timeout = { 5, 0 }; variable in typeref:struct:timeval
84 PMAPVERS, timeout, &sock, RPCSMALLMSGSIZE, RPCSMALLMSGSIZE);
/freebsd-9.3-release/lib/librt/
H A Dmq.c194 unsigned *prio, const struct timespec *timeout)
197 return __sys_kmq_timedreceive(mqd->oshandle, buf, len, prio, timeout);
202 unsigned *prio, const struct timespec *timeout)
207 ret = __sys_kmq_timedreceive(mqd->oshandle, buf, len, prio, timeout);
231 unsigned prio, const struct timespec *timeout)
234 return __sys_kmq_timedsend(mqd->oshandle, buf, len, prio, timeout);
239 unsigned prio, const struct timespec *timeout)
244 ret = __sys_kmq_timedsend(mqd->oshandle, buf, len, prio, timeout);
193 __mq_timedreceive(mqd_t mqd, char *buf, size_t len, unsigned *prio, const struct timespec *timeout) argument
201 __mq_timedreceive_cancel(mqd_t mqd, char *buf, size_t len, unsigned *prio, const struct timespec *timeout) argument
230 __mq_timedsend(mqd_t mqd, char *buf, size_t len, unsigned prio, const struct timespec *timeout) argument
238 __mq_timedsend_cancel(mqd_t mqd, char *buf, size_t len, unsigned prio, const struct timespec *timeout) argument
/freebsd-9.3-release/usr.sbin/nscd/
H A Dnscdcli.c63 struct timespec timeout; local
68 timeout.tv_sec = DEFAULT_NSCD_IO_TIMEOUT;
69 timeout.tv_nsec = 0;
73 1, &timeout);
99 struct timespec timeout; local
105 timeout.tv_sec = DEFAULT_NSCD_IO_TIMEOUT;
106 timeout.tv_nsec = 0;
110 &timeout);
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/
H A Dtest-closed.c55 struct timeval timeout = {3, 0}; variable in typeref:struct:timeval
110 event_add(ev, &timeout);
H A Dtest-changelist.c156 printf("timeout fired, time to end test\n");
165 struct event* timeout; local
189 /* Initalize a timeout to terminate the test */
190 timeout = evtimer_new(base,timeout_cb,&timeout);
197 evtimer_add(timeout, &tv);
206 event_free(timeout);
/freebsd-9.3-release/sys/dev/amdsbwd/
H A Damdsbwd.c126 unsigned int timeout; member in struct:amdsbwd_softc
228 amdsbwd_tmr_set(struct amdsbwd_softc *sc, uint16_t timeout) argument
231 timeout &= AMDSB_WD_COUNT_MASK;
232 wdcount_write(sc, timeout);
233 sc->timeout = timeout;
234 amdsbwd_verbose_printf(sc->dev, "timeout set to %u ticks\n", timeout);
241 unsigned int timeout; local
248 timeout
[all...]
/freebsd-9.3-release/contrib/ofed/management/libibmad/src/
H A Dresolve.c53 ib_resolve_smlid_via(ib_portid_t *sm_id, int timeout, const void *srcport) argument
71 ib_resolve_smlid(ib_portid_t *sm_id, int timeout) argument
73 return ib_resolve_smlid_via(sm_id, timeout, NULL);
77 ib_resolve_guid_via(ib_portid_t *portid, uint64_t *guid, ib_portid_t *sm_id, int timeout, const void *srcport) argument
84 if (ib_resolve_smlid_via(sm_id, timeout, srcport) < 0)
/freebsd-9.3-release/usr.sbin/uathload/
H A Duathload.c117 int msg, data, fw, timeout, b, c; local
167 timeout = UATH_DATA_TIMEOUT;
168 if (ioctl(msg, USB_SET_RX_TIMEOUT, &timeout) < 0)
176 timeout = UATH_DATA_TIMEOUT;
177 if (ioctl(data, USB_SET_TX_TIMEOUT, &timeout) < 0)
/freebsd-9.3-release/sbin/camcontrol/
H A Dfwdownload.c134 int sim_mode, int printerrors, int retry_count, int timeout,
242 int timeout, const char *imgname, const char *type)
283 timeout ? timeout : 30 * 1000);
348 timeout ? timeout : CMD_TIMEOUT); /* timeout */
363 timeout ? timeout : 30 * 1000);
399 char *combinedopt, int printerrors, int retry_count, int timeout,
240 fw_download_img(struct cam_device *cam_dev, const struct fw_vendor *vp, char *buf, int img_size, int sim_mode, int printerrors, int retry_count, int timeout, const char *imgname, const char *type) argument
398 fwdownload(struct cam_device *device, int argc, char **argv, char *combinedopt, int printerrors, int retry_count, int timeout, const char *type) argument
[all...]
/freebsd-9.3-release/contrib/ntp/scripts/monitoring/
H A Dntptrap40 $ntp'timeout = $FRAG_TIMEOUT; #';
41 $ntp'timeout if 0;
121 sub timeouts # sort timeout id array
183 $timeout = 0;
209 $timeout = @Requests ? 0 : $BASE_TIMEOUT;
211 if ($timeout && @TIMEOUTS)
213 ;# ensure not to miss a timeout
214 if ($timeout + time > $TIMEOUTS{$TIMEOUTS[$[]})
216 $timeout = $TIMEOUTS{$TIMEOUTS[$[]} - time;
217 $timeout
[all...]

Completed in 310 milliseconds

1234567891011>>