/freebsd-current/sys/dev/isci/scil/ |
H A D | scif_controller.h | 119 * timeout amount. The user is free to use any timeout value, 120 * but this method provides the suggested minimum start timeout 125 * to return the suggested start timeout. 128 * suggested start operation timeout. 144 * @param[in] timeout This parameter specifies the number of milliseconds 164 U32 timeout 181 * @param[in] timeout This parameter specifies the number of milliseconds 196 U32 timeout 443 #define scif_controller_set_interrupt_coalescence(controller, num, timeout) \ [all...] |
/freebsd-current/usr.sbin/praudit/tests/ |
H A D | Makefile | 20 TEST_METADATA+= timeout="10"
|
/freebsd-current/contrib/sendmail/libsm/ |
H A D | notify.h | 22 #define SM_MICROS2TVAL(tmo, tval, timeout) \ 29 timeout.tv_sec = (long) (tmo / SM_MICROS); \ 30 timeout.tv_usec = tmo % SM_MICROS; \ 31 tval = &timeout; \
|
H A D | fread.c | 28 ** timeout -- time to complete the read 41 sm_io_read(fp, timeout, buf, size) 43 int timeout; 90 if (sm_refill(fp, timeout) != 0)
|
H A D | fget.c | 31 ** timeout -- time to complete reading the string in milliseconds 38 ** timeout: -1 and errno set to EAGAIN 45 sm_io_fgets(fp, timeout, buf, n) 47 int timeout; 73 if (sm_refill(fp, timeout) != 0)
|
/freebsd-current/crypto/heimdal/lib/krb5/ |
H A D | net_write.c | 51 time_t timeout) 65 if (timeout != 0) { 66 tv.tv_sec = timeout; 47 krb5_net_write_block(krb5_context context, void *p_fd, const void *buf, size_t len, time_t timeout) argument
|
/freebsd-current/contrib/openbsm/bin/auditdistd/ |
H A D | proto.h | 38 int proto_connect(const char *srcaddr, const char *dstaddr, int timeout, 40 int proto_connect_wait(struct proto_conn *conn, int timeout); 55 int proto_timeout(const struct proto_conn *conn, int timeout);
|
H A D | sigtimedwait.h | 47 const struct timespec *timeout) 60 it.it_value.tv_sec = timeout->tv_sec; 61 it.it_value.tv_usec = timeout->tv_nsec / 1000; 46 sigtimedwait(const sigset_t *set, siginfo_t *info, const struct timespec *timeout) argument
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/trim/ |
H A D | trim.kshlib | 81 typeset timeout=120 82 typeset stop_time=$(( $(date +%s) + $timeout )) 87 log_fail "Exceeded trim time limit of ${timeout}s"
|
/freebsd-current/contrib/ntp/sntp/libevent/test/ |
H A D | test-eof.c | 54 struct timeval timeout = {60, 0}; variable in typeref:struct:timeval 74 event_add(arg, &timeout); 111 event_add(&ev, &timeout);
|
/freebsd-current/sys/dev/iicbus/controller/opencores/ |
H A D | iicoc.h | 93 int iicoc_iicbus_start(device_t dev, u_char slave, int timeout); 98 int timeout); 99 int iicoc_iicbus_repeated_start(device_t dev, u_char slave, int timeout);
|
/freebsd-current/contrib/libevent/test/ |
H A D | test-eof.c | 54 struct timeval timeout = {60, 0}; variable in typeref:struct:timeval 74 event_add(arg, &timeout); 111 event_add(&ev, &timeout);
|
/freebsd-current/lib/libsys/ |
H A D | recvmmsg.c | 39 const struct timespec *__restrict timeout) 47 if (timeout != NULL) { 52 res = ppoll(&pfd[0], 1, timeout, NULL); 38 recvmmsg(int s, struct mmsghdr *__restrict msgvec, size_t vlen, int flags, const struct timespec *__restrict timeout) argument
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | mkfifo6.sh | 80 struct timeval timeout; 93 /* timeout */ 97 timeout.tv_sec = 0; 98 timeout.tv_usec = 100000; 99 if ((n = select(fd + 1, &rset, NULL, NULL, &timeout)) < 0)
|
/freebsd-current/usr.bin/lockf/tests/ |
H A D | lockf_test.sh | 95 # tried, then try again with an indefinite timeout. On that one, we'll 190 atf_test_case timeout 201 timeout=2 202 atf_check -s exit:${EX_TEMPFAIL} lockf -st "$timeout" "testlock" sleep 0 204 # We should have taken no less than our timeout, at least. 207 atf_check test "$tpass" -ge "$timeout" 237 atf_add_test_case timeout
|
/freebsd-current/sys/compat/linuxkpi/common/include/linux/ |
H A D | sched.h | 162 int linux_schedule_timeout(int timeout); 189 #define schedule_timeout(timeout) \ 190 linux_schedule_timeout(timeout) 191 #define schedule_timeout_killable(timeout) \ 192 schedule_timeout_interruptible(timeout) 193 #define schedule_timeout_interruptible(timeout) ({ \ 195 schedule_timeout(timeout); \ 197 #define schedule_timeout_uninterruptible(timeout) ({ \ 199 schedule_timeout(timeout); \ 203 #define io_schedule_timeout(timeout) schedule_timeou [all...] |
/freebsd-current/lib/librpcsvc/ |
H A D | yp_update.c | 69 struct timeval timeout; local 108 /* Set a timeout for clnt_call(). */ 109 timeout.tv_usec = 0; 110 timeout.tv_sec = TIMEOUT; 131 (xdrproc_t)xdr_u_int, &res, timeout)) != RPC_SUCCESS) { 148 (xdrproc_t)xdr_u_int, &res, timeout)) != RPC_SUCCESS) { 163 (xdrproc_t)xdr_u_int, &res, timeout)) != RPC_SUCCESS) { 180 (xdrproc_t)xdr_u_int, &res, timeout)) != RPC_SUCCESS) {
|
/freebsd-current/sys/riscv/sifive/ |
H A D | fu740_pci_dw.c | 113 unsigned timeout; local 119 timeout = 10; 125 } while (--timeout > 0); 127 if (timeout == 0) { 135 timeout = 10; 141 } while (--timeout > 0); 143 if (timeout == 0) { 154 unsigned timeout; local 161 timeout = 10; 167 } while (--timeout > [all...] |
/freebsd-current/contrib/ntp/scripts/monitoring/ |
H A D | ntploopstat | 62 $0 [-d<delay>] [-t<timeout>] [-l <logfile>] [-v] [ntpserver] 84 ($1 ne '') && ($timeout = $1,1) && next; 85 @ARGV || die("$0: timeout value missing after -t\n$usage\n"); 86 $timeout = shift; 87 ($timeout > 0) || 88 die("$0: bad timeout value \"$timeout\"\n$usage"); 110 $timeout = 12.0 unless defined($timeout); # wait $timeout second [all...] |
/freebsd-current/sys/dev/wbwd/ |
H A D | wbwd.c | 78 #define WB_LDN8_CRF5_KEYB_P20 0x04 /* 1: keyb P20 forces timeout */ 79 #define WB_LDN8_CRF5_KBRST 0x02 /* 1: timeout causes pin60 kbd reset */ 88 #define WB_LDN8_CRF7_FORCE 0x20 /* 1: force timeout (self-clear) */ 108 * timeout as set by watchdog(4) but still use that API to 115 * We want to know the timeout value and usually need two 238 * usually not give the current timeout or state on whether the watchdog 282 * Sysctl handlers to force a watchdog timeout or to test the NMI functionality 286 * timeout but clear the flag for the sysctl again. This is interesting given a 287 * lot of boards have jumpers to change the action on watchdog timeout or 319 * forcing the timeout 362 wb_set_watchdog(struct wb_softc *sc, unsigned int timeout) argument 429 unsigned int timeout; local 502 unsigned long timeout; local [all...] |
/freebsd-current/contrib/sendmail/libmilter/ |
H A D | comm.c | 47 ** timeout -- maximum time to wait 59 mi_rd_cmd(sd, timeout, cmd, rlen, name) 61 struct timeval *timeout; 82 ret = FD_RD_READY(sd, rds, excs, timeout); 155 ret = FD_RD_READY(sd, rds, excs, timeout); 206 /* select returned 0 (timeout) or < 0 (error) */ 233 ** timeout -- maximum time to wait 241 retry_writev(fd, iov, iovcnt, timeout) 245 struct timeval *timeout; 263 ** We don't care much about the timeout her [all...] |
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | simple_exec.c | 58 SE_E_EXECTIMEOUT exec timeout 66 `exec timeout'/-4 from simple_exec 68 0 don't timeout again 69 n seconds to next timeout 83 void *ptr, time_t timeout) 93 oldtime = alarm(timeout); 108 timeout = (*func)(ptr); 109 if (timeout == (time_t)-1) { 112 } else if (timeout == (time_t)-2) { 116 alarm(timeout); 82 wait_for_process_timed(pid_t pid, time_t (*func)(void *), void *ptr, time_t timeout) argument 233 simple_execvp_timed(const char *file, char *const args[], time_t (*func)(void *), void *ptr, time_t timeout) argument 256 simple_execve_timed(const char *file, char *const args[], char *const envp[], time_t (*func)(void *), void *ptr, time_t timeout) argument [all...] |
/freebsd-current/sys/arm/freescale/imx/ |
H A D | imx6_ahci.c | 73 int timeout; local 84 for (timeout = 5000; timeout > 0; --timeout) { 93 if (timeout > 0) { 112 "%s: timeout on SATA_P0PHYCR_CR_CAP_ADDR=1\n", 120 "%s: timeout on SATA_P0PHYCR_CR_CAP_ADDR=0\n", 234 int error, timeout; local 288 for (timeout = 50; timeout > [all...] |
/freebsd-current/lib/libusb/ |
H A D | libusb10_io.c | 106 int timeout; local 136 timeout = -1; 138 timeout = (tv->tv_sec * 1000) + ((tv->tv_usec + 999) / 1000); 141 err = poll(fds, nfds, timeout); 472 uint8_t *data, uint16_t wLength, unsigned int timeout) 493 &actlen, timeout, 0); 539 int *transferred, unsigned int timeout, int type) 561 xfer->timeout = timeout; 609 int *transferred, unsigned int timeout) 470 libusb_control_transfer(libusb_device_handle *devh, uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, uint8_t *data, uint16_t wLength, unsigned int timeout) argument 537 libusb10_do_transfer(libusb_device_handle *devh, uint8_t endpoint, uint8_t *data, int length, int *transferred, unsigned int timeout, int type) argument 607 libusb_bulk_transfer(libusb_device_handle *devh, uint8_t endpoint, uint8_t *data, int length, int *transferred, unsigned int timeout) argument 626 libusb_interrupt_transfer(libusb_device_handle *devh, uint8_t endpoint, uint8_t *data, int length, int *transferred, unsigned int timeout) argument 729 libusb_fill_control_transfer(struct libusb_transfer *transfer, libusb_device_handle *devh, uint8_t *buf, libusb_transfer_cb_fn callback, void *user_data, uint32_t timeout) argument 752 libusb_fill_bulk_transfer(struct libusb_transfer *transfer, libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, int length, libusb_transfer_cb_fn callback, void *user_data, uint32_t timeout) argument 768 libusb_fill_interrupt_transfer(struct libusb_transfer *transfer, libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, int length, libusb_transfer_cb_fn callback, void *user_data, uint32_t timeout) argument 784 libusb_fill_iso_transfer(struct libusb_transfer *transfer, libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, int length, int npacket, libusb_transfer_cb_fn callback, void *user_data, uint32_t timeout) argument [all...] |
/freebsd-current/contrib/ldns/ |
H A D | net.c | 153 ldns_sock_wait(int sockfd, struct timeval timeout, int write) argument 162 ret = select(sockfd+1, NULL, &fds, NULL, &timeout); 164 ret = select(sockfd+1, &fds, NULL, NULL, &timeout); 178 ret = poll(pfds, 1, (int)(timeout.tv_sec * 1000 179 + timeout.tv_usec / 1000)); 182 /* timeout expired */ 194 struct timeval timeout) 236 if(!ldns_sock_wait(sockfd, timeout, 1)) { 284 struct timeval timeout) 286 int s = ldns_tcp_connect_from(to, tolen, NULL, 0, timeout); 192 ldns_tcp_connect_from(const struct sockaddr_storage *to, socklen_t tolen, const struct sockaddr_storage *from, socklen_t fromlen, struct timeval timeout) argument 283 ldns_tcp_connect(const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout) argument 291 ldns_tcp_connect2(const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout) argument 298 ldns_tcp_bgsend_from(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, const struct sockaddr_storage *from, socklen_t fromlen, struct timeval timeout) argument 316 ldns_tcp_bgsend(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout) argument 325 ldns_tcp_bgsend2(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout) argument 336 ldns_tcp_send_from(uint8_t **result, ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, const struct sockaddr_storage *from, socklen_t fromlen, struct timeval timeout, size_t *answer_size) argument 363 ldns_tcp_send(uint8_t **result, ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout, size_t *answer_size) argument 402 ldns_udp_bgsend_from(ldns_buffer *qbin, const struct sockaddr_storage *to , socklen_t tolen, const struct sockaddr_storage *from, socklen_t fromlen, struct timeval timeout) argument 428 ldns_udp_bgsend(ldns_buffer *qbin, const struct sockaddr_storage *to , socklen_t tolen, struct timeval timeout) argument 437 ldns_udp_bgsend2(ldns_buffer *qbin, const struct sockaddr_storage *to , socklen_t tolen, struct timeval timeout) argument 445 ldns_udp_send_from(uint8_t **result, ldns_buffer *qbin, const struct sockaddr_storage *to , socklen_t tolen, const struct sockaddr_storage *from, socklen_t fromlen, struct timeval timeout, size_t *answer_size) argument 483 ldns_udp_send(uint8_t **result, ldns_buffer *qbin, const struct sockaddr_storage *to , socklen_t tolen, struct timeval timeout, size_t *answer_size) argument 751 ldns_tcp_read_wire_timeout(int sockfd, size_t *size, struct timeval timeout) argument [all...] |