/sysdeps/unix/sysv/linux/ |
A D | ppoll.c | 31 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 D | select.c | 33 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 D | pselect.c | 23 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 D | semtimedop.c | 25 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 D | sigtimedwait.c | 23 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 D | recvmmsg.c | 24 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 D | poll.c | 26 __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 D | epoll_wait.c | 27 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 D | pselect32.c | 26 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 D | tst-ppoll.c | 34 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 D | epoll_pwait.c | 37 int maxevents, int timeout, in epoll_pwait() argument 41 timeout, set, __NSIG_BYTES); in epoll_pwait()
|
A D | tst-sigtimedwait.c | 35 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 D | poll.c | 31 __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 D | select.c | 30 struct timeval *timeout) in __select() argument 34 if (timeout) in __select() 37 TIMEVAL_TO_TIMESPEC (timeout, to); in __select()
|
A D | ppoll.c | 26 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 D | pselect.c | 34 const struct timespec *timeout, const sigset_t *sigmask) in __pselect() argument 37 readfds, writefds, exceptfds, timeout, sigmask); in __pselect()
|
/sysdeps/pthread/ |
A D | tst-join3.c | 55 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 D | tst-pthread_cancel-select-loop.c | 35 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 D | pt-timedblock.c | 40 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 D | pselect32.c | 30 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 D | sem-timedwait.c | 49 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 D | select.c | 28 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 D | aio_misc.h | 35 #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 D | intr-msg.h | 24 #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 D | usleep.c | 30 mach_msg_timeout_t timeout = useconds / 1000 + (useconds % 1000 != 0); in usleep() local 36 0, 0, recv, timeout, MACH_PORT_NULL); in usleep()
|