Lines Matching refs:timeout
84 long do_futex(u32 __user *uaddr, int op, u32 val, ktime_t *timeout,
102 return futex_wait(uaddr, flags, val, timeout, val3);
118 return futex_lock_pi(uaddr, flags, timeout, 0);
125 return futex_wait_requeue_pi(uaddr, flags, val, timeout, val3,
227 static int futex2_setup_timeout(struct __kernel_timespec __user *timeout,
235 if (!timeout)
246 if (get_timespec64(&ts, timeout))
251 * FUTEX_WAIT_BITSET that uses absolute timeout as well
271 * @flags: Flag for timeout (monotonic/realtime)
272 * @timeout: Optional absolute timeout.
273 * @clockid: Clock to be used for the timeout, realtime or monotonic.
277 * if any waiter has *uaddr != val. *timeout is an optional timeout value for
279 * the syscall should be used solely for specifying the timeout as realtime, if
292 struct __kernel_timespec __user *, timeout, clockid_t, clockid)
305 if (timeout && (ret = futex2_setup_timeout(timeout, clockid, &to)))
317 ret = futex_wait_multiple(futexv, nr_futexes, timeout ? &to : NULL);
322 if (timeout)
363 * @timeout: Optional absolute timeout
364 * @clockid: Clock to be used for the timeout, realtime or monotonic
375 struct __kernel_timespec __user *, timeout,
392 if (timeout && (ret = futex2_setup_timeout(timeout, clockid, &to)))
395 ret = __futex_wait(uaddr, flags, val, timeout ? &to : NULL, mask);
397 if (timeout)