Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 25 of 1717) sorted by relevance

12345678910>>...69

/freebsd-13.1/lib/libthr/thread/
H A Dthr_umtx.c137 tm_p = &timeout; in __thr_umutex_timedlock()
138 tm_size = sizeof(timeout); in __thr_umutex_timedlock()
198 if (timeout && (timeout->tv_sec < 0 || (timeout->tv_sec == 0 && in _thr_umtx_wait()
210 if (timeout && (timeout->tv_sec < 0 || (timeout->tv_sec == 0 && in _thr_umtx_wait_uint()
232 tm_p = &timeout; in _thr_umtx_timedwait_uint()
233 tm_size = sizeof(timeout); in _thr_umtx_timedwait_uint()
262 if (timeout && (timeout->tv_sec < 0 || (timeout->tv_sec == 0 && in _thr_ucond_wait()
301 timeout._timeout = *tsp; in __thr_rwlock_rdlock()
304 tm_p = &timeout; in __thr_rwlock_rdlock()
321 timeout._timeout = *tsp; in __thr_rwlock_wrlock()
[all …]
/freebsd-13.1/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
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
13 set timeout icmp.error 34
[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-13.1/contrib/wpa/src/utils/
H A Deloop_win.c244 timeout = os_zalloc(sizeof(*timeout)); in eloop_register_timeout()
279 dl_list_add_tail(&eloop.timeout, &timeout->list); in eloop_register_timeout()
288 os_free(timeout); in eloop_remove_timeout()
298 dl_list_for_each_safe(timeout, prev, &eloop.timeout, in eloop_cancel_timeout()
325 dl_list_for_each_safe(timeout, prev, &eloop.timeout, in eloop_cancel_timeout_one()
544 timeout = dl_list_first(&eloop.timeout, struct eloop_timeout, in eloop_run()
546 if (timeout) { in eloop_run()
562 if (timeout) in eloop_run()
585 timeout = dl_list_first(&eloop.timeout, struct eloop_timeout, in eloop_run()
587 if (timeout) { in eloop_run()
[all …]
H A Deloop.c779 timeout = os_zalloc(sizeof(*timeout)); in eloop_register_timeout()
811 dl_list_add_tail(&eloop.timeout, &timeout->list); in eloop_register_timeout()
831 wpa_trace_remove_ref(timeout, eloop, timeout->eloop_data); in eloop_remove_timeout()
832 wpa_trace_remove_ref(timeout, user, timeout->user_data); in eloop_remove_timeout()
843 dl_list_for_each_safe(timeout, prev, &eloop.timeout, in eloop_cancel_timeout()
870 dl_list_for_each_safe(timeout, prev, &eloop.timeout, in eloop_cancel_timeout_one()
1116 timeout = dl_list_first(&eloop.timeout, struct eloop_timeout, in eloop_run()
1118 if (timeout) { in eloop_run()
1198 if (timeout) { in eloop_run()
1268 dl_list_for_each_safe(timeout, prev, &eloop.timeout, in eloop_destroy()
[all …]
/freebsd-13.1/bin/pwait/tests/
H A Dpwait_test.sh24 timeout --preserve-status 15 pwait $p1 $p5 $p10
66 timeout --preserve-status 2 pwait -t 1d $init
72 timeout --preserve-status 2 pwait -t 1d $init
78 timeout --preserve-status 2 pwait -t -1 $init
98 timeout --preserve-status 2 pwait -t 1h $init
110 timeout --preserve-status 2 pwait -t 1m $init
122 timeout --preserve-status 2 pwait -t 0 $init
130 timeout --preserve-status 2 pwait -t 1s $init
142 timeout --preserve-status 2 pwait -t 1 $init
172 timeout --preserve-status 6.5 pwait -t 5 $p10
[all …]
/freebsd-13.1/contrib/sendmail/libsm/
H A Drefill.c118 sm_lflush(fp, timeout) in sm_lflush() argument
120 int *timeout;
124 return sm_flush(fp, timeout);
141 sm_refill(fp, timeout) in sm_refill() argument
143 int timeout;
149 if (timeout == SM_TIME_DEFAULT)
150 timeout = fp->f_timeout;
151 if (timeout == SM_TIME_IMMEDIATE)
188 if (sm_flush(fp, &timeout))
293 sm_rget(fp, timeout) in sm_rget() argument
[all …]
H A Dfopen.c127 if (timeout == SM_TIME_DEFAULT)
128 timeout = SM_TIME_FOREVER;
129 if (timeout == SM_TIME_IMMEDIATE)
138 if (timeout != SM_TIME_FOREVER)
145 evt = sm_seteventm(timeout, openalrm, 0);
223 int SM_NONVOLATILE timeout;
235 (void) sm_io_close(fp, timeout);
242 if (timeout == SM_TIME_DEFAULT)
243 timeout = SM_TIME_FOREVER;
244 if (timeout == SM_TIME_IMMEDIATE)
[all …]
H A Dsem.c112 sm_sem_acq(semid, semnum, timeout) in sm_sem_acq() argument
115 int timeout;
123 (timeout != SM_TIME_FOREVER ? 0 : IPC_NOWAIT);
124 if (timeout == SM_TIME_IMMEDIATE || timeout == SM_TIME_FOREVER)
132 --timeout;
133 } while (timeout > 0);
151 sm_sem_rel(semid, semnum, timeout) in sm_sem_rel() argument
154 int timeout;
168 if (timeout == SM_TIME_IMMEDIATE || timeout == SM_TIME_FOREVER)
176 --timeout;
[all …]
H A Dfpos.c70 sm_io_tell(fp, timeout) in sm_io_tell() argument
72 int SM_NONVOLATILE timeout;
84 if (timeout == SM_TIME_DEFAULT)
85 timeout = fp->f_timeout;
86 if (timeout == SM_TIME_IMMEDIATE)
102 (void) sm_flush(fp, (int *) &timeout);
105 if (timeout != SM_TIME_FOREVER)
113 evt = sm_seteventm(timeout, tellalrm, 0);
/freebsd-13.1/sys/arm/freescale/imx/
H A Dimx_wdog.c108 if (timeout < 1 || timeout > 128) in imx_wdog_enable()
112 if (timeout != sc->sc_timeout) { in imx_wdog_enable()
113 sc->sc_timeout = timeout; in imx_wdog_enable()
116 reg |= ((2 * timeout - 1) << WDOG_CR_WT_SHIFT); in imx_wdog_enable()
137 u_int timeout; in imx_watchdog() local
146 if (imx_wdog_enable(sc, timeout) == 0) in imx_watchdog()
190 pcell_t timeout; in imx_wdog_attach() local
227 &timeout, sizeof(timeout)) == sizeof(timeout)) { in imx_wdog_attach()
228 if (timeout < 1 || timeout > 128) { in imx_wdog_attach()
231 timeout = 128; in imx_wdog_attach()
[all …]
/freebsd-13.1/sys/compat/linuxkpi/common/src/
H A Dlinux_schedule.c56 if (timeout != 0) in linux_add_to_sleepqueue()
61 if (timeout == 0) in linux_add_to_sleepqueue()
267 if (timeout < 1) in linux_wait_event_common()
268 timeout = 1; in linux_wait_event_common()
270 timeout = 0; in linux_wait_event_common()
305 if (timeout < 1) in linux_schedule_timeout()
306 timeout = 1; in linux_schedule_timeout()
308 timeout = 0; in linux_schedule_timeout()
362 int timeout) in linux_wait_on_bit_timeout() argument
370 timeout = 1; in linux_wait_on_bit_timeout()
[all …]
/freebsd-13.1/sbin/camcontrol/
H A Dcamcontrol.h67 int timeout, int verbosemode);
75 size_t cdb_storage_len, uint8_t sense_len, uint32_t timeout,
83 int retry_count, int timeout);
85 int task_attr, int retry_count, int timeout, int verbosemode);
87 int retry_count, int timeout, int verbosemode);
93 int timeout, uint8_t *data, int datalen);
95 int task_attr, int retry_count, int timeout, u_int8_t *data,
99 int task_attr, int retry_count, int timeout);
104 int timeout);
108 int timeout, int verbosemode, uint32_t *fill_len,
[all …]
H A Dtimestamp.c67 int timeout);
72 int timeout);
110 /*timeout*/ timeout ? timeout : 5000); in set_restore_flags()
161 /*timeout*/ timeout ? timeout : 5000); in set_restore_flags()
189 int retry_count, int timeout) in report_timestamp() argument
214 /*timeout*/ timeout ? timeout : 5000); in report_timestamp()
248 int timeout) in set_timestamp() argument
260 retry_count, timeout); in set_timestamp()
299 /*timeout*/ timeout ? timeout : 5000); in set_timestamp()
458 timeout); in timestamp()
[all …]
/freebsd-13.1/contrib/apr/support/unix/
H A Dwaitio.c44 int rc, timeout; in apr_wait_for_io_or_timeout() local
46 timeout = f ? f->timeout / 1000 : s->timeout / 1000; in apr_wait_for_io_or_timeout()
51 rc = poll(&pfd, 1, timeout); in apr_wait_for_io_or_timeout()
69 apr_interval_time_t timeout; in apr_wait_for_io_or_timeout() local
88 timeout = f->timeout; in apr_wait_for_io_or_timeout()
95 timeout = s->timeout; in apr_wait_for_io_or_timeout()
112 status = apr_pollset_poll(pollset, timeout, &numdesc, &pdesc); in apr_wait_for_io_or_timeout()
/freebsd-13.1/contrib/ofed/libibmad/
H A Dsmp.c61 unsigned mod, unsigned timeout, int *rstatus, in smp_set_status_via() argument
78 rpc.timeout = timeout; in smp_set_status_via()
93 unsigned mod, unsigned timeout, in smp_set_via() argument
96 return smp_set_status_via(data, portid, attrid, mod, timeout, NULL, in smp_set_via()
101 unsigned mod, unsigned timeout) in smp_set() argument
103 return smp_set_via(data, portid, attrid, mod, timeout, ibmp); in smp_set()
107 unsigned attrid, unsigned mod, unsigned timeout, in smp_query_status_via() argument
117 rpc.timeout = timeout; in smp_query_status_via()
139 unsigned mod, unsigned timeout, in smp_query_via() argument
147 unsigned mod, unsigned timeout) in smp_query() argument
[all …]
/freebsd-13.1/usr.bin/timeout/tests/
H A Dtimeout_test.sh15 timeout 5 true
30 timeout 1d true
36 timeout 1h true
42 timeout 1m true
48 timeout 1s true
63 timeout 0 true
78 -x timeout 5 sh -c \'exit 2\'
103 -x sh -c 'trap "" CHLD; exec timeout 10 true'
/freebsd-13.1/contrib/sendmail/libmilter/
H A Dsmfi.c49 struct timeval timeout; local
54 timeout.tv_usec = 0;
182 struct timeval timeout;
187 timeout.tv_usec = 0;
247 struct timeval timeout; local
252 timeout.tv_usec = 0;
393 timeout.tv_usec = 0;
422 timeout.tv_usec = 0;
454 timeout.tv_usec = 0;
497 timeout.tv_usec = 0;
[all …]
/freebsd-13.1/usr.sbin/bluetooth/btpand/
H A Devent.h56 struct timeval timeout; member
83 #define event_add(ev, timeout) \ argument
84 _event_add(__FILE__, __LINE__, ev, timeout)
90 #define evtimer_add(ev, timeout) \ argument
108 struct timeval const *timeout) { in _event_add() argument
111 ev->cbarg, timeout); in _event_add()
116 return (__event_add(ev, timeout)); in _event_add()
138 #define event_add(ev, timeout) \ argument
139 __event_add(ev, timeout)
145 #define evtimer_add(ev, timeout) \ argument
[all …]
/freebsd-13.1/sys/sys/
H A Dtimepps.h110 struct timespec timeout; member
116 struct timespec timeout; member
217 pps_info_t *ppsinfobuf, const struct timespec *timeout) in time_pps_fetch() argument
223 if (timeout == NULL) { in time_pps_fetch()
224 arg.timeout.tv_sec = -1; in time_pps_fetch()
225 arg.timeout.tv_nsec = -1; in time_pps_fetch()
227 arg.timeout = *timeout; in time_pps_fetch()
241 if (timeout == NULL) { in time_pps_fetch_ffc()
242 arg.timeout.tv_sec = -1; in time_pps_fetch_ffc()
243 arg.timeout.tv_nsec = -1; in time_pps_fetch_ffc()
[all …]
/freebsd-13.1/contrib/apr/poll/unix/
H A Dpoll.c116 if (timeout > 0) { in apr_poll()
249 if (timeout > 0) { in impl_pollset_poll()
255 if (timeout > 0) { in impl_pollset_poll()
256 timeout /= 1000; in impl_pollset_poll()
260 if (timeout > 0) { in impl_pollset_poll()
261 timeout /= 1000; in impl_pollset_poll()
404 if (timeout > 0) { in impl_pollcb_poll()
410 if (timeout > 0) { in impl_pollcb_poll()
411 timeout /= 1000; in impl_pollcb_poll()
415 if (timeout > 0) { in impl_pollcb_poll()
[all …]
/freebsd-13.1/contrib/netbsd-tests/lib/libc/sys/
H A Dt_poll.c249 struct timespec timeout; in ATF_TC_BODY() local
260 timeout.tv_sec = 1; in ATF_TC_BODY()
261 timeout.tv_nsec = 0; in ATF_TC_BODY()
317 struct timespec timeout; in ATF_TC_BODY() local
324 timeout.tv_sec = 1; in ATF_TC_BODY()
325 timeout.tv_nsec = 0; in ATF_TC_BODY()
330 timeout.tv_sec = -1; in ATF_TC_BODY()
331 timeout.tv_nsec = -1; in ATF_TC_BODY()
349 struct timespec timeout; in ATF_TC_BODY() local
360 timeout.tv_sec = 1; in ATF_TC_BODY()
[all …]
/freebsd-13.1/crypto/openssl/doc/man3/
H A DSSL_CTX_set_timeout.pod16 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.
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
46 tickets. It is also used as the timeout value within the ticket itself.
57 SSL_CTX_set_timeout() returns the previously set timeout value.
[all …]
/freebsd-13.1/sys/contrib/octeon-sdk/
H A Dcvmx-spi.h86 int (*clock_detect_cb)(int interface, cvmx_spi_mode_t mode, int timeout);
89 int (*training_cb)(int interface, cvmx_spi_mode_t mode, int timeout);
92 int (*calendar_sync_cb)(int interface, cvmx_spi_mode_t mode, int timeout);
126 extern int cvmx_spi_start_interface(int interface, cvmx_spi_mode_t mode, int timeout, int num_ports…
141 extern int cvmx_spi_restart_interface(int interface, cvmx_spi_mode_t mode, int timeout);
224 extern int cvmx_spi_clock_detect_cb(int interface, cvmx_spi_mode_t mode, int timeout);
238 extern int cvmx_spi_training_cb(int interface, cvmx_spi_mode_t mode, int timeout);
252 extern int cvmx_spi_calendar_sync_cb(int interface, cvmx_spi_mode_t mode, int timeout);
/freebsd-13.1/sys/dev/viawd/
H A Dviawd.c77 viawd_tmr_set(struct viawd_softc *sc, unsigned int timeout) in viawd_tmr_set() argument
81 if (timeout < VIAWD_MEM_COUNT_MIN) in viawd_tmr_set()
82 timeout = VIAWD_MEM_COUNT_MIN; in viawd_tmr_set()
83 else if (timeout > VIAWD_MEM_COUNT_MAX) in viawd_tmr_set()
84 timeout = VIAWD_MEM_COUNT_MAX; in viawd_tmr_set()
86 viawd_write_4(sc, VIAWD_MEM_COUNT, timeout); in viawd_tmr_set()
87 sc->timeout = timeout; in viawd_tmr_set()
98 unsigned int timeout; in viawd_event() local
102 timeout = ((uint64_t)1 << cmd) / 1000000000; in viawd_event()
104 if (timeout != sc->timeout) in viawd_event()
[all …]

12345678910>>...69