Home
last modified time | relevance | path

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

12

/sysdeps/unix/sysv/linux/
A Dppoll.c31 if (timeout != NULL) in __ppoll64()
33 tval = *timeout; in __ppoll64()
34 timeout = &tval; in __ppoll64()
42 return SYSCALL_CANCEL (ppoll_time64, fds, nfds, timeout, sigmask, in __ppoll64()
46 bool need_time64 = timeout != NULL && !in_time_t_range (timeout->tv_sec); in __ppoll64()
49 ret = SYSCALL_CANCEL (ppoll_time64, fds, nfds, timeout, sigmask, in __ppoll64()
58 if (timeout != NULL) in __ppoll64()
59 ts32 = valid_timespec64_to_timespec (*timeout); in __ppoll64()
74 if (timeout) in libc_hidden_def()
75 ts64 = valid_timespec_to_timespec64 (*timeout); in libc_hidden_def()
[all …]
A Dselect.c33 struct __timeval64 *timeout) in __select64() argument
35 __time64_t s = timeout != NULL ? timeout->tv_sec : 0; in __select64()
36 int32_t us = timeout != NULL ? timeout->tv_usec : 0; in __select64()
57 if (timeout != NULL) in __select64()
71 if (timeout != NULL) in __select64()
75 bool need_time64 = timeout != NULL && !in_time_t_range (timeout->tv_sec); in __select64()
100 if (timeout != NULL) in __select64()
112 if (timeout != NULL) in __select64()
124 struct timeval *timeout) in libc_hidden_def()
127 if (timeout != NULL) in libc_hidden_def()
[all …]
A Dpselect.c23 fd_set *exceptfds, const struct __timespec64 *timeout, in pselect64_syscall() argument
35 timeout, data); in pselect64_syscall()
40 const struct __timespec64 *timeout, const sigset_t *sigmask) in __pselect64() argument
45 if (timeout != NULL) in __pselect64()
47 tval = *timeout; in __pselect64()
48 timeout = &tval; in __pselect64()
56 return pselect64_syscall (nfds, readfds, writefds, exceptfds, timeout, in __pselect64()
59 bool need_time64 = timeout != NULL && !in_time_t_range (timeout->tv_sec); in __pselect64()
79 const struct timespec *timeout, const sigset_t *sigmask) in libc_hidden_def()
82 if (timeout != NULL) in libc_hidden_def()
[all …]
A Dsemtimedop.c25 const struct __timespec64 *timeout) in semtimedop_syscall() argument
33 SEMTIMEDOP_IPC_ARGS (nsops, sops, timeout)); in semtimedop_syscall()
40 const struct __timespec64 *timeout) in __semtimedop64() argument
43 return semtimedop_syscall (semid, sops, nsops, timeout); in __semtimedop64()
45 bool need_time64 = timeout != NULL && !in_time_t_range (timeout->tv_sec); in __semtimedop64()
48 int r = semtimedop_syscall (semid, sops, nsops, timeout); in __semtimedop64()
56 if (timeout != NULL) in __semtimedop64()
58 ts32 = valid_timespec64_to_timespec (*timeout); in __semtimedop64()
74 const struct timespec *timeout) in libc_hidden_def()
77 if (timeout != NULL) in libc_hidden_def()
[all …]
A Dsigtimedwait.c23 const struct __timespec64 *timeout) in __sigtimedwait64() argument
31 result = SYSCALL_CANCEL (rt_sigtimedwait_time64, set, info, timeout, in __sigtimedwait64()
34 bool need_time64 = timeout != NULL && !in_time_t_range (timeout->tv_sec); in __sigtimedwait64()
37 result = SYSCALL_CANCEL (rt_sigtimedwait_time64, set, info, timeout, in __sigtimedwait64()
47 if (timeout != NULL) in __sigtimedwait64()
49 ts32 = valid_timespec64_to_timespec (*timeout); in __sigtimedwait64()
71 const struct timespec *timeout) in libc_hidden_def()
74 if (timeout != NULL) in libc_hidden_def()
76 ts64 = valid_timespec_to_timespec64 (*timeout); in libc_hidden_def()
A Drecvmmsg.c24 struct __timespec64 *timeout) in __recvmmsg64() argument
30 timeout); in __recvmmsg64()
36 if (timeout != NULL) in __recvmmsg64()
38 if (! in_time_t_range (timeout->tv_sec)) in __recvmmsg64()
43 ts32 = valid_timespec64_to_timespec (*timeout); in __recvmmsg64()
60 if (timeout != NULL) in __recvmmsg64()
74 struct timespec *timeout) in libc_hidden_def()
77 if (timeout != NULL) in libc_hidden_def()
79 ts64 = valid_timespec_to_timespec64 (*timeout); in libc_hidden_def()
83 if (r >= 0 && timeout != NULL) in libc_hidden_def()
[all …]
A Dpoll.c26 __poll (struct pollfd *fds, nfds_t nfds, int timeout) in __poll() argument
29 return SYSCALL_CANCEL (poll, fds, nfds, timeout); in __poll()
34 if (timeout >= 0) in __poll()
36 timeout_ts.tv_sec = timeout / 1000; in __poll()
37 timeout_ts.tv_nsec = (timeout % 1000) * 1000000; in __poll()
A Depoll_wait.c27 epoll_wait (int epfd, struct epoll_event *events, int maxevents, int timeout) in epoll_wait() argument
30 return SYSCALL_CANCEL (epoll_wait, epfd, events, maxevents, timeout); in epoll_wait()
32 return epoll_pwait (epfd, events, maxevents, timeout, NULL); in epoll_wait()
A Dpselect32.c26 fd_set *exceptfds, const struct __timespec64 *timeout, in __pselect32() argument
30 if (timeout != NULL) in __pselect32()
32 ts32 = valid_timespec64_to_timespec (*timeout); in __pselect32()
A Dtst-ppoll.c34 struct timespec timeout = make_timespec (0, zero_tmo ? 0 : TIMESPEC_HZ/2); in test_ppoll_timeout() local
35 ts = timespec_add (ts, timeout); in test_ppoll_timeout()
39 TEST_COMPARE (ppoll (&fds, 1, &timeout, 0), 0); in test_ppoll_timeout()
A Depoll_pwait.c37 int maxevents, int timeout, in epoll_pwait() argument
41 timeout, set, __NSIG_BYTES); in epoll_pwait()
A Dtst-sigtimedwait.c35 struct timespec timeout = make_timespec (0, zero_tmo ? 0 : TIMESPEC_HZ/2); in test_sigtimedwait_timeout() local
36 ts = timespec_add (ts, timeout); in test_sigtimedwait_timeout()
43 int ret = sigtimedwait (&ss_usr1, NULL, &timeout); in test_sigtimedwait_timeout()
/sysdeps/mach/hurd/
A Dpoll.c31 __poll (struct pollfd *fds, nfds_t nfds, int timeout) in __poll() argument
35 if (timeout < 0) in __poll()
39 ts.tv_sec = timeout / 1000; in __poll()
40 ts.tv_nsec = (timeout % 1000) * 1000000; in __poll()
A Dselect.c30 struct timeval *timeout) in __select() argument
34 if (timeout) in __select()
37 TIMEVAL_TO_TIMESPEC (timeout, to); in __select()
A Dppoll.c26 const struct timespec *timeout, const sigset_t *sigmask) in ppoll() argument
28 return _hurd_select (nfds, fds, NULL, NULL, NULL, timeout, sigmask); in ppoll()
A Dpselect.c34 const struct timespec *timeout, const sigset_t *sigmask) in __pselect() argument
37 readfds, writefds, exceptfds, timeout, sigmask); in __pselect()
/sysdeps/pthread/
A Dtst-join3.c55 struct timespec timeout = timespec_add (xclock_now (clockid_for_get), in do_test_clock() local
60 val = pthread_timedjoin_np (th, &status, &timeout); in do_test_clock()
62 val = pthread_clockjoin_np (th, &status, clockid, &timeout); in do_test_clock()
70 timeout = timespec_add (xclock_now (clockid_for_get), in do_test_clock()
74 val = pthread_timedjoin_np (th, &status, &timeout); in do_test_clock()
76 val = pthread_clockjoin_np (th, &status, clockid, &timeout); in do_test_clock()
A Dtst-pthread_cancel-select-loop.c35 static bool timeout; variable
41 __atomic_store_n (&timeout, true, __ATOMIC_RELAXED); in timeout_thread_function()
74 while (!__atomic_load_n (&timeout, __ATOMIC_RELAXED)) in do_test()
/sysdeps/mach/htl/
A Dpt-timedblock.c40 mach_msg_timeout_t timeout; in __pthread_timedblock() local
53 timeout = (abstime->tv_sec - now.tv_sec) * 1000; in __pthread_timedblock()
56 timeout += (abstime->tv_nsec - now.tv_nsec + 999999) / 1000000; in __pthread_timedblock()
59 timeout -= (now.tv_nsec - abstime->tv_nsec + 999999) / 1000000; in __pthread_timedblock()
63 timeout, MACH_PORT_NULL); in __pthread_timedblock()
/sysdeps/unix/sysv/linux/microblaze/
A Dpselect32.c30 fd_set *exceptfds, const struct __timespec64 *timeout, in __pselect32() argument
38 if (timeout != NULL) in __pselect32()
40 if (! valid_nanoseconds (timeout->tv_nsec)) in __pselect32()
46 tv32 = valid_timespec64_to_timeval (*timeout); in __pselect32()
/sysdeps/htl/
A Dsem-timedwait.c49 const struct timespec *restrict timeout) in __sem_timedwait_internal() argument
73 if (timeout) in __sem_timedwait_internal()
76 0, timeout, flags, clock_id); in __sem_timedwait_internal()
134 if (timeout) in __sem_timedwait_internal()
136 SEM_NWAITERS_MASK, timeout, flags, clock_id); in __sem_timedwait_internal()
195 const struct timespec *restrict timeout) in __sem_clockwait() argument
197 return __sem_timedwait_internal (sem, clockid, timeout); in __sem_clockwait()
202 __sem_timedwait (sem_t *restrict sem, const struct timespec *restrict timeout) in __sem_timedwait() argument
204 return __sem_timedwait_internal (sem, CLOCK_REALTIME, timeout); in __sem_timedwait()
/sysdeps/unix/sysv/linux/alpha/
A Dselect.c28 struct timeval *timeout) in __new_select() argument
30 return SYSCALL_CANCEL (select, nfds, readfds, writefds, exceptfds, timeout); in __new_select()
44 struct timeval *timeout) in __select_tv32() argument
47 timeout); in __select_tv32()
/sysdeps/nptl/
A Daio_misc.h35 #define AIO_MISC_WAIT(result, futex, timeout, cancel) \ argument
49 (unsigned int *) futexaddr, oldval, CLOCK_MONOTONIC, timeout, \
53 oldval, CLOCK_REALTIME, timeout, FUTEX_PRIVATE); \
/sysdeps/mach/hurd/i386/
A Dintr-msg.h24 #define INTR_MSG_TRAP(msg, option, send_size, rcv_size, rcv_name, timeout, notify, cancel_p, intr_p… argument
76 : "=a" (err), "+r" (option), "+r" (timeout), "=m" (*intr_port_p) \
120 mach_msg_timeout_t timeout; member
134 *(tmout) = args->timeout; \
/sysdeps/mach/
A Dusleep.c30 mach_msg_timeout_t timeout = useconds / 1000 + (useconds % 1000 != 0); in usleep() local
36 0, 0, recv, timeout, MACH_PORT_NULL); in usleep()

Completed in 29 milliseconds

12