/freebsd-10.3-release/contrib/tcpdump/ |
H A D | print-radius.c | 573 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-10.3-release/tools/tools/mctest/ |
H A D | mctest.cc | 106 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-10.3-release/sys/dev/ata/ |
H A D | ata-lowlevel.c | 111 int timeout = 1000000; local 115 } while (request->status & ATA_S_BUSY && timeout--); 126 "timeout waiting for write DRQ\n"); 230 callout_reset(&request->callout, request->timeout * hz, 279 "timeout waiting for read DRQ\n"); 303 "timeout waiting for write DRQ\n"); 477 int mask = 0, timeout; local 521 for (timeout = 0; timeout < 310; timeout 623 int timeout = 0; local 689 int timeout = 5000; local [all...] |
/freebsd-10.3-release/contrib/ofed/management/infiniband-diags/src/ |
H A D | perfquery.c | 294 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 D | vendstat.c | 137 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;
|
H A D | ibaddr.c | 123 int timeout = 0; /* use default */ local 139 { "timeout", 1, 0, 't'}, 184 timeout = strtoul(optarg, 0, 0); 185 madrpc_set_timeout(timeout);
|
/freebsd-10.3-release/sys/dev/e1000/ |
H A D | e1000_i210.c | 94 s32 i = 0, timeout = 200; /* FIXME: find real value to use here */ local 98 while (i < timeout) { 117 if (i == timeout) { 118 DEBUGOUT("Driver can't access resource, SW_FW_SYNC timeout.\n"); 165 s32 timeout = hw->nvm.word_size + 1; local 171 while (i < timeout) { 180 if (i == timeout) { 187 for (i = 0; i < timeout; i++) { 197 if (i == timeout) { 204 for (i = 0; i < timeout; 897 s32 timeout = PHY_CFG_TIMEOUT; local [all...] |
H A D | e1000_vf.c | 261 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; 546 /* If we were hit with a reset or timeout drop the link */ 547 if (!mbx->ops.check_for_rst(hw, 0) || !mbx->timeout) 571 * we are still accepting timeout or if we had a timeout failur [all...] |
/freebsd-10.3-release/libexec/bootpd/bootpgw/ |
H A D | bootpgw.c | 160 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-10.3-release/crypto/openssl/ssl/ |
H A D | ssl_asn1.c | 105 ASN1_INTEGER timeout; member in struct:ssl_session_asn1_st 222 if (in->timeout != 0L) { 223 a.timeout.length = LSIZE2; 224 a.timeout.type = V_ASN1_INTEGER; 225 a.timeout.data = ibuf4; 226 ASN1_INTEGER_set(&(a.timeout), in->timeout); 287 if (in->timeout != 0L) 288 M_ASN1_I2D_len_EXP_opt(&(a.timeout), i2d_ASN1_INTEGER, 2, v2); 340 if (in->timeout ! [all...] |
/freebsd-10.3-release/usr.sbin/nscd/ |
H A D | nscd.c | 162 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-10.3-release/contrib/llvm/tools/lldb/source/Core/ |
H A D | Listener.cpp | 395 const TimeValue *timeout, 408 log->Printf ("%p Listener::WaitForEventsInternal (timeout = { %p }) for %s", 409 this, timeout, m_name.c_str()); 433 if (m_cond_wait.WaitForValueEqualTo (true, timeout, &timed_out)) 458 const TimeValue *timeout, 464 return WaitForEventsInternal (timeout, broadcaster, NULL, 0, event_type_mask, event_sp); 470 const TimeValue *timeout, 475 return WaitForEventsInternal (timeout, broadcaster, NULL, 0, 0, event_sp); 479 Listener::WaitForEvent (const TimeValue *timeout, EventSP &event_sp) argument 481 return WaitForEventsInternal (timeout, NUL 393 WaitForEventsInternal( const TimeValue *timeout, Broadcaster *broadcaster, const ConstString *broadcaster_names, uint32_t num_broadcaster_names, uint32_t event_type_mask, EventSP &event_sp ) argument 456 WaitForEventForBroadcasterWithType( const TimeValue *timeout, Broadcaster *broadcaster, uint32_t event_type_mask, EventSP &event_sp ) argument 468 WaitForEventForBroadcaster( const TimeValue *timeout, Broadcaster *broadcaster, EventSP &event_sp ) argument [all...] |
/freebsd-10.3-release/usr.sbin/iscsid/ |
H A D | iscsid.c | 66 fprintf(stderr, "usage: iscsid [-P pidfile][-d][-m maxproc][-t timeout]\n"); 373 set_timeout(int timeout) argument 379 if (timeout <= 0) { 380 log_debugx("session timeout disabled"); 397 itv.it_value.tv_sec = timeout; 399 log_debugx("setting session timeout to %d seconds", 400 timeout); 433 handle_request(int iscsi_fd, const struct iscsi_daemon_request *request, int timeout) argument 447 set_timeout(timeout); 495 timeout local [all...] |
/freebsd-10.3-release/contrib/ofed/management/opensm/libvendor/ |
H A D | osm_vendor_test.c | 86 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-10.3-release/contrib/openpam/bin/pamtest/ |
H A D | pamtest.c | 323 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-10.3-release/lib/libusb/ |
H A D | usb.h | 283 int usb_bulk_write(usb_dev_handle * dev, int ep, char *bytes, int size, int timeout); 284 int usb_bulk_read(usb_dev_handle * dev, int ep, char *bytes, int size, int timeout); 285 int usb_interrupt_write(usb_dev_handle * dev, int ep, char *bytes, int size, int timeout); 286 int usb_interrupt_read(usb_dev_handle * dev, int ep, char *bytes, int size, int timeout); 287 int usb_control_msg(usb_dev_handle * dev, int requesttype, int request, int value, int index, char *bytes, int size, int timeout);
|
H A D | libusb20.c | 153 xfer->timeout = 0; 388 libusb20_tr_set_timeout(struct libusb20_transfer *xfer, uint32_t timeout) argument 390 xfer->timeout = timeout; 406 libusb20_tr_setup_bulk(struct libusb20_transfer *xfer, void *pBuf, uint32_t length, uint32_t timeout) argument 410 xfer->timeout = timeout; 416 libusb20_tr_setup_control(struct libusb20_transfer *xfer, void *psetup, void *pBuf, uint32_t timeout) argument 422 xfer->timeout = timeout; 437 libusb20_tr_setup_intr(struct libusb20_transfer *xfer, void *pBuf, uint32_t length, uint32_t timeout) argument 459 libusb20_tr_bulk_intr_sync(struct libusb20_transfer *xfer, void *pbuf, uint32_t length, uint32_t *pactlen, uint32_t timeout) argument 763 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 1015 libusb20_dev_wait_process(struct libusb20_device *pdev, int timeout) argument [all...] |
/freebsd-10.3-release/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_recv.c | 107 ar9300_stop_dma_receive(struct ath_hal *ah, u_int timeout) argument 116 if (timeout == 0) { 117 timeout = AH_RX_STOP_DMA_TIMEOUT; 139 for (wait = timeout / AH_TIME_QUANTUM; wait != 0; wait--) { 150 timeout / 1000,
|
/freebsd-10.3-release/sys/dev/pms/RefTisa/sallsdk/spc/ |
H A D | satimer.c | 72 /* (2) Find the timers are timeout */ 76 /* (2.1) Find the first timer is timeout */ 97 /* (2.2) the first timer is not timeout */ 220 * \param timeout the timeout ticks from now 232 bit32 timeout, 257 ** the timeout shall greater than 0 ** 259 if ( 0 == timeout ) 261 timeout = timeout 230 siTimerAdd( agsaRoot_t *agRoot, bit32 timeout, agsaCallback_t pfnTimeout, bit32 Event, void * pParm ) argument [all...] |
/freebsd-10.3-release/contrib/gdb/gdb/ |
H A D | monitor.c | 64 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...] |
/freebsd-10.3-release/contrib/openbsm/bin/auditdistd/ |
H A D | auditdistd.h | 104 /* Connection timeout. */ 224 #define QUEUE_TAKE(adreq, list, timeout) do { \ 226 if ((timeout) == 0) { \ 233 (timeout)); \
|
/freebsd-10.3-release/contrib/netbsd-tests/lib/libcurses/ |
H A D | t_curses.sh | 86 atf_test_case timeout 89 atf_set "descr" "Checks timeout when reading a character" 93 h_run timeout 275 atf_add_test_case timeout
|
/freebsd-10.3-release/lib/librt/ |
H A D | aio.c | 57 extern int __sys_aio_waitcomplete(struct aiocb **iocbp, struct timespec *timeout); 140 __aio_waitcomplete(struct aiocb **iocbp, struct timespec *timeout) argument 143 int ret = __sys_aio_waitcomplete(iocbp, timeout);
|
/freebsd-10.3-release/sys/boot/ofw/libofw/ |
H A D | ofw_net.c | 128 ofwn_get(struct iodesc *desc, void *pkt, size_t len, time_t timeout) argument 134 printf("netif_get: pkt=%p, maxlen=%d, timeout=%d\n", pkt, len, 135 timeout); 142 (getsecs() - t < timeout));
|
/freebsd-10.3-release/sys/dev/etherswitch/arswitch/ |
H A D | arswitch_reg.c | 183 arswitch_waitreg(device_t dev, int addr, int mask, int val, int timeout) argument 195 if (!timeout) 198 timeout--;
|