Lines Matching refs:timeout
1816 * @timeout: Maximum timeout for the ready events fetch operation, in
1817 * timespec. If the timeout is zero, the function will not block,
1818 * while if the @timeout ptr is NULL, the function will block
1826 int maxevents, struct timespec64 *timeout)
1835 if (timeout && (timeout->tv_sec | timeout->tv_nsec)) {
1836 slack = select_estimate_accuracy(timeout);
1838 *to = timespec64_to_ktime(*timeout);
1839 } else if (timeout) {
1850 * with a non-zero timeout, this thread will check the ready list under
1852 * timeout, the user by definition should not care and will have to
1861 * 0 events and there's still timeout left over, we go
1937 * timeout expired before it could reacquire the lock.
2326 int, maxevents, int, timeout)
2331 ep_timeout_to_timespec(&to, timeout));
2360 int, maxevents, int, timeout, const sigset_t __user *, sigmask,
2366 ep_timeout_to_timespec(&to, timeout),
2371 int, maxevents, const struct __kernel_timespec __user *, timeout,
2376 if (timeout) {
2377 if (get_timespec64(&ts, timeout))
2390 int maxevents, struct timespec64 *timeout,
2404 err = do_epoll_wait(epfd, events, maxevents, timeout);
2413 int, maxevents, int, timeout,
2420 ep_timeout_to_timespec(&to, timeout),
2427 const struct __kernel_timespec __user *, timeout,
2433 if (timeout) {
2434 if (get_timespec64(&ts, timeout))