Searched refs:timeout (Results 226 - 250 of 1547) sorted by relevance

1234567891011>>

/freebsd-current/contrib/ntp/sntp/libevent/test/
H A Dtest-changelist.c156 printf("timeout fired, time to end test\n");
165 struct event* timeout; local
189 /* Initialize a timeout to terminate the test */
190 timeout = evtimer_new(base,timeout_cb,&timeout);
197 evtimer_add(timeout, &tv);
206 event_free(timeout);
/freebsd-current/contrib/llvm-project/lldb/source/Core/
H A DCommunication.cpp87 const Timeout<std::micro> &timeout,
92 "this = {0}, dst = {1}, dst_len = {2}, timeout = {3}, connection = {4}",
93 this, dst, dst_len, timeout, m_connection_sp.get());
95 return ReadFromConnection(dst, dst_len, timeout, status, error_ptr);
128 const Timeout<std::micro> &timeout,
133 return connection_sp->Read(dst, dst_len, timeout, status, error_ptr);
86 Read(void *dst, size_t dst_len, const Timeout<std::micro> &timeout, ConnectionStatus &status, Status *error_ptr) argument
127 ReadFromConnection(void *dst, size_t dst_len, const Timeout<std::micro> &timeout, ConnectionStatus &status, Status *error_ptr) argument
/freebsd-current/crypto/openssl/include/openssl/
H A Dhttp.h49 int timeout, int keep_alive);
71 int timeout, BIO *bio_err, const char *prog);
76 size_t max_resp_len, int timeout, int keep_alive);
83 size_t max_resp_len, int timeout);
93 size_t max_resp_len, int timeout, int keep_alive);
/freebsd-current/usr.sbin/uathload/
H A Duathload.c129 int msg, data, fw, timeout, b, c; local
175 timeout = UATH_DATA_TIMEOUT;
176 if (ioctl(msg, USB_SET_RX_TIMEOUT, &timeout) < 0)
184 timeout = UATH_DATA_TIMEOUT;
185 if (ioctl(data, USB_SET_TX_TIMEOUT, &timeout) < 0)
/freebsd-current/contrib/libevent/test/
H A Dtest-changelist.c156 printf("timeout fired, time to end test\n");
165 struct event* timeout; local
189 /* Initialize a timeout to terminate the test */
190 timeout = evtimer_new(base,timeout_cb,&timeout);
197 evtimer_add(timeout, &tv);
206 event_free(timeout);
/freebsd-current/sys/dev/itwd/
H A Ditwd.c54 uint64_t timeout; local
62 * Convert the requested timeout to seconds.
63 * If the timeout is smaller than the minimal supported value
70 timeout = (uint64_t)1 << (cmd - WD_TO_1SEC);
72 timeout = 1;
74 /* TODO If timeout is greater than maximum value
82 * XXX The timeout actually can be up to 65535 units
87 if (timeout <= UINT8_MAX) {
88 val = timeout;
99 device_printf(dev, "setting timeout t
[all...]
/freebsd-current/sbin/camcontrol/
H A Depc.c130 union ccb *ccb, int retry_count, int timeout);
134 union ccb *ccb, int retry_count, int timeout,
138 int retry_count, int timeout, int action,
190 int retry_count, int timeout)
222 /*timeout*/ timeout ? timeout : 60000,
271 union ccb *ccb, int retry_count, int timeout, int power_only)
293 retval = ata_do_identify(device, retry_count, timeout, ccb, &ident);
332 /*timeout*/ timeou
189 epc_list(struct cam_device *device, camcontrol_devtype devtype, union ccb *ccb, int retry_count, int timeout) argument
270 epc_getmode(struct cam_device *device, camcontrol_devtype devtype, union ccb *ccb, int retry_count, int timeout, int power_only) argument
520 epc_set_features(struct cam_device *device, camcontrol_devtype devtype, union ccb *ccb, int retry_count, int timeout, int action, int power_cond, int timer, int enable, int save, int delayed_entry, int hold, int power_src, int restore_src) argument
609 epc(struct cam_device *device, int argc, char **argv, char *combinedopt, int retry_count, int timeout, int verbosemode __unused) argument
[all...]
H A Dmodeedit.c106 int task_attr, int retries, int timeout);
110 int timeout);
113 int task_attr, int retries, int timeout);
116 int task_attr, int retries, int timeout);
126 int task_attr, int retries, int timeout);
130 int timeout);
594 int page, int subpage, int task_attr, int retries, int timeout)
606 retries, timeout, data, sizeof(data));
632 retries, timeout, data, sizeof(data));
638 int page, int subpage, int task_attr, int retries, int timeout)
593 editlist_populate(struct cam_device *device, int cdb_len, int dbd, int pc, int page, int subpage, int task_attr, int retries, int timeout) argument
637 editlist_populate_desc(struct cam_device *device, int cdb_len, int llbaa, int pc, int page, int subpage, int task_attr, int retries, int timeout) argument
698 editlist_save(struct cam_device *device, int cdb_len, int dbd, int pc, int page, int subpage, int task_attr, int retries, int timeout) argument
786 editlist_save_desc(struct cam_device *device, int cdb_len, int llbaa, int pc, int page, int subpage, int task_attr, int retries, int timeout) argument
1001 modepage_dump(struct cam_device *device, int cdb_len, int dbd, int pc, int page, int subpage, int task_attr, int retries, int timeout) argument
1040 modepage_dump_desc(struct cam_device *device, int cdb_len, int llbaa, int pc, int page, int subpage, int task_attr, int retries, int timeout) argument
1082 mode_edit(struct cam_device *device, int cdb_len, int desc, int dbd, int llbaa, int pc, int page, int subpage, int edit, int binary, int task_attr, int retry_count, int timeout) argument
1151 mode_list(struct cam_device *device, int cdb_len, int dbd, int pc, int subpages, int task_attr, int retry_count, int timeout) argument
[all...]
/freebsd-current/sys/arm/freescale/imx/
H A Dimx6_ccm.c322 int timeout; local
332 for (timeout = 100000; timeout > 0; timeout--) {
338 if (timeout <= 0) {
398 int timeout; local
423 for (timeout = 100000; timeout > 0; timeout--) {
429 if (timeout <
[all...]
H A Dimx6_src.c74 int timeout = 10000; local
83 while (timeout-- > 0) {
91 if (timeout < 0)
/freebsd-current/contrib/ntp/scripts/monitoring/
H A Dntptrap40 $ntp'timeout = $FRAG_TIMEOUT; #';
41 $ntp'timeout if 0;
121 sub timeouts # sort timeout id array
183 $timeout = 0;
209 $timeout = @Requests ? 0 : $BASE_TIMEOUT;
211 if ($timeout && @TIMEOUTS)
213 ;# ensure not to miss a timeout
214 if ($timeout + time > $TIMEOUTS{$TIMEOUTS[$[]})
216 $timeout = $TIMEOUTS{$TIMEOUTS[$[]} - time;
217 $timeout
[all...]
/freebsd-current/contrib/ofed/libibmad/
H A Dresolve.c52 int ib_resolve_smlid_via(ib_portid_t * sm_id, int timeout, argument
75 int ib_resolve_smlid(ib_portid_t * sm_id, int timeout) argument
77 return ib_resolve_smlid_via(sm_id, timeout, ibmp);
81 ib_portid_t * sm_id, int timeout,
91 if (ib_resolve_smlid_via(sm_id, timeout, srcport) < 0)
103 ib_portid_t * sm_id, int timeout,
116 if (ib_resolve_smlid_via(sm_id, timeout, srcport) < 0)
80 ib_resolve_gid_via(ib_portid_t * portid, ibmad_gid_t gid, ib_portid_t * sm_id, int timeout, const struct ibmad_port *srcport) argument
102 ib_resolve_guid_via(ib_portid_t * portid, uint64_t * guid, ib_portid_t * sm_id, int timeout, const struct ibmad_port *srcport) argument
H A Drpc.c90 int madrpc_set_timeout(int timeout) argument
92 madrpc_timeout = timeout;
101 void mad_rpc_set_timeout(struct ibmad_port *port, int timeout) argument
103 port->timeout = timeout;
130 int timeout, int max_retries, int *p_error)
159 ERRS("retry %d (timeout %d ms)", retries, timeout);
162 if (umad_send(port_id, agentid, sndbuf, length, timeout, 0) < 0) {
167 /* Use same timeout o
129 _do_madrpc(int port_id, void *sndbuf, void *rcvbuf, int agentid, int len, int timeout, int max_retries, int *p_error) argument
[all...]
/freebsd-current/sys/dev/mlx4/
H A Dcmd.h270 u16 op, unsigned long timeout, int native);
274 u8 op_modifier, u16 op, unsigned long timeout,
278 op_modifier, op, timeout, native);
284 unsigned long timeout, int native)
287 op_modifier, op, timeout, native);
297 unsigned long timeout, int native)
300 op_modifier, op, timeout, native);
273 mlx4_cmd(struct mlx4_dev *dev, u64 in_param, u32 in_modifier, u8 op_modifier, u16 op, unsigned long timeout, int native) argument
282 mlx4_cmd_box(struct mlx4_dev *dev, u64 in_param, u64 out_param, u32 in_modifier, u8 op_modifier, u16 op, unsigned long timeout, int native) argument
295 mlx4_cmd_imm(struct mlx4_dev *dev, u64 in_param, u64 *out_param, u32 in_modifier, u8 op_modifier, u16 op, unsigned long timeout, int native) argument
/freebsd-current/sys/cam/ata/
H A Data_all.h134 uint8_t *data_ptr, uint32_t dxfer_len, uint32_t timeout);
163 uint8_t *data_ptr, uint16_t allocation_length, uint32_t timeout);
168 uint32_t timeout);
173 uint8_t *data_ptr, uint16_t allocation_length, uint32_t timeout);
178 uint32_t timeout);
184 uint32_t dxfer_len, uint32_t timeout);
190 uint32_t timeout);
/freebsd-current/lib/libusb/
H A Dlibusb20.h228 void libusb20_tr_set_timeout(struct libusb20_transfer *xfer, uint32_t timeout);
230 void libusb20_tr_setup_bulk(struct libusb20_transfer *xfer, void *pbuf, uint32_t length, uint32_t timeout);
231 void libusb20_tr_setup_control(struct libusb20_transfer *xfer, void *psetup, void *pbuf, uint32_t timeout);
232 void libusb20_tr_setup_intr(struct libusb20_transfer *xfer, void *pbuf, uint32_t length, uint32_t timeout);
234 uint8_t libusb20_tr_bulk_intr_sync(struct libusb20_transfer *xfer, void *pbuf, uint32_t length, uint32_t *pactlen, uint32_t timeout);
255 int 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);
280 void libusb20_dev_wait_process(struct libusb20_device *pdev, int timeout);
/freebsd-current/sys/dev/mmc/
H A Dmmc_subr.c150 uint8_t index, uint8_t value, u_int timeout, bool status)
156 KASSERT(timeout != 0, ("%s: no timeout", __func__));
165 * If the hardware supports busy detection but the switch timeout
166 * exceeds the maximum host timeout, use a R1 instead of a R1B
170 timeout > mmcbr_get_max_busy_timeout(busdev))
183 err = mmc_switch_status(busdev, dev, rca, timeout);
190 mmc_switch_status(device_t busdev, device_t dev, uint16_t rca, u_int timeout) argument
196 KASSERT(timeout != 0, ("%s: no timeout", __func_
149 mmc_switch(device_t busdev, device_t dev, uint16_t rca, uint8_t set, uint8_t index, uint8_t value, u_int timeout, bool status) argument
[all...]
/freebsd-current/sys/arm/nvidia/
H A Dtegra_rtc.c80 #define SLEEP(_sc, timeout) \
81 mtx_sleep(sc, &sc->mtx, 0, "rtcwait", timeout);
108 int timeout; local
110 for (timeout = 500; timeout >0; timeout--) {
115 if (timeout <= 0)
/freebsd-current/lib/libthr/thread/
H A Dthr_umtx.h45 const struct timespec *timeout) __hidden;
55 const struct timespec *timeout) __hidden;
57 const struct timespec *timeout, int shared) __hidden;
59 const struct timespec *timeout, int shared) __hidden;
62 const struct timespec *timeout, int flags) __hidden;
136 const struct timespec *timeout)
141 return (__thr_umutex_timedlock(mtx, id, timeout));
135 _thr_umutex_timedlock(struct umutex *mtx, uint32_t id, const struct timespec *timeout) argument
/freebsd-current/sys/dev/smartpqi/
H A Dsmartpqi_sis.c124 uint32_t timeout = SIS_ENABLE_TIMEOUT; local
133 REENABLE_SIS) == 0), timeout)
134 if (!timeout) {
148 uint32_t timeout = SIS_STATUS_OK_TIMEOUT; local
154 PQI_CTRL_KERNEL_UP_AND_RUNNING), timeout);
155 if (!timeout) {
170 uint32_t timeout = SIS_CMD_COMPLETE_TIMEOUT; local
200 SIS_CMD_COMPLETE), timeout);
201 if (!timeout) {
/freebsd-current/sys/dev/pcf/
H A Dpcf.c52 static int pcf_noack(struct pcf_softc *pcf, int timeout);
71 printf("pcf: timeout!\n");
100 pcf_noack(struct pcf_softc *sc, int timeout) argument
103 int k = timeout/10;
117 pcf_repeated_start(device_t dev, u_char slave, int timeout) argument
139 if (pcf_noack(sc, timeout)) {
157 pcf_start(device_t dev, u_char slave, int timeout) argument
188 if (pcf_noack(sc, timeout)) {
378 pcf_write(device_t dev, const char *buf, int len, int *sent, int timeout /* us */)
398 if (pcf_noack(sc, timeout)) {
[all...]
/freebsd-current/contrib/xz/src/common/
H A Dmythread.h238 // timeout in pthread_cond_timedwait() work correctly also if system time
306 // Waits on a condition or until a timeout expires. If the timeout expires,
379 // Tick count (milliseconds) in the beginning of the timeout.
384 // Length of the timeout in milliseconds. The timeout expires
386 // than "timeout".
387 DWORD timeout; member in struct:__anon4
520 DWORD timeout = elapsed >= condtime->timeout local
538 mythread_condtime_set(mythread_condtime *condtime, const mythread_cond *cond, uint32_t timeout) argument
[all...]
/freebsd-current/contrib/sendmail/libmilter/
H A Dmain.c99 static int timeout = MI_TIMEOUT; variable
144 ** SMFI_SETTIMEOUT -- set timeout (for read/write).
147 ** otimeout -- new timeout.
157 timeout = otimeout;
242 if (mi_listener(conn, dbg, smfi, timeout, backlog) != MI_SUCCESS)
/freebsd-current/contrib/ofed/librdmacm/examples/
H A Dcommon.c154 int do_poll(struct pollfd *fds, int timeout) argument
160 ret = rs_poll(fds, 1, timeout);
162 ret = poll(fds, 1, timeout);
/freebsd-current/sys/dev/qat/qat_common/
H A Dadf_gen4_timer.c20 u64 timeout = msecs_to_jiffies(timeout_val); local
22 return rounddown(jiffies + timeout, timeout);

Completed in 829 milliseconds

1234567891011>>