Home
last modified time | relevance | path

Searched full:timeout (Results 1 – 25 of 2408) sorted by relevance

12345678910>>...97

/freebsd/bin/timeout/tests/
H A Dtimeout_test.sh5 atf_set "descr" "Basic tests on timeout(1) utility"
14 timeout 5 true
29 timeout 1d true
35 timeout 1h true
41 timeout 1m true
47 timeout 1s true
53 atf_set "descr" "Test disabled timeout"
62 timeout 0 true
77 -x timeout 5 sh -c \'exit 2\'
83 timeout .1 sleep 1
[all …]
/freebsd/contrib/wpa/src/utils/
H A Deloop_win.c55 struct dl_list timeout; member
78 dl_list_init(&eloop.timeout); in eloop_init()
241 struct eloop_timeout *timeout, *tmp; in eloop_register_timeout() local
244 timeout = os_zalloc(sizeof(*timeout)); in eloop_register_timeout()
245 if (timeout == NULL) in eloop_register_timeout()
247 if (os_get_reltime(&timeout->time) < 0) { in eloop_register_timeout()
248 os_free(timeout); in eloop_register_timeout()
251 now_sec = timeout->time.sec; in eloop_register_timeout()
252 timeout->time.sec += secs; in eloop_register_timeout()
253 if (timeout->time.sec < now_sec) { in eloop_register_timeout()
[all …]
H A Deloop.c105 struct dl_list timeout; member
166 dl_list_init(&eloop.timeout); in eloop_init()
776 struct eloop_timeout *timeout, *tmp; in eloop_register_timeout() local
779 timeout = os_zalloc(sizeof(*timeout)); in eloop_register_timeout()
780 if (timeout == NULL) in eloop_register_timeout()
782 if (os_get_reltime(&timeout->time) < 0) { in eloop_register_timeout()
783 os_free(timeout); in eloop_register_timeout()
786 now_sec = timeout->time.sec; in eloop_register_timeout()
787 timeout->time.sec += secs; in eloop_register_timeout()
788 if (timeout->time.sec < now_sec) in eloop_register_timeout()
[all …]
/freebsd/sbin/pfctl/tests/files/
H A Dpf0055.ok1 set timeout interval 43
2 set timeout frag 23
3 set timeout tcp.first 423
4 set timeout tcp.opening 123
5 set timeout tcp.established 43758
6 set timeout tcp.closing 744
7 set timeout tcp.finwait 25
8 set timeout tcp.closed 38
9 set timeout udp.first 356
10 set timeout udp.single 73
[all …]
H A Dpf0055.in1 set timeout { interval 43, frag 23 }
2 set timeout { tcp.first 423, tcp.opening 123, tcp.established 43758 }
3 set timeout { tcp.closing 744, tcp.finwait 25, tcp.closed 38 }
4 set timeout { udp.first 356, udp.single 73, udp.multiple 34 }
5 set timeout { icmp.first 464, icmp.error 34 }
6 set timeout { other.first 455, other.single 54, other.multiple 324 }
7 set timeout { src.track 3600 }
17 set timeout interval 344
18 set timeout frag 213
/freebsd/bin/pwait/tests/
H A Dpwait_test.sh23 timeout --preserve-status 15 pwait $p1 $p5 $p10
54 atf_set "descr" "Test parsing the timeout unit and value"
63 -e inline:"pwait: timeout unit\n" \
65 timeout --preserve-status 2 pwait -t 1d $init
69 -e inline:"pwait: timeout unit\n" \
71 timeout --preserve-status 2 pwait -t 1d $init
75 -e inline:"pwait: timeout value\n" \
77 timeout --preserve-status 2 pwait -t -1 $init
81 -e inline:"pwait: timeout value\n" \
83 timeout --preserve-status 2 pwait -t 100000001 $init
[all …]
/freebsd/lib/libthr/thread/
H A Dthr_umtx.c112 struct _umtx_time *tm_p, timeout; in __thr_umutex_timedlock() local
121 timeout._clockid = CLOCK_REALTIME; in __thr_umutex_timedlock()
122 timeout._flags = UMTX_ABSTIME; in __thr_umutex_timedlock()
123 timeout._timeout = *abstime; in __thr_umutex_timedlock()
124 tm_p = &timeout; in __thr_umutex_timedlock()
125 tm_size = sizeof(timeout); in __thr_umutex_timedlock()
182 _thr_umtx_wait(volatile long *mtx, long id, const struct timespec *timeout) in _thr_umtx_wait() argument
185 if (timeout && (timeout->tv_sec < 0 || (timeout->tv_sec == 0 && in _thr_umtx_wait()
186 timeout->tv_nsec <= 0))) in _thr_umtx_wait()
189 __DECONST(void*, timeout))); in _thr_umtx_wait()
[all …]
/freebsd/usr.sbin/watchdogd/
H A Dwatchdogd.840 .Op Fl -pretimeout Ar timeout
45 .Op Fl t Ar timeout
55 is unable to interface with the kernel over a specific timeout,
84 .Fl t Ar timeout
85 specifies the desired timeout period in seconds.
86 The default timeout is 128 seconds.
88 One possible circumstance which will cause a watchdog timeout is an interrupt
93 action after a configurable timeout.
107 argument is the timeout period (in seconds) to leave in effect when the
113 before the given timeout expires.
[all …]
/freebsd/contrib/ldns/ldns/
H A Dnet.h.in37 * \param[in] timeout the timeout value for the network
42 …qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout, size_t *answersi…
50 * \param[in] timeout *unused*, was the timeout value for the network
53 …nd2(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
63 * \param[in] timeout *unused*, was the timeout value for the network
66 …end(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
74 * \param[in] timeout the timeout value for the connect attempt
77 …nd2(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
87 * \param[in] timeout the timeout value for the connect attempt
90 …end(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
[all …]
H A Dnet.h37 * \param[in] timeout the timeout value for the network
42 …qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout, size_t *answersi…
50 * \param[in] timeout *unused*, was the timeout value for the network
53 …nd2(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
63 * \param[in] timeout *unused*, was the timeout value for the network
66 …end(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
74 * \param[in] timeout the timeout value for the connect attempt
77 …nd2(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
87 * \param[in] timeout the timeout value for the connect attempt
90 …end(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
[all …]
/freebsd/contrib/sendmail/libsm/
H A Drefill.c34 ** SM_IO_RD_TIMEOUT -- measured timeout for reads
40 ** BSD-based/like systems the timeout for a select() is updated for the
51 ** to -- struct timeval of the timeout
52 ** timeout -- the original timeout value
59 #define SM_IO_RD_TIMEOUT(fp, fd, to, timeout, sel_ret) \ argument
64 if (timeout == SM_TIME_IMMEDIATE) \
94 /* timeout */ \
110 ** timeout -- original timeout value (in milliseconds)
118 sm_lflush(fp, timeout) in sm_lflush() argument
120 int *timeout;
[all …]
H A Dfopen.c34 ** OPENALRM -- handler when timeout activated for sm_io_open()
60 ** REOPENALRM -- handler when timeout activated for sm_io_reopen()
91 ** timeout -- time to complete the open
107 sm_io_open(type, timeout, info, flags, rpool) in sm_io_open() argument
109 int SM_NONVOLATILE timeout; /* this is not the file type timeout */
127 if (timeout == SM_TIME_DEFAULT)
128 timeout = SM_TIME_FOREVER;
129 if (timeout == SM_TIME_IMMEDIATE)
137 /* Okay, this is where we set the timeout. */
138 if (timeout != SM_TIME_FOREVER)
[all …]
/freebsd/share/man/man4/
H A Dsa.4334 fetch timeout descriptors from the drive.
335 If the drive does report timeout descriptors, the
342 .Va kern.cam.sa.%d.timeout.*
349 timeout descriptors (see the
354 .Va kern.cam.sa.timeout.*
360 .Va kern.cam.sa.%d.timeout.*
366 To set timeouts after boot, the per-instance timeout values, for example:
367 .Va kern.cam.sa.0.timeout.read ,
376 .It kern.cam.sa.timeout.erase
377 .It kern.cam.sa.timeout.locate
[all …]
H A Dwatchdog.448 It takes a single argument which represents a timeout value specified as a
68 implementations supports setting the timeout to the specified timeout.
77 implementations support the timeout length, all watchdogs are disabled and must
95 get total timeout
99 get the pre-timeout
101 set the pre-timeout
103 Set the action when a pre-timeout occurs (see
111 Set the action when a soft timeout occurs.
114 The actions that may be specified for the pre-timeout or the internal software
135 none of the watchdogs supports the requested timeout value
[all …]
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_schedule.c43 const char *wmesg, int timeout, int state) in linux_add_to_sleepqueue() argument
53 if (timeout != 0) in linux_add_to_sleepqueue()
54 sleepq_set_timeout(wchan, timeout); in linux_add_to_sleepqueue()
58 if (timeout == 0) in linux_add_to_sleepqueue()
63 if (timeout == 0) { in linux_add_to_sleepqueue()
252 linux_wait_event_common(wait_queue_head_t *wqh, wait_queue_t *wq, int timeout,
261 /* range check timeout */ in linux_wait_event_common()
262 if (timeout < 1) in linux_wait_event_common()
263 timeout = 1; in linux_wait_event_common()
264 else if (timeout in linux_wait_event_common()
254 linux_wait_event_common(wait_queue_head_t * wqh,wait_queue_t * wq,int timeout,unsigned int state,spinlock_t * lock) linux_wait_event_common() argument
292 linux_schedule_timeout(int timeout) linux_schedule_timeout() argument
359 linux_wait_on_bit_timeout(unsigned long * word,int bit,unsigned int state,int timeout) linux_wait_on_bit_timeout() argument
[all...]
/freebsd/contrib/wpa/wpa_supplicant/examples/p2p/
H A Dp2p_find.py3 # Will list all devices found/lost within a time frame (timeout)
17 print(" %s -i <interface_name> [-t <timeout>] \ " \
22 print(" -t = timeout = 0s (infinite)")
43 global timeout
53 def __init__(self,interface_name,wpas_dbus_interface,timeout): argument
55 self.timeout = int(timeout)
111 {'Timeout':int(self.timeout)})
117 # Required for timeout implementation
125 timeout = 0 variable
148 # Timeout
[all …]
H A Dp2p_listen.py17 print(" %s -i <interface_name> [-t <timeout>] \ " \
22 print(" -t = timeout = 0s (infinite)")
41 global timeout
50 def __init__(self,interface_name,wpas_dbus_interface,timeout): argument
52 self.timeout = int(timeout)
104 self.p2p_interface.Listen(int(self.timeout))
107 # Required for timeout implementation
115 timeout = 0 variable
138 # Timeout
141 timeout = value variable
[all …]
/freebsd/sys/dev/qat/qat_api/qat_utils/src/
H A DQatUtilsSemaphore.c13 /* Max timeout in MS, used to guard against possible overflow */
32 * to the caller. If the time indicated in 'timeout' is reached,
34 * timeout is set to 'QAT_UTILS_WAIT_NONE', the thread will never block;
42 qatUtilsSemaphoreWait(struct sema **pSid, int32_t timeout) in qatUtilsSemaphoreWait() argument
51 * Guard against illegal timeout values in qatUtilsSemaphoreWait()
53 if ((timeout < 0) && (timeout != QAT_UTILS_WAIT_FOREVER)) { in qatUtilsSemaphoreWait()
55 "QatUtilsSemaphoreWait(): illegal timeout value\n"); in qatUtilsSemaphoreWait()
57 } else if (timeout > QAT_UTILS_MAX_TIMEOUT_MS) { in qatUtilsSemaphoreWait()
59 "QatUtilsSemaphoreWait(): use a smaller timeout value to avoid overflow.\n"); in qatUtilsSemaphoreWait()
63 if (timeout == QAT_UTILS_WAIT_FOREVER) { in qatUtilsSemaphoreWait()
[all …]
/freebsd/crypto/openssl/doc/man3/
H A DSSL_CTX_set_timeout.pod5 SSL_CTX_set_timeout, SSL_CTX_get_timeout - manipulate timeout values for session caching
16 SSL_CTX_set_timeout() sets the timeout for newly created sessions for
17 B<ctx> to B<t>. The timeout value B<t> must be given in seconds.
19 SSL_CTX_get_timeout() returns the currently set timeout value for B<ctx>.
25 timeout value valid at this time. If the actual time is later than creation
26 time plus timeout, the session is not reused.
28 Due to this realization, all sessions behave according to the timeout value
29 valid at the time of the session negotiation. Changes of the timeout value
40 The default value for session timeout is decided on a per protocol
42 All currently supported protocols have the same default timeout value
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DTimeout.h1 //===-- Timeout.h -----------------------------------------------*- C++ -*-===//
21 // from Timeout<std::milli> to Timeout<std::micro>.
24 // - std::nullopt - no timeout, the call should wait forever - 0 - poll, only
28 class Timeout : public std::optional<std::chrono::duration<int64_t, Ratio>> {
39 Timeout(std::nullopt_t none) : Base(none) {} in Timeout() function
43 Timeout(const Timeout<Ratio2> &other) in Timeout() function
48 Timeout(const std::chrono::duration<Rep2, Ratio2> &other) in Timeout() function
56 struct format_provider<lldb_private::Timeout<Ratio>, void> {
57 static void format(const lldb_private::Timeout<Ratio> &timeout,
59 typedef typename lldb_private::Timeout<Ratio>::value_type Dur;
[all …]
/freebsd/sys/arm/freescale/imx/
H A Dimx_wdog.c101 imx_wdog_enable(struct imx_wdog_softc *sc, u_int timeout) in imx_wdog_enable() argument
105 if (timeout < 1 || timeout > 128) in imx_wdog_enable()
109 if (timeout != sc->sc_timeout) { in imx_wdog_enable()
110 sc->sc_timeout = timeout; in imx_wdog_enable()
113 reg |= ((2 * timeout - 1) << WDOG_CR_WT_SHIFT); in imx_wdog_enable()
134 u_int timeout; in imx_watchdog() local
142 timeout = (u_int)((1ULL << (cmd & WD_INTERVAL)) / 1000000000U); in imx_watchdog()
143 if (imx_wdog_enable(sc, timeout) == 0) in imx_watchdog()
187 pcell_t timeout; in imx_wdog_attach() local
222 /* If there is a timeout-sec property, activate the watchdog. */ in imx_wdog_attach()
[all …]
/freebsd/sbin/camcontrol/
H A Dcamcontrol.h62 int ata_do_identify(struct cam_device *device, int retry_count, int timeout,
65 int timeout, int verbosemode);
66 int get_device_type(struct cam_device *dev, int retry_count, int timeout,
73 size_t cdb_storage_len, uint8_t sense_len, uint32_t timeout,
81 int retry_count, int timeout);
83 int task_attr, int retry_count, int timeout, int verbosemode);
85 int retry_count, int timeout, int verbosemode);
87 char *combinedopt, int task_attr, int retry_count, int timeout,
90 char *combinedopt, int task_attr, int retry_count, int timeout,
94 int timeout, uint8_t *data, int datalen);
[all …]
/freebsd/contrib/libpcap/
H A Dpcap_get_required_select_timeout.3pcap22 pcap_get_required_select_timeout \- get a timeout to be used when doing
38 containing a value that must be used as the minimum timeout in
46 if there is no such timeout.
64 given the new value of the timeout.
71 timeout argument to
84 per selectable descriptor can be used, rather than using the timeout
93 Otherwise, a timeout value no larger than
97 to be used in the call should be used as the timeout for the call, and,
104 timeout was returned, regardless of whether it's indicated as having
109 timeout must be put in non-blocking mode with
[all …]
/freebsd/contrib/netbsd-tests/net/net/
H A Dt_forwarding.sh43 TIMEOUT=5
117 atf_check -s exit:0 -o ignore rump.ping6 -n -c 1 -X $TIMEOUT ${addr}
119 atf_check -s exit:0 -o ignore rump.ping -n -w $TIMEOUT -c 1 ${addr}
186 ftp -q $TIMEOUT -o out http://$ip/$HTML_FILE
198 atf_check -s exit:0 -o ignore rump.ping -n -w $TIMEOUT -c 1 ${IP4SRCGW}
199 atf_check -s exit:0 -o ignore rump.ping -n -w $TIMEOUT -c 1 ${IP4DSTGW}
211 atf_check -s exit:0 -o ignore rump.ping6 -n -c 1 -X $TIMEOUT ${IP6SRCGW}
212 atf_check -s exit:0 -o ignore rump.ping6 -n -c 1 -X $TIMEOUT ${IP6DSTGW}
298 atf_check -s not-exit:0 -o ignore rump.ping -q -n -w $TIMEOUT -c 1 $IP4DST
300 atf_check -s not-exit:0 -o ignore rump.ping -q -n -w $TIMEOUT -c 1 $IP4SRC
[all …]
/freebsd/usr.sbin/rpc.lockd/
H A Dtest.c7 /* Default timeout can be changed using clnt_control() */
8 static struct timeval TIMEOUT = { 0, 0 }; variable
18 …if (clnt_call(clnt, NLM_TEST, xdr_nlm_testargs, argp, xdr_nlm_testres, &res, TIMEOUT) != RPC_SUCCE…
34 …if (st = clnt_call(clnt, NLM_LOCK, xdr_nlm_lockargs, argp, xdr_nlm_res, &res, TIMEOUT) != RPC_SUCC…
51 …if (clnt_call(clnt, NLM_CANCEL, xdr_nlm_cancargs, argp, xdr_nlm_res, &res, TIMEOUT) != RPC_SUCCESS…
66 …if (clnt_call(clnt, NLM_UNLOCK, xdr_nlm_unlockargs, argp, xdr_nlm_res, &res, TIMEOUT) != RPC_SUCCE…
81 …if (clnt_call(clnt, NLM_GRANTED, xdr_nlm_testargs, argp, xdr_nlm_res, &res, TIMEOUT) != RPC_SUCCES…
96 …if (clnt_call(clnt, NLM_TEST_MSG, xdr_nlm_testargs, argp, xdr_void, &res, TIMEOUT) != RPC_SUCCESS)…
111 …if (clnt_call(clnt, NLM_LOCK_MSG, xdr_nlm_lockargs, argp, xdr_void, NULL, TIMEOUT) != RPC_SUCCESS)…
127 …if (clnt_call(clnt, NLM_CANCEL_MSG, xdr_nlm_cancargs, argp, xdr_void, &res, TIMEOUT) != RPC_SUCCES…
[all …]

12345678910>>...97