Home
last modified time | relevance | path

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

1234

/l4re-core-master/cxx/lib/ipc/include/
A Dipc_timeout_queue32 /// Make a timeout
35 /// Destroy a timeout
48 * \return absolute timeout for this instance of the timeout.
50 * timeout is not set.
78 return e->timeout();
117 * \param timeout timeout object to add
133 * \param timeout timeout to remove from timeout queue
170 l4_timeout_t timeout()
204 * \param timeout The timeout object to add into the queue (must not be in
220 * \param timeout The timeout object to be removed from the queue.
[all …]
/l4re-core-master/l4sys/include/
A Dipc.h236 l4_timeout_t timeout) L4_NOTHROW;
261 l4_timeout_t timeout) L4_NOTHROW;
311 l4_timeout_t timeout) L4_NOTHROW;
383 l4_timeout_t timeout);
411 l4_timeout_t timeout) L4_NOTHROW;
428 l4_ipc_sleep(l4_timeout_t timeout) L4_NOTHROW;
465 l4_timeout_t timeout) L4_NOTHROW in l4_ipc_call() argument
490 l4_timeout_t timeout) L4_NOTHROW in l4_ipc_send() argument
497 l4_timeout_t timeout) L4_NOTHROW in l4_ipc_wait() argument
506 l4_timeout_t timeout) L4_NOTHROW in l4_ipc_receive() argument
[all …]
A Dsemaphore43 * an expired timeout provided to the `down()` operation, or due to an
71 * \param timeout Timeout for blocking the semaphore down operation.
72 * Note: The receive timeout of this timeout-pair is
78 * a timeout or a cancel condition.
81 * counter is already zero, until either a timeout or cancel condition hits
84 l4_msgtag_t down(l4_timeout_t timeout = L4_IPC_NEVER,
86 { return l4_semaphore_down_u(cap(), timeout, utcb); }
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/common/
A Depoll.c35 static int __NC(epoll_wait)(int epfd, struct epoll_event *events, int maxevents, int timeout) in _syscall4()
37 return INLINE_SYSCALL(epoll_wait, 4, epfd, events, maxevents, timeout); in _syscall4()
39 …LLABLE_SYSCALL(int, epoll_wait, (int epfd, struct epoll_event *events, int maxevents, int timeout),
40 (epfd, events, maxevents, timeout))
48 int, maxevents, int, timeout, const sigset_t *, sigmask, size_t, sigsetsize) in _syscall6() argument
50 static int __NC(epoll_pwait)(int epfd, struct epoll_event *events, int maxevents, int timeout, in _syscall6()
53 return __syscall_epoll_pwait(epfd, events, maxevents, timeout, set, __SYSCALL_SIGSET_T_SIZE); in _syscall6()
55 …LLABLE_SYSCALL(int, epoll_pwait, (int epfd, struct epoll_event *events, int maxevents, int timeout,
57 (epfd, events, maxevents, timeout, set))
64 int epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) in epoll_wait() argument
[all …]
A Dppoll.c30 __NC(ppoll)(struct pollfd *fds, nfds_t nfds, const struct timespec *timeout, in __NC()
36 if (timeout != NULL) { in __NC()
37 tval = *timeout; in __NC()
38 timeout = &tval; in __NC()
40 return INLINE_SYSCALL(ppoll, 5, fds, nfds, timeout, sigmask, __SYSCALL_SIGSET_T_SIZE); in __NC()
43 CANCELLABLE_SYSCALL(int, ppoll, (struct pollfd *fds, nfds_t nfds, const struct timespec *timeout,
45 (fds, nfds, timeout, sigmask))
A Dselect.c25 struct timeval *timeout) in __NC()
28 return INLINE_SYSCALL(select, 5, n, readfds, writefds, exceptfds, timeout); in __NC()
31 if (timeout) { in __NC()
33 _ts.tv_sec = timeout->tv_sec; in __NC()
42 usec = timeout->tv_usec; in __NC()
58 fd_set *exceptfds, struct timeval *timeout),
59 (n, readfds, writefds, exceptfds, timeout))
A Dpselect.c30 fd_set *exceptfds, const struct timespec *timeout, in __NC()
40 if (timeout != NULL) in __NC()
41 TIMESPEC_TO_TIMEVAL (&tval, timeout); in __NC()
54 timeout != NULL ? &tval : NULL); in __NC()
62 const struct timespec *timeout, const sigset_t *sigmask),
63 (nfds, readfds, writefds, exceptfds, timeout, sigmask))
A D__rt_sigtimedwait.c26 const struct timespec *timeout) in __NC()
54 timeout, __SYSCALL_SIGSET_T_SIZE); in __NC()
67 timeout, __SYSCALL_SIGSET_T_SIZE); in __NC()
71 (const sigset_t *set, siginfo_t *info, const struct timespec *timeout),
72 (set, info, timeout))
A Dpoll.c28 unsigned long int, nfds, int, timeout)
49 int __NC(poll)(struct pollfd *fds, nfds_t nfds, int timeout)
115 tv.tv_sec = timeout / 1000;
116 tv.tv_usec = (timeout % 1000) * 1000;
121 timeout == -1 ? NULL : &tv);
208 CANCELLABLE_SYSCALL(int, poll, (struct pollfd *fds, nfds_t nfds, int timeout),
209 (fds, nfds, timeout))
/l4re-core-master/l4re/util/include/
A Dpoll_timeout_kipclock18 * \brief A polling timeout based on the L4Re clock.
31 * Poll_timeout_kipclock timeout(10000);
32 * while (timeout.test(device.read(State) & Busy))
34 * if (timeout.timed_out())
42 * \brief Initialise relative timeout in microseconds
43 * \param poll_time_us Polling timeout in microseconds.
51 * \brief (Re-)Set relative timeout in microseconds
52 * \param poll_time_us Polling timeout in microseconds.
60 /** \brief Test whether timeout has expired
77 * \brief Query whether timeout has expired
[all …]
A Denv_ns25 query(char const *name, unsigned len, int timeout = Namespace::To_default,
46 long r = ns->query(n + 1, len - 1, cap, timeout, local_id, iterate);
59 query(char const *name, int timeout = Namespace::To_default,
61 { return query(name, __builtin_strlen(name), timeout, local_id, iterate); }
65 query(char const *name, int timeout = Namespace::To_default,
69 timeout, local_id, iterate));
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/unix/sysv/linux/
A Dsigtimedwait.c30 const struct timespec *timeout) in do_sigtimedwait() argument
55 info, timeout, _NSIG / 8); in do_sigtimedwait()
71 const struct timespec *timeout) in __sigtimedwait() argument
74 return do_sigtimedwait (set, info, timeout); in __sigtimedwait()
80 int result = do_sigtimedwait (set, info, timeout); in __sigtimedwait()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/inet/rpc/
A Drtime.c76 struct rpc_timeval *timeout) in rtime() argument
88 if (timeout == NULL) in rtime()
108 milliseconds = (timeout->tv_sec * 1000) + (timeout->tv_usec / 1000); in rtime()
A Dclnt_simple.c72 struct timeval timeout, tottimeout; in callrpc() local
124 timeout.tv_usec = 0; in callrpc()
125 timeout.tv_sec = 5; in callrpc()
130 (u_long) versnum, timeout, &crp->socket)) == NULL) in callrpc()
/l4re-core-master/uclibc/lib/contrib/uclibc/test/pthread/
A Dex7.c30 struct timespec timeout; in test_thread() local
42 timeout.tv_sec = now.tv_sec + ms/1000 + (now.tv_usec + (ms%1000)*1000)/1000000; in test_thread()
43 timeout.tv_nsec = ((now.tv_usec + (ms%1000)*1000) % 1000000) * 1000; in test_thread()
48 status = pthread_cond_timedwait(&foo.cond, &foo.mutex, &timeout); in test_thread()
/l4re-core-master/uclibc/lib/libpthread/src/
A Drestart.h42 l4_timeout_t timeout = L4_IPC_NEVER; in timedsuspend() local
43 l4_rcv_timeout(l4_timeout_abs_u(clock, 4, l4_utcb()), &timeout); in timedsuspend()
44 l4_msgtag_t res = l4_semaphore_down(self->p_thsem_cap, timeout); in timedsuspend()
/l4re-core-master/l4re/include/impl/
A Dnamespace_impl.h78 int timeout, l4_umword_t *local_id, bool iterate) const noexcept in query() argument
84 long rem = timeout; in query()
119 int timeout, l4_umword_t *local_id, in query() argument
123 timeout, local_id, iterate); in query()
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/unix/sysv/linux/sh/
A Dlowlevellock.h248 #define lll_timedlock(futex, timeout, private) \ argument
264 __ret = __lll_timedlock_wait (__ret, __futex, timeout, private); \
267 #define lll_robust_timedlock(futex, timeout, id, private) \ argument
284 timeout, private); \
353 #define lll_futex_timed_wait(futex, val, timeout, private) \ argument
361 register unsigned long __r7 __asm__ ("r7") = (timeout); \
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/misc/sysvipc/
A Dsem.c94 …nt, semtimedop, int, semid, struct sembuf *, sops, size_t, nsops, const struct timespec *, timeout)
99 const struct timespec *timeout)
101 return __syscall_ipc(IPCOP_semtimedop, semid, nsops, 0, sops, (void *) timeout);
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/unix/sysv/linux/i386/
A Dlowlevellock.h208 #define lll_futex_timed_wait(futex, val, timeout, private) \ argument
216 : "0" (SYS_futex), LLL_EBX_REG (futex), "S" (timeout), \
407 #define lll_timedlock(futex, timeout, private) \ argument
424 : "0" (0), "1" (1), "m" (futex), "m" (timeout), \
430 #define lll_robust_timedlock(futex, timeout, id, private) \ argument
447 : "0" (0), "1" (id), "m" (futex), "m" (timeout), \
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/
A Dlowlevellock.h209 #define lll_futex_timed_wait(futex, val, timeout, private) \ argument
211 register const struct timespec *__to __asm__ ("r10") = timeout; \
401 #define lll_timedlock(futex, timeout, private) \ argument
420 : "0" (0), "1" (1), "m" (futex), "m" (timeout), \
425 #define lll_robust_timedlock(futex, timeout, id, private) \ argument
444 : "0" (0), "1" (id), "m" (futex), "m" (timeout), \
/l4re-core-master/l4sys/include/ARCH-sparc/L4API-l4f/
A Dipc.h39 l4_timeout_t timeout) L4_NOTHROW in l4_ipc() argument
48 (void)timeout; in l4_ipc()
/l4re-core-master/l4re_c/lib/src/
A Dnamespace.cc23 l4_cap_idx_t const cap, int timeout) L4_NOTHROW in l4re_ns_query_to_srv() argument
26 return x->query(name, L4::Cap<void>(cap), timeout); in l4re_ns_query_to_srv()
/l4re-core-master/l4sys/include/ARCH-x86/L4API-l4f/
A Dipc-l42-gcc3-nopic.h36 l4_timeout_t timeout) L4_NOTHROW in l4_ipc() argument
52 "c" (timeout), in l4_ipc()
/l4re-core-master/l4sys/include/ARCH-amd64/L4API-l4f/
A Dipc.h38 l4_timeout_t timeout) L4_NOTHROW in l4_ipc() argument
41 register l4_umword_t to __asm__("r8") = timeout.raw; in l4_ipc()

Completed in 30 milliseconds

1234