Searched refs:timeout (Results 201 - 225 of 1269) sorted by relevance

1234567891011>>

/freebsd-11-stable/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-11-stable/sys/arm/nvidia/
H A Dtegra_rtc.c83 #define SLEEP(_sc, timeout) \
84 mtx_sleep(sc, &sc->mtx, 0, "rtcwait", timeout);
111 int timeout; local
113 for (timeout = 500; timeout >0; timeout--) {
118 if (timeout <= 0)
/freebsd-11-stable/lib/libthr/thread/
H A Dthr_umtx.h46 const struct timespec *timeout) __hidden;
56 const struct timespec *timeout) __hidden;
58 const struct timespec *timeout, int shared) __hidden;
60 const struct timespec *timeout, int shared) __hidden;
63 const struct timespec *timeout, int flags) __hidden;
137 const struct timespec *timeout)
142 return (__thr_umutex_timedlock(mtx, id, timeout));
136 _thr_umutex_timedlock(struct umutex *mtx, uint32_t id, const struct timespec *timeout) argument
/freebsd-11-stable/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-11-stable/sys/dev/mmc/
H A Dmmc_subr.c153 uint8_t index, uint8_t value, u_int timeout, bool status)
159 KASSERT(timeout != 0, ("%s: no timeout", __func__));
168 * If the hardware supports busy detection but the switch timeout
169 * exceeds the maximum host timeout, use a R1 instead of a R1B
173 timeout > mmcbr_get_max_busy_timeout(busdev))
186 err = mmc_switch_status(busdev, dev, rca, timeout);
193 mmc_switch_status(device_t busdev, device_t dev, uint16_t rca, u_int timeout) argument
199 KASSERT(timeout != 0, ("%s: no timeout", __func_
152 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-11-stable/lib/libusb/
H A Dlibusb20.h227 void libusb20_tr_set_timeout(struct libusb20_transfer *xfer, uint32_t timeout);
229 void libusb20_tr_setup_bulk(struct libusb20_transfer *xfer, void *pbuf, uint32_t length, uint32_t timeout);
230 void libusb20_tr_setup_control(struct libusb20_transfer *xfer, void *psetup, void *pbuf, uint32_t timeout);
231 void libusb20_tr_setup_intr(struct libusb20_transfer *xfer, void *pbuf, uint32_t length, uint32_t timeout);
233 uint8_t libusb20_tr_bulk_intr_sync(struct libusb20_transfer *xfer, void *pbuf, uint32_t length, uint32_t *pactlen, uint32_t timeout);
254 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);
279 void libusb20_dev_wait_process(struct libusb20_device *pdev, int timeout);
/freebsd-11-stable/contrib/apr/locks/unix/
H A Dthread_mutex.c193 apr_interval_time_t timeout)
199 if (timeout <= 0) {
213 timeout += apr_time_now();
214 abstime.tv_sec = apr_time_sec(timeout);
215 abstime.tv_nsec = apr_time_usec(timeout) * 1000; /* nanoseconds */
240 if (timeout <= 0) {
247 timeout);
H A Dthread_cond.c79 apr_interval_time_t timeout)
82 if (timeout < 0) {
94 then = apr_time_now() + timeout;
H A Dproc_mutex.c59 apr_interval_time_t timeout)
71 if (timeout <= 0) {
75 if (timeout > SLEEP_TIME) {
77 timeout -= SLEEP_TIME;
80 apr_sleep(timeout);
81 timeout = 0;
226 apr_interval_time_t timeout)
228 if (timeout <= 0) {
236 timeout += apr_time_now();
237 abstime.tv_sec = apr_time_sec(timeout);
58 proc_mutex_spinsleep_timedacquire(apr_proc_mutex_t *mutex, apr_interval_time_t timeout) argument
225 proc_mutex_posix_timedacquire(apr_proc_mutex_t *mutex, apr_interval_time_t timeout) argument
380 proc_mutex_sysv_timedacquire(apr_proc_mutex_t *mutex, apr_interval_time_t timeout) argument
691 proc_mutex_pthread_acquire_ex(apr_proc_mutex_t *mutex, apr_interval_time_t timeout) argument
852 proc_mutex_pthread_timedacquire(apr_proc_mutex_t *mutex, apr_interval_time_t timeout) argument
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dremote-st.c60 static int timeout = 24; variable
86 /* Read a character from the remote system, doing all the fancy timeout
90 readchar (int timeout) argument
94 c = serial_readchar (st2000_desc, timeout);
105 if (timeout == 0)
106 return c; /* Polls shouldn't generate timeout errors */
126 c = readchar (timeout);
181 ch = readchar (timeout);
371 int old_timeout = timeout;
376 timeout
[all...]
/freebsd-11-stable/contrib/xz/src/common/
H A Dmythread.h212 // timeout in pthread_cond_timedwait() work correctly also if system time
280 // Waits on a condition or until a timeout expires. If the timeout expires,
353 // Tick count (milliseconds) in the beginning of the timeout.
358 // Length of the timeout in milliseconds. The timeout expires
360 // than "timeout".
361 DWORD timeout; member in struct:__anon5824
493 DWORD timeout = elapsed >= condtime->timeout local
511 mythread_condtime_set(mythread_condtime *condtime, const mythread_cond *cond, uint32_t timeout) argument
[all...]
/freebsd-11-stable/sys/dev/pcf/
H A Dpcf.c53 static int pcf_noack(struct pcf_softc *pcf, int timeout);
73 printf("pcf: timeout!\n");
102 pcf_noack(struct pcf_softc *sc, int timeout) argument
105 int k = timeout/10;
119 pcf_repeated_start(device_t dev, u_char slave, int timeout) argument
141 if (pcf_noack(sc, timeout)) {
159 pcf_start(device_t dev, u_char slave, int timeout) argument
190 if (pcf_noack(sc, timeout)) {
381 pcf_write(device_t dev, const char *buf, int len, int *sent, int timeout /* us */)
402 if (pcf_noack(sc, timeout)) {
[all...]
/freebsd-11-stable/sys/mips/rmi/
H A Dxlr_i2c.c97 static int xlr_i2c_start(device_t dev, u_char slave, int timeout);
100 static int xlr_i2c_write(device_t dev, const char *buf, int len, int *sent, int timeout);
102 static int xlr_i2c_repeated_start(device_t dev, u_char slave, int timeout);
226 xlr_i2c_start(device_t dev, u_char slave, int timeout) argument
257 int timeout = 0; local
265 timeout = 0;
267 if(timeout++ > MAXTIME)
295 xlr_i2c_write(device_t dev, const char *buf, int len, int *sent, int timeout /* us */ )
360 xlr_i2c_repeated_start(device_t dev, u_char slave, int timeout) argument
/freebsd-11-stable/sys/dev/smartpqi/
H A Dsmartpqi_sis.c62 uint32_t timeout = SIS_ENABLE_TIMEOUT; local
70 REENABLE_SIS) == 0), timeout)
71 if (!timeout) {
84 uint32_t timeout = SIS_STATUS_OK_TIMEOUT; local
90 PQI_CTRL_KERNEL_UP_AND_RUNNING), timeout);
91 if (!timeout) {
106 uint32_t timeout = SIS_CMD_COMPLETE_TIMEOUT; local
135 SIS_CMD_COMPLETE), timeout);
136 if (!timeout) {
/freebsd-11-stable/usr.bin/tip/libacu/
H A Dv3451.c154 int timeout = 30, online = 0; local
167 timeout = number(value(DIALTIMEOUT));
171 alarm(timeout);
/freebsd-11-stable/tools/tools/ether_reflect/
H A Dether_reflect.c55 "-a address -t timeout -p -d\n");
63 int timeout = 100; local
92 timeout = atoi(optarg);
111 if ((capture = pcap_open_live(interface, SNAPLEN, promisc, timeout,
/freebsd-11-stable/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-11-stable/sys/arm/freescale/imx/
H A Dimx6_src.c76 int timeout = 10000; local
85 while (timeout-- > 0) {
93 if (timeout < 0)
/freebsd-11-stable/usr.sbin/watchdogd/
H A Dwatchdogd.c73 static int watchdog_patpat(u_int timeout);
81 static u_int timeout = WD_TO_128SEC; variable
188 timeout |= WD_PASSIVE;
190 timeout |= WD_ACTIVE;
191 if (watchdog_patpat(timeout) < 0)
208 * Convert a timeout in seconds to N where 2^N nanoseconds is close to
244 errx(1, "Timeout for %s%s is too small, please choose a higher timeout.", longopt ? "-" : "", longopt ? longopt : shortopt);
377 watchdog_patpat(timeout|WD_ACTIVE);
433 error = watchdog_patpat((timeout|WD_ACTIVE));
465 return watchdog_patpat((timeout|WD_ACTIV
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Host/posix/
H A DConnectionFileDescriptorPosix.h56 size_t Read(void *dst, size_t dst_len, const Timeout<std::micro> &timeout,
64 lldb::ConnectionStatus BytesAvailable(const Timeout<std::micro> &timeout,
71 uint16_t GetListeningPort(const Timeout<std::micro> &timeout);
/freebsd-11-stable/contrib/apr/poll/unix/
H A Dselect.c34 apr_interval_time_t timeout)
51 if (timeout > 0) {
52 apr_sleep(timeout);
59 if (timeout < 0) {
63 tv.tv_sec = (long) apr_time_sec(timeout);
64 tv.tv_usec = (long) apr_time_usec(timeout);
340 apr_interval_time_t timeout,
358 if (timeout > 0) {
359 apr_sleep(timeout);
366 if (timeout <
339 impl_pollset_poll(apr_pollset_t *pollset, apr_interval_time_t timeout, apr_int32_t *num, const apr_pollfd_t **descriptors) argument
[all...]
/freebsd-11-stable/contrib/apr/include/
H A Dapr_poll.h256 * @param timeout The amount of time in microseconds to wait. This is a
258 * function will return before this time. If timeout is
272 apr_interval_time_t timeout,
289 * @param timeout The amount of time in microseconds to wait. This is a
291 * function will return before this time. If timeout is
296 * descriptor has been signalled or the timeout has expired.
302 apr_interval_time_t timeout);
406 * @param timeout The amount of time in microseconds to wait. This is a
408 * function will return before this time. If timeout is
421 apr_interval_time_t timeout,
[all...]
/freebsd-11-stable/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-11-stable/sys/dev/pst/
H A Dpst-iop.c63 int mfa, timeout = 10000; local
65 while ((mfa = sc->reg->iqueue) == 0xffffffff && --timeout)
67 if (!timeout) {
207 int mfa, timeout = 5000; local
224 while (--timeout && !reply)
228 timeout = 10000;
229 while ((mfa = sc->reg->iqueue) == 0xffffffff && --timeout)
240 int i, mfa, timeout = 5000; local
274 while (--timeout && reply != I2O_EXEC_OUTBOUND_INIT_COMPLETE)
277 if (!timeout) {
389 int timeout = 10000; local
432 int status, timeout = 10000; local
[all...]

Completed in 260 milliseconds

1234567891011>>