Searched refs:timeout (Results 126 - 150 of 1541) sorted by relevance

1234567891011>>

/freebsd-current/sys/dev/etherswitch/arswitch/
H A Darswitch_phy.c115 int err, timeout; local
140 for (timeout = 100; timeout--; ) {
145 if (timeout < 0) {
147 "arswitch_readphy(): phy=%d.%02x; timeout=%d\n",
148 phy, reg, timeout);
176 int err, timeout; local
200 for (timeout = 100; timeout--; ) {
205 if (timeout <
[all...]
/freebsd-current/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_common.c160 DBusTimeout *timeout = sock_ctx; local
161 dbus_timeout_handle(timeout);
165 static dbus_bool_t add_timeout(DBusTimeout *timeout, void *data) argument
169 if (!dbus_timeout_get_enabled(timeout))
172 eloop_register_timeout(0, dbus_timeout_get_interval(timeout) * 1000,
173 process_timeout, priv, timeout);
175 dbus_timeout_set_data(timeout, priv, NULL);
181 static void remove_timeout(DBusTimeout *timeout, void *data) argument
185 eloop_cancel_timeout(process_timeout, priv, timeout);
186 dbus_timeout_set_data(timeout, NUL
190 timeout_toggled(DBusTimeout *timeout, void *data) argument
[all...]
/freebsd-current/sys/sys/
H A Dtimepps.h108 struct timespec timeout; member in struct:pps_fetch_args
114 struct timespec timeout; member in struct:pps_fetch_ffc_args
215 pps_info_t *ppsinfobuf, const struct timespec *timeout)
221 if (timeout == NULL) {
222 arg.timeout.tv_sec = -1;
223 arg.timeout.tv_nsec = -1;
225 arg.timeout = *timeout;
233 pps_info_ffc_t *ppsinfobuf, const struct timespec *timeout)
239 if (timeout
214 time_pps_fetch(pps_handle_t handle, const int tsformat, pps_info_t *ppsinfobuf, const struct timespec *timeout) argument
232 time_pps_fetch_ffc(pps_handle_t handle, const int tsformat, pps_info_ffc_t *ppsinfobuf, const struct timespec *timeout) argument
[all...]
/freebsd-current/sbin/camcontrol/
H A Ddepop.c80 int timeout, int verbosemode __unused)
87 hdr = scsi_wrap_get_physical_element_status(device, task_attr, retry_count, timeout,
117 int timeout, int verbosemode __unused, uint32_t elem, uint64_t capacity)
134 timeout);
156 int timeout, int verbosemode __unused)
171 timeout);
201 int task_attr, int retry_count, int timeout, int verbosemode)
246 * Compute a sane timeout if none given. 5 seconds for the list command
250 * of a day to complete, so a 1 day timeout default seems appropriate.
252 if (timeout
79 depop_list(struct cam_device *device, int task_attr, int retry_count, int timeout, int verbosemode __unused) argument
116 depop_remove(struct cam_device *device, int task_attr, int retry_count, int timeout, int verbosemode __unused, uint32_t elem, uint64_t capacity) argument
155 depop_restore(struct cam_device *device, int task_attr, int retry_count, int timeout, int verbosemode __unused) argument
200 depop(struct cam_device *device, int argc, char **argv, char *combinedopt, int task_attr, int retry_count, int timeout, int verbosemode) argument
[all...]
/freebsd-current/contrib/netbsd-tests/lib/libc/sys/
H A Dt_poll.c88 atf_tc_set_md_var(tc, "timeout", "15");
151 atf_tc_set_md_var(tc, "timeout", "10");
170 * Check that we get a timeout waiting for data on the read end
240 atf_tc_set_md_var(tc, "timeout", "10");
249 struct timespec timeout; local
259 /* Use a timeout of 1 second. */
260 timeout.tv_sec = 1;
261 timeout.tv_nsec = 0;
264 * Check that we get a timeout waiting for data on the read end
269 ATF_REQUIRE_EQ_MSG(ret = pollts(&pfds[0], 1, &timeout, NUL
317 struct timespec timeout; local
349 struct timespec timeout; local
[all...]
/freebsd-current/contrib/ofed/libibmad/
H A Dgs.c51 unsigned timeout, unsigned id,
73 rpc.timeout = timeout;
88 int port, unsigned mask, unsigned timeout,
122 rpc.timeout = timeout;
50 pma_query_via(void *rcvbuf, ib_portid_t * dest, int port, unsigned timeout, unsigned id, const struct ibmad_port * srcport) argument
87 performance_reset_via(void *rcvbuf, ib_portid_t * dest, int port, unsigned mask, unsigned timeout, unsigned id, const struct ibmad_port * srcport) argument
H A Dcc.c50 unsigned attrid, unsigned mod, unsigned timeout,
61 rpc.timeout = timeout;
85 unsigned attrid, unsigned mod, unsigned timeout,
96 rpc.timeout = timeout;
49 cc_query_status_via(void *rcvbuf, ib_portid_t * portid, unsigned attrid, unsigned mod, unsigned timeout, int *rstatus, const struct ibmad_port * srcport, uint64_t cckey) argument
84 cc_config_status_via(void *payload, void *rcvbuf, ib_portid_t * portid, unsigned attrid, unsigned mod, unsigned timeout, int *rstatus, const struct ibmad_port * srcport, uint64_t cckey) argument
/freebsd-current/sys/contrib/dev/mediatek/mt76/
H A Dutil.c14 int timeout)
18 timeout /= 10;
25 } while (timeout-- > 0);
32 int timeout, int tick)
36 timeout /= tick;
43 } while (timeout-- > 0);
13 __mt76_poll(struct mt76_dev *dev, u32 offset, u32 mask, u32 val, int timeout) argument
31 ____mt76_poll_msec(struct mt76_dev *dev, u32 offset, u32 mask, u32 val, int timeout, int tick) argument
H A Dmt76x02_dma.h54 mt76x02_wait_for_wpdma(struct mt76_dev *dev, int timeout) argument
59 0, timeout);
/freebsd-current/contrib/sendmail/libsm/
H A Dfvwrite.c34 ** timeout -- time length for function to return by
56 sm_fvwrite(fp, timeout, uio)
58 int timeout;
80 SM_CONVERT_TIME(fp, fd, timeout, &to);
98 if (IS_IO_ERROR(fd, w, timeout))
102 SM_IO_WR_TIMEOUT(fp, fd, timeout);
173 if (sm_flush(fp, &timeout))
184 if (IS_IO_ERROR(fd, w, timeout))
188 SM_IO_WR_TIMEOUT(fp, fd, timeout);
204 if ((fp->f_flags & SMNOW) != 0 && sm_flush(fp, &timeout))
[all...]
/freebsd-current/usr.sbin/bluetooth/btpand/
H A Devent.c90 struct timeval now, timeout, t; local
99 timeout.tv_sec = 10; /* arbitrary */
100 timeout.tv_usec = 0;
122 if (tv_cmp(&t, &timeout) < 0)
123 timeout = t;
143 nfd = select(nfd + 1, &r, &w, NULL, &timeout);
164 event_add(ev, &ev->timeout);
183 /* if event has no timeout - just requeue */
192 event_add(ev, &ev->timeout);
222 __event_add(struct event *ev, const struct timeval *timeout) argument
[all...]
/freebsd-current/sys/dev/viawd/
H A Dviawd.c72 viawd_tmr_set(struct viawd_softc *sc, unsigned int timeout) argument
76 if (timeout < VIAWD_MEM_COUNT_MIN)
77 timeout = VIAWD_MEM_COUNT_MIN;
78 else if (timeout > VIAWD_MEM_COUNT_MAX)
79 timeout = VIAWD_MEM_COUNT_MAX;
81 viawd_write_4(sc, VIAWD_MEM_COUNT, timeout);
82 sc->timeout = timeout;
87 * the watchdog or change the initial timeout value.
93 unsigned int timeout; local
[all...]
/freebsd-current/contrib/sendmail/libmilter/
H A Dsmfi.c49 struct timeval timeout; local
53 timeout.tv_sec = ctx->ctx_timeout;
54 timeout.tv_usec = 0;
72 r = mi_wr_cmd(ctx->ctx_sd, &timeout, cmd, buf, len);
182 struct timeval timeout;
186 timeout.tv_sec = ctx->ctx_timeout;
187 timeout.tv_usec = 0;
215 r = mi_wr_cmd(ctx->ctx_sd, &timeout, cmd, buf, len);
247 struct timeval timeout; local
251 timeout
386 struct timeval timeout; local
415 struct timeval timeout; local
446 struct timeval timeout; local
490 struct timeval timeout; local
852 struct timeval timeout; local
[all...]
/freebsd-current/tools/test/stress2/misc/
H A Davx_sig.sh12 timeout 1m /tmp/avx_sig; s=$?
H A Dkevent13.sh78 struct timespec timeout;
94 if (kevent(kq, kev, 2, ke, 2, &timeout) < 0)
132 timeout.tv_sec = 0;
133 timeout.tv_nsec = 1;
H A Dpdfork.sh54 timeout 20s truss -f /tmp/pdfork 2> /dev/null; s1=$?
55 timeout 20s truss -f /tmp/pdfork -p 2> /dev/null; s2=$?
/freebsd-current/sys/contrib/xen/
H A Dsched.h92 * optional timeout may be specified.
116 * after timeout, returns watchdog id.
117 * With id != 0 and timeout == 0, destroy domain watchdog timer.
118 * With id != 0 and timeout != 0, poke watchdog timer and set new timeout.
144 uint64_t timeout; member in struct:sched_poll
158 uint32_t timeout; /* timeout */ member in struct:sched_watchdog
/freebsd-current/contrib/sendmail/include/sm/
H A Dsem.h55 # define sm_sem_acq(semid, semnum, timeout) 0
56 # define sm_sem_rel(semid, semnum, timeout) 0
/freebsd-current/libexec/talkd/
H A Dextern.h43 void timeout(int sig);
/freebsd-current/sys/dev/mmc/
H A Dmmc_subr.h62 uint8_t index, uint8_t value, u_int timeout, bool send_status);
64 u_int timeout);
/freebsd-current/contrib/llvm-project/lldb/source/API/
H A DSBExpressionOptions.cpp94 void SBExpressionOptions::SetTimeoutInMicroSeconds(uint32_t timeout) { argument
95 LLDB_INSTRUMENT_VA(this, timeout);
97 m_opaque_up->SetTimeout(timeout == 0 ? Timeout<std::micro>(std::nullopt)
98 : std::chrono::microseconds(timeout));
109 void SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds(uint32_t timeout) { argument
110 LLDB_INSTRUMENT_VA(this, timeout);
112 m_opaque_up->SetOneThreadTimeout(timeout == 0
114 : std::chrono::microseconds(timeout));
/freebsd-current/sys/arm/ti/clk/
H A Dti_clk_clkctrl.c96 uint32_t timeout = 100; local
117 while (timeout) {
125 timeout--;
127 if (timeout == 0) {
140 uint32_t timeout=100; local
157 while (timeout) {
170 timeout--;
173 if (timeout == 0) {
/freebsd-current/sys/dev/amdsbwd/
H A Damdsbwd.c101 unsigned int timeout; member in struct:amdsbwd_softc
205 amdsbwd_tmr_set(struct amdsbwd_softc *sc, uint16_t timeout) argument
208 timeout &= AMDSB_WD_COUNT_MASK;
209 wdcount_write(sc, timeout);
210 sc->timeout = timeout;
211 amdsbwd_verbose_printf(sc->dev, "timeout set to %u ticks\n", timeout);
218 uint64_t timeout; local
221 timeout
[all...]
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/mib/
H A Dtst.tcp.ksh40 timeout=15
136 timeout=$(($timeout-1))
137 if [ $timeout -eq 0 ]; then
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/events/
H A Devents_common.kshlib34 function file_wait_event # file event timeout
38 timeout=${3:-120}
43 if [[ $SECONDS -gt $timeout ]]; then
55 # Wait for up to 'timeout' seconds for the 'file' to settle, i.e.
58 function file_wait # file delay timeout
62 timeout=${3:-120}
67 if [[ $SECONDS -gt $timeout ]]; then

Completed in 263 milliseconds

1234567891011>>