Searched refs:timeout (Results 201 - 225 of 977) sorted by relevance

1234567891011>>

/freebsd-9.3-release/libexec/ypxfr/
H A Dypxfrd_getmap.c108 struct timeval timeout = { 0, 25 }; local
135 timeout) != RPC_SUCCESS) {
/freebsd-9.3-release/sys/dev/isci/scil/
H A Dscic_remote_device.h264 * @param[in] timeout This parameter specifies the number of milliseconds
275 U32 timeout
285 * @param[in] timeout This parameter specifies the number of milliseconds
294 U32 timeout
331 * @brief This method returns the suggested target reset timeout. SAS and
332 * SATA devices have different timeout values in milliseconds for
338 * @return The suggested reset timeout value for the specified target device
/freebsd-9.3-release/usr.sbin/ppp/
H A Ddatalink.h79 int next_timeout; /* Redial next timeout value */
80 int inc; /* Increment timeout by `inc' each time read */
82 int timeout; /* Redial timeout value (end of phone list) */ member in struct:datalink::__anon11001::__anon11004
86 int timeout; /* Timeout before reconnect on carrier loss */ member in struct:datalink::__anon11001::__anon11005
104 int incs; /* # times our timeout has been incremented */
/freebsd-9.3-release/usr.sbin/yppush/
H A Dyppush_main.c67 int yppush_timeout = 80; /* Default timeout. */
226 * 0 timeout
234 struct timeval timeout; local
236 timeout.tv_usec = 0;
237 timeout.tv_sec = timeout_secs;
241 rc = select(svc_maxfd + 1, &readfds, NULL, NULL, &timeout);
288 struct timeval timeout; local
290 timeout.tv_usec = 0;
291 timeout.tv_sec = 0;
339 * Reduce timeout t
[all...]
/freebsd-9.3-release/sys/dev/mc146818/
H A Dmc146818.c109 int timeout, cent, year; local
113 timeout = 1000000; /* XXX how long should we wait? */
124 if (--timeout < 0) {
125 device_printf(dev, "%s: timeout\n", __func__);
159 int sec, timeout; local
163 timeout = 1000000; /* XXX how long should we wait? */
173 if (--timeout == 0) {
174 device_printf(dev, "%s: timeout\n", __func__);
/freebsd-9.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-spi.c131 * @param timeout Timeout to wait for clock synchronization in seconds
136 int cvmx_spi_start_interface(int interface, cvmx_spi_mode_t mode, int timeout, int num_ports) argument
150 INVOKE_CB(cvmx_spi_callbacks.clock_detect_cb, interface, mode, timeout);
153 INVOKE_CB(cvmx_spi_callbacks.training_cb, interface, mode, timeout);
156 INVOKE_CB(cvmx_spi_callbacks.calendar_sync_cb, interface, mode, timeout);
174 * @param timeout Timeout to wait for clock synchronization in seconds
177 int cvmx_spi_restart_interface(int interface, cvmx_spi_mode_t mode, int timeout) argument
196 INVOKE_CB(cvmx_spi_callbacks.clock_detect_cb, interface, mode, timeout);
199 INVOKE_CB(cvmx_spi_callbacks.training_cb, interface, mode, timeout);
202 INVOKE_CB(cvmx_spi_callbacks.calendar_sync_cb, interface, mode, timeout);
438 cvmx_spi_clock_detect_cb(int interface, cvmx_spi_mode_t mode, int timeout) argument
510 cvmx_spi_training_cb(int interface, cvmx_spi_mode_t mode, int timeout) argument
579 cvmx_spi_calendar_sync_cb(int interface, cvmx_spi_mode_t mode, int timeout) argument
[all...]
/freebsd-9.3-release/contrib/openbsm/bin/auditdistd/
H A Dproto.c107 proto_common_setup(const char *srcaddr, const char *dstaddr, int timeout, argument
124 timeout, &ctx);
164 proto_connect(const char *srcaddr, const char *dstaddr, int timeout, argument
170 PJDLOG_ASSERT(timeout >= -1);
172 return (proto_common_setup(srcaddr, dstaddr, timeout,
177 proto_connect_wait(struct proto_conn *conn, int timeout) argument
186 PJDLOG_ASSERT(timeout >= 0);
188 error = conn->pc_proto->prt_connect_wait(conn->pc_ctx, timeout);
409 proto_timeout(const struct proto_conn *conn, int timeout) argument
422 tv.tv_sec = timeout;
[all...]
/freebsd-9.3-release/contrib/tcpdump/
H A Dprint-radius.c573 u_int32_t timeout; local
625 timeout = EXTRACT_32BITS( data);
626 if ( timeout < 60 )
627 printf( "%02d secs", timeout);
630 if ( timeout < 3600 )
632 timeout / 60, timeout % 60);
635 timeout / 3600, (timeout % 3600) / 60,
636 timeout
[all...]
/freebsd-9.3-release/sys/contrib/rdma/
H A Drdma_addr.c71 unsigned long timeout; member in struct:addr_req
151 if (time_after_eq(req->timeout, tmp_req->timeout))
160 callout_reset(&addr_ch, req->timeout - ticks, addr_timeout, NULL);
244 if (req->status && time_after_eq(ticks, req->timeout))
255 callout_reset(&addr_ch, req->timeout - ticks, addr_timeout,
303 req->timeout = ticks;
307 req->timeout = msecs_to_ticks(timeout_ms) + ticks;
332 req->timeout = ticks;
335 callout_reset(&addr_ch, req->timeout
[all...]
/freebsd-9.3-release/sys/dev/e1000/
H A De1000_i210.c96 s32 i = 0, timeout = 200; /* FIXME: find real value to use here */ local
100 while (i < timeout) {
119 if (i == timeout) {
120 DEBUGOUT("Driver can't access resource, SW_FW_SYNC timeout.\n");
167 s32 timeout = hw->nvm.word_size + 1; local
173 while (i < timeout) {
182 if (i == timeout) {
190 for (i = 0; i < timeout; i++) {
200 if (i == timeout) {
207 for (i = 0; i < timeout;
[all...]
H A De1000_vf.c261 u32 timeout = E1000_VF_INIT_TIMEOUT; local
273 while (!mbx->ops.check_for_rst(hw, 0) && timeout) {
274 timeout--;
278 if (timeout) {
279 /* mailbox timeout can now become active */
280 mbx->timeout = E1000_VF_MBX_INIT_TIMEOUT;
543 /* If we were hit with a reset or timeout drop the link */
544 if (!mbx->ops.check_for_rst(hw, 0) || !mbx->timeout)
568 * we are still accepting timeout or if we had a timeout failur
[all...]
/freebsd-9.3-release/sys/kern/
H A Dkern_umtx.c761 struct timespec *timeout)
767 if (timeout == NULL) {
774 timespecadd(&ts, timeout);
775 TIMESPEC_TO_TIMEVAL(&tv, timeout);
967 struct timespec *timeout)
973 if (timeout == NULL) {
980 timespecadd(&ts, timeout);
981 TIMESPEC_TO_TIMEVAL(&tv, timeout);
1069 struct timespec *timeout, int compat32, int is_private)
1093 } else if (timeout
760 do_lock_umtx(struct thread *td, struct umtx *umtx, u_long id, struct timespec *timeout) argument
966 do_lock_umtx32(struct thread *td, void *m, uint32_t id, struct timespec *timeout) argument
1068 do_wait(struct thread *td, void *addr, u_long id, struct timespec *timeout, int compat32, int is_private) argument
2397 do_lock_umutex(struct thread *td, struct umutex *m, struct timespec *timeout, int mode) argument
2463 do_cv_wait(struct thread *td, struct ucond *cv, struct umutex *m, struct timespec *timeout, u_long wflags) argument
2765 do_rw_rdlock2(struct thread *td, void *obj, long val, struct timespec *timeout) argument
2937 do_rw_wrlock2(struct thread *td, void *obj, struct timespec *timeout) argument
3057 do_sem_wait(struct thread *td, struct _usem *sem, struct timespec *timeout) argument
3188 struct timespec *ts, timeout; local
3212 struct timespec *ts, timeout; local
3229 struct timespec *ts, timeout; local
3246 struct timespec *ts, timeout; local
3301 struct timespec *ts, timeout; local
3325 struct timespec *ts, timeout; local
3361 struct timespec *ts, timeout; local
3391 struct timespec timeout; local
3409 struct timespec timeout; local
3434 struct timespec *ts, timeout; local
3540 struct timespec *ts, timeout; local
3564 struct timespec *ts, timeout; local
3581 struct timespec *ts, timeout; local
3599 struct timespec *ts, timeout; local
3617 struct timespec *ts, timeout; local
3635 struct timespec timeout; local
3653 struct timespec timeout; local
3672 struct timespec *ts, timeout; local
3689 struct timespec *ts, timeout; local
[all...]
/freebsd-9.3-release/tools/tools/mctest/
H A Dmctest.cc106 struct timeval timeout; local
164 timerclear(&timeout);
165 timeout.tv_sec = TIMEOUT;
167 if (setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, &timeout,
168 sizeof(timeout)) < 0)
239 struct timeval timeout; local
243 timerclear(&timeout);
244 timeout.tv_sec = TIMEOUT;
262 if (setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, &timeout,
263 sizeof(timeout)) <
[all...]
/freebsd-9.3-release/sys/dev/ata/
H A Data-lowlevel.c112 int timeout = 1000000; local
116 } while (request->status & ATA_S_BUSY && timeout--);
127 "timeout waiting for write DRQ\n");
231 callout_reset(&request->callout, request->timeout * hz,
280 "timeout waiting for read DRQ\n");
304 "timeout waiting for write DRQ\n");
479 int mask = 0, timeout; local
523 for (timeout = 0; timeout < 310; timeout
625 int timeout = 0; local
691 int timeout = 5000; local
[all...]
/freebsd-9.3-release/contrib/ofed/management/infiniband-diags/src/
H A Dperfquery.c294 static void dump_perfcounters(int extended, int timeout, uint16_t cap_mask, ib_portid_t *portid, argument
300 if (!port_performance_query(pc, portid, port, timeout))
310 if (!port_performance_ext_query(pc, portid, port, timeout))
322 static void reset_counters(int extended, int timeout, int mask, ib_portid_t *portid, int port) argument
325 if (!port_performance_reset(pc, portid, port, mask, timeout))
328 if (!port_performance_ext_reset(pc, portid, port, mask, timeout))
341 int timeout = 0; /* use default */ local
370 { "timeout", 1, 0, 't'},
421 timeout = strtoul(optarg, 0, 0);
422 madrpc_set_timeout(timeout);
[all...]
H A Dvendstat.c137 int timeout = 0; /* use default */ local
159 { "timeout", 1, 0, 't'},
200 timeout = strtoul(optarg, 0, 0);
201 madrpc_set_timeout(timeout);
240 call.timeout = timeout;
/freebsd-9.3-release/libexec/bootpd/bootpgw/
H A Dbootpgw.c160 struct timeval *timeout;
222 timeout = &actualtimeout;
290 case 't': /* timeout */
299 warnx("invalid timeout specification");
304 * If the actual timeout is zero, pass a NULL pointer
306 * point to the actual timeout value.
308 timeout = (n > 0) ? &actualtimeout : NULL;
377 * Nuke any timeout value
379 timeout = NULL;
444 if (timeout)
158 struct timeval *timeout; local
[all...]
/freebsd-9.3-release/sys/dev/ata/chipsets/
H A Data-ahci.c246 int timeout; local
253 for (timeout = 1000; timeout > 0; timeout--) {
258 if (timeout == 0) {
417 int timeout = 0; local
426 if (timeout++ > 1000) {
512 int timeout = 1000000; local
517 } while ((tf_data & ATA_S_BUSY) && timeout--);
519 device_printf(ch->dev, "device_reset timeout
587 ata_ahci_issue_cmd(device_t dev, u_int16_t flags, int timeout) argument
735 int timeout; local
761 int timeout; local
809 int timeout; local
845 int timeout = 0; local
[all...]
/freebsd-9.3-release/usr.sbin/nscd/
H A Dnscd.c162 struct timespec timeout; local
208 memset(&timeout, 0, sizeof(struct timespec));
209 kevent(retval->queue, &eventlist, 1, NULL, 0, &timeout);
231 struct timespec timeout; local
263 memset(&timeout, 0, sizeof(struct timespec));
265 0, qstate->timeout.tv_sec * 1000, qstate);
268 res = kevent(env->queue, eventlist, 2, NULL, 0, &timeout);
387 if (query_timeout.tv_sec > qstate->timeout.tv_sec)
390 query_timeout.tv_sec = qstate->timeout.tv_sec -
484 struct timespec timeout; local
[all...]
/freebsd-9.3-release/crypto/openssl/ssl/
H A Dssl_asn1.c79 ASN1_INTEGER timeout; member in struct:ssl_session_asn1_st
183 if (in->timeout != 0L) {
184 a.timeout.length = LSIZE2;
185 a.timeout.type = V_ASN1_INTEGER;
186 a.timeout.data = ibuf4;
187 ASN1_INTEGER_set(&(a.timeout), in->timeout);
228 if (in->timeout != 0L)
229 M_ASN1_I2D_len_EXP_opt(&(a.timeout), i2d_ASN1_INTEGER, 2, v2);
267 if (in->timeout !
[all...]
/freebsd-9.3-release/contrib/ofed/management/opensm/libvendor/
H A Dosm_vendor_test.c86 IN osm_log_t * const p_log, IN const uint32_t timeout)
94 p_vend->timeout = timeout;
102 IN const uint32_t timeout)
114 status = osm_vendor_init(p_vend, p_log, timeout);
85 osm_vendor_init(IN osm_vendor_t * const p_vend, IN osm_log_t * const p_log, IN const uint32_t timeout) argument
101 osm_vendor_new(IN osm_log_t * const p_log, IN const uint32_t timeout) argument
/freebsd-9.3-release/contrib/openpam/bin/pamtest/
H A Dpamtest.c323 long timeout = 0; local
354 opt_num_once(opt, &timeout, optarg);
355 if (timeout < 0 || timeout > INT_MAX) {
357 "Invalid conversation timeout\n");
360 openpam_ttyconv_timeout = (int)timeout;
/freebsd-9.3-release/lib/libusb/
H A Dusb.h282 int usb_bulk_write(usb_dev_handle * dev, int ep, char *bytes, int size, int timeout);
283 int usb_bulk_read(usb_dev_handle * dev, int ep, char *bytes, int size, int timeout);
284 int usb_interrupt_write(usb_dev_handle * dev, int ep, char *bytes, int size, int timeout);
285 int usb_interrupt_read(usb_dev_handle * dev, int ep, char *bytes, int size, int timeout);
286 int usb_control_msg(usb_dev_handle * dev, int requesttype, int request, int value, int index, char *bytes, int size, int timeout);
H A Dlibusb20.c149 xfer->timeout = 0;
377 libusb20_tr_set_timeout(struct libusb20_transfer *xfer, uint32_t timeout) argument
379 xfer->timeout = timeout;
395 libusb20_tr_setup_bulk(struct libusb20_transfer *xfer, void *pBuf, uint32_t length, uint32_t timeout) argument
399 xfer->timeout = timeout;
405 libusb20_tr_setup_control(struct libusb20_transfer *xfer, void *psetup, void *pBuf, uint32_t timeout) argument
411 xfer->timeout = timeout;
426 libusb20_tr_setup_intr(struct libusb20_transfer *xfer, void *pBuf, uint32_t length, uint32_t timeout) argument
448 libusb20_tr_bulk_intr_sync(struct libusb20_transfer *xfer, void *pbuf, uint32_t length, uint32_t *pactlen, uint32_t timeout) argument
752 libusb20_dev_request_sync(struct libusb20_device *pdev, struct LIBUSB20_CONTROL_SETUP_DECODED *setup, void *data, uint16_t *pactlen, uint32_t timeout, uint8_t flags) argument
1004 libusb20_dev_wait_process(struct libusb20_device *pdev, int timeout) argument
[all...]
/freebsd-9.3-release/contrib/gdb/gdb/
H A Dmonitor.c64 static int readchar (int timeout);
112 static int timeout = 30; variable
408 timeout stuff, but without interpreting the character in any way,
420 c = serial_readchar (monitor_desc, timeout);
438 timeout stuff. */
441 readchar (int timeout) argument
454 c = serial_readchar (monitor_desc, timeout);
502 error ("GDB serial timeout has expired. Target detached.\n");
544 c = readchar (timeout);
551 c = readchar (timeout);
[all...]

Completed in 306 milliseconds

1234567891011>>