Searched refs:timeout (Results 1 - 25 of 128) sorted by relevance

123456

/barrelfish-2018-10-04/lib/posixcompat/
H A Dpoll.c14 int poll(struct pollfd pfd[], nfds_t nfds, int timeout) argument
/barrelfish-2018-10-04/lib/libc/sys/
H A Daio_suspend.c45 const struct timespec *timeout)
50 __libc_interposing[INTERPOS_aio_suspend])(iocbs, niocb, timeout));
44 aio_suspend(const struct aiocb * const iocbs[], int niocb, const struct timespec *timeout) argument
H A Dpoll.c44 poll(struct pollfd pfd[], nfds_t nfds, int timeout) argument
48 __libc_interposing[INTERPOS_poll])(pfd, nfds, timeout));
H A Dkevent.c46 struct kevent *eventlist, int nevents, const struct timespec *timeout)
52 eventlist, nevents, timeout));
45 kevent(int kq, const struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout) argument
H A Dppoll.c45 timeout, const sigset_t *__restrict newsigmask)
50 timeout, newsigmask));
44 ppoll(struct pollfd pfd[], nfds_t nfds, const struct timespec *__restrict timeout, const sigset_t *__restrict newsigmask) argument
/barrelfish-2018-10-04/tools/harness/
H A Dsubprocess_timeout.py12 # Wait for Popen instance p for timeout seconds and terminate/kill it after
13 # the timeout expires
15 # http://stackoverflow.com/questions/1191374/using-module-subprocess-with-timeout
16 def wait_or_terminate(p, timeout=5):
28 # Termiate process if it doesn't voluntarily exit in `timeout` seconds
29 timer = Timer(timeout, cleanup, [p])
/barrelfish-2018-10-04/lib/libc/rpc/
H A Dsvc_run.c60 struct timeval timeout; local
62 timeout.tv_sec = 30;
63 timeout.tv_usec = 0;
70 switch (_select(svc_maxfd+1, &readfds, NULL, NULL, &timeout)) {
H A Drtime.c71 struct timeval *timeout)
82 if (timeout == NULL) {
111 (fd_set *)NULL, (fd_set *)NULL, timeout);
70 rtime(struct sockaddr_in *addrp, struct timeval *timep, struct timeval *timeout) argument
/barrelfish-2018-10-04/kernel/include/
H A Dsystime.h42 void systime_set_timeout(systime_t timeout);
/barrelfish-2018-10-04/lib/lwip/src/core/
H A Dsys.c89 /* If time == SYS_ARCH_TIMEOUT, a timeout occured before a message
90 could be fetched. We should now call the timeout handler and
91 deallocate the memory allocated for the timeout. */
106 /* If time != SYS_ARCH_TIMEOUT, a message was received before the timeout
146 /* If time == SYS_ARCH_TIMEOUT, a timeout occured before a message
147 could be fetched. We should now call the timeout handler and
148 deallocate the memory allocated for the timeout. */
163 /* If time != SYS_ARCH_TIMEOUT, a message was received before the timeout
176 * Create a one-shot timer (aka timeout). Timeouts are processed in the
189 struct sys_timeo *timeout, * local
300 sys_sem_wait_timeout(sys_sem_t sem, u32_t timeout) argument
[all...]
/barrelfish-2018-10-04/lib/lwip2/src/core/
H A Dtimeouts.c111 /** The one and only timeout list */
190 * Create a one-shot timer (aka timeout). Timeouts are processed in the
207 struct sys_timeo *timeout, *t; local
210 timeout = (struct sys_timeo *)memp_malloc(MEMP_SYS_TIMEOUT);
211 if (timeout == NULL) {
212 LWIP_ASSERT("sys_timeout: timeout != NULL, pool MEMP_SYS_TIMEOUT is empty", timeout != NULL);
224 timeout->next = NULL;
225 timeout->h = handler;
226 timeout
[all...]
/barrelfish-2018-10-04/kernel/include/arch/armv7/
H A Da15_gt.h41 /* Trigger a timeout interrupt t counter ticks from now. */
52 static inline void a15_gt_set_comparator(systime_t timeout) { argument
55 lo = timeout;
56 hi = timeout >> 32;
H A Da9_gt.h45 void a9_gt_set_comparator(uint64_t timeout);
/barrelfish-2018-10-04/tools/harness/tests/
H A Dcommon.py30 return 'timeout occurred%s' % (': ' + self.when if self.when else '')
34 def read_nonblocking(self, size=1, timeout=None):
36 # Get timeout from instance
37 if timeout == -1:
38 timeout = self.timeout
40 if timeout is not None:
45 assert(int(timeout) > 0)
51 signal.alarm(int(timeout))
64 self.timeout
[all...]
/barrelfish-2018-10-04/include/sys/
H A Depoll.h83 int max, int timeout);
85 int max, int timeout, const sigset_t *sigmask);
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/drivers/infiniband/core/
H A Dmad_rmpp.c563 int timeout;
583 timeout = mad_send_wr->send_buf.timeout_ms;
584 if (!timeout || timeout > 2000)
585 mad_send_wr->timeout = msecs_to_jiffies(2000);
603 (!mad_send_wr->timeout) || (mad_send_wr->status != IB_WC_SUCCESS))
672 (mad_send_wr->timeout)) {
679 (!mad_send_wr->timeout) || (mad_send_wr->status != IB_WC_SUCCESS))
721 Send failure will just result in a timeout/retry
885 mad_send_wr->refcount += (mad_send_wr->timeout
[all...]
/barrelfish-2018-10-04/include/
H A Dgrubmenu.h21 uint32_t timeout; member in struct:menu_lst
/barrelfish-2018-10-04/lib/libc/gen/
H A Drecvmmsg.c42 const struct timespec *__restrict timeout)
50 if (timeout != NULL) {
55 res = ppoll(&pfd[0], 1, timeout, NULL);
41 recvmmsg(int s, struct mmsghdr *__restrict msgvec, size_t vlen, int flags, const struct timespec *__restrict timeout) argument
/barrelfish-2018-10-04/kernel/arch/armv7/
H A Da9_gt.c69 void a9_gt_set_comparator(uint64_t timeout) argument
72 cortex_a9_gt_TimerComparatorLow_wr(&a9_gt, timeout);
73 cortex_a9_gt_TimerComparatorHigh_wr(&a9_gt, timeout >> 32);
/barrelfish-2018-10-04/usr/drivers/e1000/
H A De1000n_hwinit.c66 * Returns: 0 on success, 1 on timeout and 2 if no eeprom.
72 int timeout = 1000;
109 while (e1000_eerd_ms_done_rdf(eds->device) == 0 && 0 < timeout--) {
121 while (e1000_eerd_ms_done_rdf(eds->device) == 0 && 0 < timeout--) {
134 if (timeout) {
158 int timeout = 1000;
159 while(timeout-- > 0){
227 int timeout;
251 timeout = 1000;
254 } while (e1000_ctrl_gio_md_rdf(eds->device) && 0 < timeout
470 int timeout; local
589 int timeout = 4000; local
605 int timeout = 4000; local
833 int timeout = 1000; local
940 int timeout = 1000; local
[all...]
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/include/linux/mlx4/
H A Dcmd.h201 unsigned long timeout, int native);
205 u32 in_modifier, u8 op_modifier, u16 op, unsigned long timeout,
208 timeout, native);
214 uint16_t op, unsigned long timeout, int native) {
216 op, timeout, native);
226 unsigned long timeout, int native) {
228 op, timeout, native);
204 mlx4_cmd(struct mlx4_dev *dev, u64 in_param, u32 in_modifier, u8 op_modifier, u16 op, unsigned long timeout, int native) argument
212 mlx4_cmd_box(struct mlx4_dev *dev, uint64_t in_param, uint64_t out_param, uint32_t in_modifier, uint8_t op_modifier, uint16_t op, unsigned long timeout, int native) argument
224 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
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/bio/
H A Dbss_dgram.c199 /* Read current socket timeout */
201 int timeout; local
203 (void*)&timeout, &sz) < 0)
207 data->socket_timeout.tv_sec = timeout / 1000;
208 data->socket_timeout.tv_usec = (timeout % 1000) * 1000;
235 /* Adjust socket timeout if next handhake message timer
244 timeout = timeleft.tv_sec * 1000 + timeleft.tv_usec / 1000;
246 (void*)&timeout, sizeof(timeout)) < 0)
267 int timeout local
630 int timeout = tv->tv_sec * 1000 + tv->tv_usec/1000; local
644 int timeout, sz = sizeof(timeout); local
668 int timeout = tv->tv_sec * 1000 + tv->tv_usec/1000; local
682 int timeout, sz = sizeof(timeout); local
[all...]
/barrelfish-2018-10-04/lib/libc/tests/nss/
H A DMakefile18 TEST_METADATA.gethostby_test= timeout="1200"
/barrelfish-2018-10-04/lib/lwip/src/
H A Dsys_arch.c16 * - implement timeout versions of semaphores and mailboxes correctly
36 // wrapper for a condition variable with timeout
39 u32_t timeout)
41 // TODO: implement timeout properly
43 return timeout;
131 u32_t sys_arch_sem_wait(sys_sem_t sem, u32_t timeout) argument
133 // TODO: implement timeout correctly
228 u32_t sys_arch_mbox_fetch(sys_mbox_t mbox, void **msg, u32_t timeout) argument
230 // debug_printf("sys_arch_mbox_fetch(%p) timeout %u\n",mbox, timeout);
37 thread_cond_wait_timeout(struct thread_cond *cond, struct thread_mutex *mutex, u32_t timeout) argument
[all...]
/barrelfish-2018-10-04/lib/lwip2/src/
H A Dsys_arch.c17 * - implement timeout versions of semaphores and mailboxes correctly
46 // wrapper for a condition variable with timeout
49 u32_t timeout)
51 // TODO: implement timeout properly
53 return timeout;
141 u32_t sys_arch_sem_wait(sys_sem_t sem, u32_t timeout)
143 // TODO: implement timeout correctly
238 u32_t sys_arch_mbox_fetch(sys_mbox_t mbox, void **msg, u32_t timeout)
240 // debug_printf("sys_arch_mbox_fetch(%p) timeout %u\n",mbox, timeout);
[all...]

Completed in 166 milliseconds

123456