Home
last modified time | relevance | path

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

12

/bionic/libc/bionic/
Dsys_epoll.cpp52 int epoll_pwait(int fd, epoll_event* events, int max_events, int timeout, const sigset_t* ss) { in epoll_pwait() argument
54 return epoll_pwait64(fd, events, max_events, timeout, set.ptr); in epoll_pwait()
57 int epoll_pwait64(int fd, epoll_event* events, int max_events, int timeout, const sigset64_t* ss) { in epoll_pwait64() argument
58 return __epoll_pwait(fd, events, max_events, timeout, ss, sizeof(*ss)); in epoll_pwait64()
61 int epoll_pwait2(int fd, epoll_event* events, int max_events, const timespec* timeout, in epoll_pwait2() argument
64 return epoll_pwait2_64(fd, events, max_events, timeout, set.ptr); in epoll_pwait2()
67 int epoll_pwait2_64(int fd, epoll_event* events, int max_events, const timespec* timeout, in epoll_pwait2_64() argument
73 const __kernel_timespec* kts_ptr = reinterpret_cast<const __kernel_timespec*>(timeout); in epoll_pwait2_64()
77 if (timeout) { in epoll_pwait2_64()
78 kts.tv_sec = timeout->tv_sec; in epoll_pwait2_64()
[all …]
Dfortify.cpp158 int __poll_chk(pollfd* fds, nfds_t fd_count, int timeout, size_t fds_size) { in __poll_chk() argument
160 return poll(fds, fd_count, timeout); in __poll_chk()
163 int __ppoll_chk(pollfd* fds, nfds_t fd_count, const timespec* timeout, in __ppoll_chk() argument
166 return ppoll(fds, fd_count, timeout, mask); in __ppoll_chk()
169 int __ppoll64_chk(pollfd* fds, nfds_t fd_count, const timespec* timeout, in __ppoll64_chk() argument
172 return ppoll64(fds, fd_count, timeout, mask); in __ppoll64_chk()
Dsignal.cpp272 int sigtimedwait(const sigset_t* bionic_set, siginfo_t* info, const timespec* timeout) { in sigtimedwait() argument
274 return sigtimedwait64(set.ptr, info, timeout); in sigtimedwait()
277 int sigtimedwait64(const sigset64_t* set, siginfo_t* info, const timespec* timeout) { in sigtimedwait64() argument
284 return __rt_sigtimedwait(mutable_set_ptr, info, timeout, sizeof(*set)); in sigtimedwait64()
Dndk_cruft.cpp228 int __futex_wait(volatile void* ftx, int value, const struct timespec* timeout) { in __futex_wait() argument
229 return __real_futex_wait(ftx, value, timeout); in __futex_wait()
/bionic/libc/include/bits/fortify/
Dpoll.h43 int poll(struct pollfd* _Nullable const fds __pass_object_size, nfds_t fd_count, int timeout) in poll() argument
51 return __poll_chk(fds, fd_count, timeout, bos_fds); in poll()
54 return __call_bypassing_fortify(poll)(fds, fd_count, timeout); in poll()
58 …ds __pass_object_size, nfds_t fd_count, const struct timespec* _Nullable timeout, const sigset_t* … in ppoll() argument
66 return __ppoll_chk(fds, fd_count, timeout, mask, bos_fds); in ppoll()
69 return __call_bypassing_fortify(ppoll)(fds, fd_count, timeout, mask); in ppoll()
74 …ds __pass_object_size, nfds_t fd_count, const struct timespec* _Nullable timeout, const sigset64_t… in ppoll64() argument
82 return __ppoll64_chk(fds, fd_count, timeout, mask, bos_fds); in ppoll64()
85 return __call_bypassing_fortify(ppoll64)(fds, fd_count, timeout, mask); in ppoll64()
/bionic/libc/private/
Dbionic_futex.h42 const timespec* timeout, int bitset) { in __futex() argument
45 int result = syscall(__NR_futex, ftx, op, value, timeout, NULL, bitset); in __futex()
61 static inline int __futex_wait(volatile void* ftx, int value, const timespec* timeout) { in __futex_wait() argument
62 return __futex(ftx, FUTEX_WAIT, value, timeout, 0); in __futex_wait()
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_IDLETIMER.h13 __u32 timeout; member
18 __u32 timeout; member
Dxt_set.h48 __u32 timeout; member
61 __u32 timeout; member
Dxt_CT.h32 char timeout[32]; member
/bionic/libc/kernel/uapi/linux/
Dpps.h62 struct pps_ktime timeout; member
66 struct pps_ktime_compat timeout; member
Dauto_dev-ioctl.h35 __u64 timeout; member
70 struct args_timeout timeout; member
Dusbdevice_fs.h17 __u32 timeout; member
23 unsigned int timeout; member
Dpg.h17 int timeout; member
Dbsg.h34 __u32 timeout; member
Dip_vs.h92 unsigned int timeout; member
127 unsigned int timeout; member
Ddlm_device.h23 __u64 timeout; member
/bionic/libc/kernel/uapi/drm/
Detnaviv_drm.h74 struct drm_etnaviv_timespec timeout; member
134 struct drm_etnaviv_timespec timeout; member
149 struct drm_etnaviv_timespec timeout; member
Dmsm_drm.h84 struct drm_msm_timespec timeout; member
158 struct drm_msm_timespec timeout; member
Dtegra_drm.h36 __u32 timeout; member
93 __u32 timeout; member
/bionic/libc/
DSECCOMP_ALLOWLIST_APP.TXT21 int epoll_wait:epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) lp32
36 int poll:poll(struct pollfd *fds, nfds_t nfds, int timeout) lp32
55 …t(int n, unsigned long* inp, unsigned long* outp, unsigned long* exp, struct timeval* timeout) lp32
/bionic/libc/dns/resolv/
Dres_send.c151 socklen_t salen, const struct timespec timeout);
981 const struct timespec timeout) in connect_with_timeout() argument
995 struct timespec finish = evAddTime(now, timeout); in connect_with_timeout()
1016 struct timespec now, timeout; in retrying_poll() local
1025 timeout = evSubTime(*finish, now); in retrying_poll()
1027 timeout = evConsTime(0L, 0L); in retrying_poll()
1029 int n = ppoll(&fds, 1, &timeout, /*sigmask=*/NULL); in retrying_poll()
1081 struct timespec now, timeout, finish, done; in send_dg() local
1162 timeout = get_timeout(statp, params, ns); in send_dg()
1164 finish = evAddTime(now, timeout); in send_dg()
/bionic/libc/kernel/uapi/linux/hdlc/
Dioctl.h68 unsigned int timeout; member
/bionic/tests/
Dfortify_test.cpp1007 timespec timeout; in TEST_F() local
1008 timeout.tv_sec = timeout.tv_nsec = 0; in TEST_F()
1009 ASSERT_FORTIFY(ppoll(buf, fd_count, &timeout, nullptr)); in TEST_F()
1017 timespec timeout; in TEST_F() local
1018 timeout.tv_sec = timeout.tv_nsec = 0; in TEST_F()
1019 ASSERT_FORTIFY(ppoll64(buf, fd_count, &timeout, nullptr)); in TEST_F()
Dsignal_test.cpp744 timespec timeout = { .tv_sec = 2, .tv_nsec = 0 }; in TEST() local
746 ASSERT_EQ(SIGALRM, sigtimedwait(&just_SIGALRM, &info, &timeout)); in TEST()
765 timespec timeout = { .tv_sec = 2, .tv_nsec = 0 }; in TEST() local
767 ASSERT_EQ(SIGRTMIN, sigtimedwait64(&just_SIGRTMIN, &info, &timeout)); in TEST()
782 timespec timeout = { .tv_sec = 0, .tv_nsec = 1000000 }; in TEST() local
784 ASSERT_EQ(-1, sigtimedwait(&just_SIGALRM, &info, &timeout)); in TEST()
/bionic/docs/
DEINTR.md86 time will have elapsed, you'll want to recalculate the timeout. Otherwise you
87 can end up with your 1 minute timeout being indefinite if you're receiving
90 the timeout _inside_ the loop, and using `continue` each time the system call

12